diff options
author | wdenk <wdenk> | 2004-07-11 22:19:26 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-11 22:19:26 +0000 |
commit | a1f4a3dd0592ef982017a50a7cfe749823114203 (patch) | |
tree | 5cb47632f587600559b20ad5ca644e1867fc9f2c /board/omap1610inn | |
parent | b9283e2dbedae4492ec0efdf683d51a00566a477 (diff) |
* Patch by George G. Davis, 06 Jul 2004:
- update mach-types.h to latest arm.linux.org.uk master list
- Set correct OMAP1610 bi_arch_number for build target
* Patch by Curt Brune, 06 Jul 2004:
evb4510: add support for timer interrupt; cleanup
Diffstat (limited to 'board/omap1610inn')
-rw-r--r-- | board/omap1610inn/omap1610innovator.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/board/omap1610inn/omap1610innovator.c b/board/omap1610inn/omap1610innovator.c index 2072dce56b6..57f1e8961a8 100644 --- a/board/omap1610inn/omap1610innovator.c +++ b/board/omap1610inn/omap1610innovator.c @@ -32,6 +32,7 @@ */ #include <common.h> +#include <asm/mach-types.h> #if defined(CONFIG_OMAP1610) #include <./configs/omap1510.h> #endif @@ -62,9 +63,12 @@ int board_init (void) { DECLARE_GLOBAL_DATA_PTR; - /* arch number of OMAP 1510-Board */ - /* to be changed for OMAP 1610 Board */ - gd->bd->bi_arch_number = 234; + if (machine_is_omap_h2()) + gd->bd->bi_arch_number = MACH_TYPE_OMAP_H2; + else if (machine_is_omap_innovator()) + gd->bd->bi_arch_number = MACH_TYPE_OMAP_INNOVATOR; + else + gd->bd->bi_arch_number = MACH_TYPE_OMAP_GENERIC; /* adress of boot parameters */ gd->bd->bi_boot_params = 0x10000100; |