summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2009-01-27 09:24:16 -0500
committerJustin Waters <justin.waters@timesys.com>2009-01-27 09:43:25 -0500
commit05c0535449304c64daa0c1aa4a1334f2873a0212 (patch)
tree563869fe5726fcbb72ec12977b5d2b13a031bf1e /board
parent72d15e705bc3983884105cb7755c7ba80e74a0a5 (diff)
Add support for the AT91RM9200-EK board.
Since there are very few differences between the EK and DK boards, you simply select the board that you wish to use via the config line. This simplifies the forward porting effort, while still maintaining the old build steps. Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/at91rm9200dk/at91rm9200dk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/atmel/at91rm9200dk/at91rm9200dk.c b/board/atmel/at91rm9200dk/at91rm9200dk.c
index b89a3fd548b..b17a61b88bb 100644
--- a/board/atmel/at91rm9200dk/at91rm9200dk.c
+++ b/board/atmel/at91rm9200dk/at91rm9200dk.c
@@ -47,7 +47,12 @@ int board_init (void)
/* so we do _nothing_ here */
/* arch number of AT91RM9200DK-Board */
+#if defined(CONFIG_AT91RM9200DK)
gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200DK;
+#elif defined(CONFIG_AT91RM9200EK)
+ gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200EK;
+#endif
+
/* adress of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;