[U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

Albert ARIBAUD
2011-10-28T05:09:46Z

Le 28/10/2011 03:43, Simon Glass a ?crit :

> The test was
>
> mrc p15, 0, r0, c0, c0, 0 @ get ID register
> and r0, r0, #0xf0000 @ get architecture
> cmp r0, #0xf0000 @ check for> ARMv6
> movne pc, lr @ else skip cache init
>
> Unfortunately I think it is a plain ARM7TDMI with no CP15.

What about other fields in r0 right after mrc?

> Regards,
> Simon

Amicalement,
--
Albert.