From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 28 Oct 2011 07:09:46 +0200 Subject: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit() In-Reply-To: References: <1318539963-3329-1-git-send-email-sjg@chromium.org> <4EA1E797.1070600@aribaud.net> <4EA1F12A.5090108@aribaud.net> <4EA27738.4060102@aribaud.net> <4EA5C4C7.9060106@aribaud.net> <4EA5D6BE.8060206@aribaud.net> <4EA65A17.3000609@aribaud.net> <4EA9B992.909@aribaud.net> <4EA9DD91.5000806@aribaud.net> Message-ID: <4EAA391A.6000309@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.