hw/arm/mps2-tz: Support running APB peripherals on different clock
commitad28ca7e9fb99242d4b8ba22e5234f73db59bff4
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:46:13 +0000 (19 14:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:03 +0000 (8 17:20 +0000)
tree59463e80fe929ba55a7aca5174ac08524fc08a33
parent6ac80818941829c01363e9feeefe08e8bc693ab7
hw/arm/mps2-tz: Support running APB peripherals on different clock

The AN547 runs the APB peripherals outside the SSE-300 on a different
and slightly slower clock than it runs the SSE-300 with.  Support
making the APB peripheral clock frequency board-specific.  (For our
implementation only the UARTs actually take a clock.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210219144617.4782-41-peter.maydell@linaro.org
hw/arm/mps2-tz.c