hw/arm/mps2-tz: Make SYSCLK frequency board-specific
commita3e24690b8f7724e7acf9eeb83613302dc907747
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Feb 2021 11:51:15 +0000 (15 11:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 6 Mar 2021 13:30:38 +0000 (6 13:30 +0000)
tree8a29bdb1be237d3ca4fbf820c3c31ca6056121d8
parent7713fff47d31e7607e52c9247fb7b628ed6bb096
hw/arm/mps2-tz: Make SYSCLK frequency board-specific

The AN524 has a different SYSCLK frequency from the AN505 and AN521;
make the SYSCLK frequency a field in the MPS2TZMachineClass rather
than a compile-time constant so we can support the AN524.

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