On Tue, Mar 29, 2022 at 06:06:07PM +0100,  Pierre-Clément Tosi  wrote:

> As the register is initialized to a constant value, it can be set at any
> point before the MMU has been enabled. Instead of waiting until the very
> last moment to do so, initialize it during early boot, when we
> initialize other system registers. This ensures it is valid at any point
> once the C runtime is up.
> 
> Signed-off-by: Pierre-Clément Tosi <[email protected]>
> Cc: Tom Rini <[email protected]>
> ---
>  arch/arm/cpu/armv8/Kconfig       |  6 ++++++
>  arch/arm/cpu/armv8/start.S       | 12 ++++++++++++
>  arch/arm/include/asm/armv8/mmu.h |  5 -----
>  3 files changed, 18 insertions(+), 5 deletions(-)

This makes a number of platforms such as:
px30-core-ctouch2-of10-px30 px30-core-ctouch2-px30
px30-core-edimm2.2-px30 odroid-go2 evb-px30 firefly-px30
fail to build due to size increase.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to