Simon Glass 80433c9ac6 arm: Move CP15 init out of cpu_init_crit()
Some SOCs have do not start up with their 'main' CPU. The first U-Boot
code may then be executed with a CPU which does not have a CP15, or not a
useful one.

Here we split the initialization of CP15 into a separate call, which can
be performed later if required.

Once the main CPU is running, you should call cpu_init_cp15() to perform
this init as early as possible.

Existing ARMv7 boards which define CONFIG_SKIP_LOWLEVEL_INIT should not
need to change, this CP15 init is still skipped in that case. The only
impact for these boards is that the cpu_init_cp15() will be available
even if it is never used on these boards.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2011-12-09 17:30:09 +01:00
..
2011-11-29 15:43:38 +01:00
2011-06-23 08:25:18 +02:00
2011-06-02 23:18:32 +02:00
2011-07-16 13:00:11 +02:00
2011-11-29 15:43:38 +01:00
2011-02-21 08:30:55 +01:00
2011-12-06 23:59:39 +01:00
2011-09-13 08:25:15 +02:00
2011-07-04 10:55:25 +02:00
2010-10-13 09:59:33 +02:00