[PATCH 2/7] ARM: pcm038: Fix serial number IIM-address
Alexander Shiyan
shc_work at mail.ru
Sun Feb 24 04:23:54 EST 2013
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
arch/arm/boards/pcm038/pcm038.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 5e9c0fd..f6de8f3 100644
--- a/arch/arm/boards/pcm038/pcm038.c
+++ b/arch/arm/boards/pcm038/pcm038.c
@@ -318,7 +318,7 @@ static int pcm038_devices_init(void)
pr_notice("Using environment in %s Flash\n", envdev);
- if (imx_iim_read(1, 1, &uid, 6) == 6)
+ if (imx_iim_read(1, 0, &uid, 6) == 6)
armlinux_set_serial(uid);
armlinux_set_bootparams((void *)0xa0000100);
armlinux_set_architecture(MACH_TYPE_PCM038);
--
1.7.12.4
More information about the barebox
mailing list