Re: [U-Boot] [PATCH] mx6: Read register revision from register

2012-03-13 Thread Fabio Estevam
Hi Jason, On Tue, Mar 13, 2012 at 12:03 PM, Liu Hui-R64343 wrote: > This is not complete, you are still hard coding it. In fact,The ANATOP > register contains both the chip ID and chip revision. Ok, I have a new version that reads both chip ID and chip revision. Will send it soon.

Re: [U-Boot] [PATCH] mx6: Read register revision from register

2012-03-13 Thread Liu Hui-R64343
Fabio, From: u-boot-boun...@lists.denx.de [u-boot-boun...@lists.denx.de] on behalf of Fabio Estevam [fabio.este...@freescale.com] Sent: Tuesday, March 13, 2012 10:17 PM To: u-boot@lists.denx.de Cc: Estevam Fabio-R49496 Subject: [U-Boot] [PATCH] mx6: Read

[U-Boot] [PATCH] mx6: Read register revision from register

2012-03-13 Thread Fabio Estevam
Instead of hardcoding the mx6 silicon revision, read it from the proper register. Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/soc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 2ac74b5..6