diff options
author | Clint Adams <[clint@debian.org]> | 2011-05-06 22:06:47 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-11 23:03:16 +0200 |
commit | 21861f2d39ac8cab88dd3cfa1285aa4f69023b10 (patch) | |
tree | a2d8714abb27c78831e88c17cc1ee9c880c16b35 /board | |
parent | f846604ff57487e0d6e5ddebf8c4c4c02bd5e077 (diff) | |
download | u-boot-imx-21861f2d39ac8cab88dd3cfa1285aa4f69023b10.zip u-boot-imx-21861f2d39ac8cab88dd3cfa1285aa4f69023b10.tar.gz u-boot-imx-21861f2d39ac8cab88dd3cfa1285aa4f69023b10.tar.bz2 |
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')
-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 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; |