summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-07-31 12:07:25 +0200
committerJuergen Beisert <j.beisert@pengutronix.de>2009-07-31 12:07:25 +0200
commit0852e7d538a39b8b825d9bb7ba8dfaacbe35f3c0 (patch)
tree6f95b8389f854493f38ff16afa3bfedd59035f8b /board
parent825bc64a4b1d1450f782c06360f1054476b15209 (diff)
downloadbarebox-0852e7d538a39b8b825d9bb7ba8dfaacbe35f3c0.tar.gz
barebox-0852e7d538a39b8b825d9bb7ba8dfaacbe35f3c0.tar.xz
Use the machine number macro instead of the plain number
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r--board/a9m2440/a9m2440.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/a9m2440/a9m2440.c b/board/a9m2440/a9m2440.c
index e013c0ba52..f3221bad54 100644
--- a/board/a9m2440/a9m2440.c
+++ b/board/a9m2440/a9m2440.c
@@ -166,7 +166,7 @@ static int a9m2440_devices_init(void)
#endif
armlinux_set_bootparams((void *)sdram_dev.map_base + 0x100);
- armlinux_set_architecture(698); /* A9M2440 */
+ armlinux_set_architecture(MACH_TYPE_A9M2440);
return 0;
}