diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-07-04 01:27:46 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-07-04 01:27:46 +0200 |
commit | d19206b9a5ef6f3304b535d52f6886fdb6aabc72 (patch) | |
tree | 8a541f761184bd4ba8af9e29c1be48c92eab3571 /board | |
parent | fbb0b559ae564d80b5ea3199ad530aa0e419a668 (diff) | |
download | u-boot-imx-d19206b9a5ef6f3304b535d52f6886fdb6aabc72.zip u-boot-imx-d19206b9a5ef6f3304b535d52f6886fdb6aabc72.tar.gz u-boot-imx-d19206b9a5ef6f3304b535d52f6886fdb6aabc72.tar.bz2 |
Fix AMCC bamboo eval board compilation errors.
Diffstat (limited to 'board')
-rw-r--r-- | board/amcc/bamboo/bamboo.c | 2 | ||||
-rw-r--r-- | board/amcc/bamboo/bamboo.h | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/board/amcc/bamboo/bamboo.c b/board/amcc/bamboo/bamboo.c index 7c98920..c93ba6e 100644 --- a/board/amcc/bamboo/bamboo.c +++ b/board/amcc/bamboo/bamboo.c @@ -435,7 +435,7 @@ long int initdram (int board_type) */ init_spd_array(); - dram_size = spd_sdram (0); + dram_size = spd_sdram(); return dram_size; } diff --git a/board/amcc/bamboo/bamboo.h b/board/amcc/bamboo/bamboo.h index 5f5fcde..1ce6366 100644 --- a/board/amcc/bamboo/bamboo.h +++ b/board/amcc/bamboo/bamboo.h @@ -283,10 +283,8 @@ /*----------------------------------------------------------------------------+ | PPC440EP GPIOs addresses. +----------------------------------------------------------------------------*/ -#define GPIO0_BASE 0xEF600B00 #define GPIO0_REAL 0xEF600B00 -#define GPIO1_BASE 0xEF600C00 #define GPIO1_REAL 0xEF600C00 /* Offsets */ @@ -332,17 +330,6 @@ /*----------------------------------------------------------------------------+ - | Declare Configuration values - +----------------------------------------------------------------------------*/ -typedef enum gpio_select { GPIO_SEL, GPIO_ALT1, GPIO_ALT2, GPIO_ALT3 } gpio_select_t; -typedef enum gpio_driver { GPIO_DIS, GPIO_IN, GPIO_OUT, GPIO_BI } gpio_driver_t; - -typedef struct { unsigned long add; /* gpio core base address */ - gpio_driver_t in_out; /* Driver Setting */ - gpio_select_t alt_nb; /* Selected Alternate */ -} gpio_param_s; - -/*----------------------------------------------------------------------------+ | XX XX | | XXXXXX XXX XX XXX XXX |