diff options
author | wdenk <wdenk> | 2004-10-10 18:41:04 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-10-10 18:41:04 +0000 |
commit | 731215ebde3b85f114f7a45eece3c155ba49a2c0 (patch) | |
tree | 5e99a2b6ba94dddc854d6fa805a2e0174e26a521 /board/trab | |
parent | b65085130aed33584d95502c20317ad4379c1ca6 (diff) |
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.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/board/trab/trab.c b/board/trab/trab.c index fb57f5bcfa3..e8dfd2ceb0b 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; |