summaryrefslogtreecommitdiff
path: root/board/trab
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-10 18:41:04 +0000
committerwdenk <wdenk>2004-10-10 18:41:04 +0000
commit731215ebde3b85f114f7a45eece3c155ba49a2c0 (patch)
tree5e99a2b6ba94dddc854d6fa805a2e0174e26a521 /board/trab
parentb65085130aed33584d95502c20317ad4379c1ca6 (diff)
downloadu-boot-imx-731215ebde3b85f114f7a45eece3c155ba49a2c0.zip
u-boot-imx-731215ebde3b85f114f7a45eece3c155ba49a2c0.tar.gz
u-boot-imx-731215ebde3b85f114f7a45eece3c155ba49a2c0.tar.bz2
Patch by George G. Davis, 24 Aug 2004:
- update ARM boards to use constants from mach-types.h
Diffstat (limited to 'board/trab')
-rw-r--r--board/trab/trab.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/board/trab/trab.c b/board/trab/trab.c
index fb57f5b..e8dfd2c 100644
--- a/board/trab/trab.c
+++ b/board/trab/trab.c
@@ -57,7 +57,7 @@ static void udelay_no_timer (int usec)
int i;
int delay = usec * 3;
- for (i = 0; i < delay; i ++) gd->bd->bi_arch_number = 145;
+ for (i = 0; i < delay; i ++) gd->bd->bi_arch_number = MACH_TYPE_TRAB;
}
#endif /* CONFIG_MODEM_SUPPORT */
@@ -109,10 +109,7 @@ int board_init ()
gpio->MISCCR = 0x40;
gpio->PFCON |= (2<<12);
- /* arch number of SAMSUNG-Board */
- /* MACH_TYPE_SMDK2400 */
- /* XXX this isn't really correct, but keep it for now */
- gd->bd->bi_arch_number = 145;
+ gd->bd->bi_arch_number = MACH_TYPE_TRAB;
/* adress of boot parameters */
gd->bd->bi_boot_params = 0x0c000100;