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

Albert ARIBAUD albert.u.boot at aribaud.net
Fri Oct 28 07:09:46 CEST 2011


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.


More information about the U-Boot mailing list