From 21861f2d39ac8cab88dd3cfa1285aa4f69023b10 Mon Sep 17 00:00:00 2001 From: Clint Adams <[clint@debian.org]> Date: Fri, 6 May 2011 22:06:47 +0530 Subject: Add definitions for OpenRD-Client and OpenRD-Ultimate Signed-off-by: Clint Adams Cc: Albert ARIBAUD Cc: Prafulla Wadaskar Cc: Julian Pidancet --- board/Marvell/openrd/openrd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'board/Marvell/openrd') diff --git a/board/Marvell/openrd/openrd.c b/board/Marvell/openrd/openrd.c index e53fa16..14ca88e 100644 --- a/board/Marvell/openrd/openrd.c +++ b/board/Marvell/openrd/openrd.c @@ -110,7 +110,13 @@ int board_init(void) /* * arch number of board */ +#if defined(CONFIG_BOARD_IS_OPENRD_BASE) gd->bd->bi_arch_number = MACH_TYPE_OPENRD_BASE; +#elif defined(CONFIG_BOARD_IS_OPENRD_CLIENT) + gd->bd->bi_arch_number = MACH_TYPE_OPENRD_CLIENT; +#elif defined(CONFIG_BOARD_IS_OPENRD_ULTIMATE) + gd->bd->bi_arch_number = MACH_TYPE_OPENRD_ULTIMATE; +#endif /* adress of boot parameters */ gd->bd->bi_boot_params = kw_sdram_bar(0) + 0x100; -- cgit v1.1