diff options
author | Clint Adams <[clint@debian.org]> | 2011-05-06 20:36:47 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-12 01:03:16 +0400 |
commit | 21861f2d39ac8cab88dd3cfa1285aa4f69023b10 (patch) | |
tree | a2d8714abb27c78831e88c17cc1ee9c880c16b35 /board/Marvell/openrd | |
parent | f846604ff57487e0d6e5ddebf8c4c4c02bd5e077 (diff) | |
download | u-boot-21861f2d39ac8cab88dd3cfa1285aa4f69023b10.tar.xz |
Add definitions for OpenRD-Client and OpenRD-Ultimate
Signed-off-by: Clint Adams <clint@debian.org>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Cc: Julian Pidancet <julian.pidancet@citrix.com>
Diffstat (limited to 'board/Marvell/openrd')
-rw-r--r-- | board/Marvell/openrd/openrd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/Marvell/openrd/openrd.c b/board/Marvell/openrd/openrd.c index e53fa16a24..14ca88e5b2 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; |