diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 16:31:45 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 16:31:45 +0000 |
commit | 9948c38bd9aef8fa762a1b62b9fccc35e11a6fd5 (patch) | |
tree | 7caed686c41754d84b64a5b947b17bb5f9ae6f25 /hw/arm/realview.c | |
parent | 87f639629334c4592c3ba1011af0f691db1e7ed1 (diff) |
vexpress: Set reset-cbar property for CPUs
Newer versions of the Linux kernel (as of commit bc41b8724 in 3.12)
now assume that if the CPU is a Cortex-A9 and the reset value of the
PERIPHBASE/CBAR register is zero then the CPU is a specific buggy
single core A9 SoC, and will not try to start other cores. Since we
now have a CPU property for the reset value of the CBAR, we can
just fix the vexpress board model to correctly set CBAR so SMP
works again. To avoid duplicate boilerplate code in both the A9
and A15 daughterboard init functions, we split out the CPU and
private memory region init to its own function.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reported-by: Rob Herring <rob.herring@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 1394462692-8871-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/realview.c')
0 files changed, 0 insertions, 0 deletions