summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-07-31 12:05:58 +0200
committerJuergen Beisert <j.beisert@pengutronix.de>2009-07-31 12:05:58 +0200
commit825bc64a4b1d1450f782c06360f1054476b15209 (patch)
tree2e3dd4368764a982e280d984809ae6f13225369d
parente6e99ad45ce5c2c60a60dd1172cad0c51af0c3e5 (diff)
downloadbarebox-825bc64a4b1d1450f782c06360f1054476b15209.tar.gz
barebox-825bc64a4b1d1450f782c06360f1054476b15209.tar.xz
Use the correct machine number for the a9m2410 CPU card
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
-rw-r--r--board/a9m2410/a9m2410.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/board/a9m2410/a9m2410.c b/board/a9m2410/a9m2410.c
index bc10241fc6..63638f9df2 100644
--- a/board/a9m2410/a9m2410.c
+++ b/board/a9m2410/a9m2410.c
@@ -180,12 +180,7 @@ static int a9m2410_devices_init(void)
#endif
armlinux_set_bootparams((void *)sdram_dev.map_base + 0x100);
-/*
- * Kernel uses:
- * 2.6.29: SMDK2410 = 193
- * 2.6.11: A9M2410 = 697
- */
- armlinux_set_architecture(193/*697*/); /* A9M2410 */
+ armlinux_set_architecture(MACH_TYPE_A9M2410);
return 0;
}