summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorEugene OBrien <eugene.obrien@advantechamt.com>2007-07-31 10:24:56 +0200
committerStefan Roese <sr@denx.de>2007-07-31 10:24:56 +0200
commitd2f68006627eda6cb6c7f364bddf621dbfd2fc68 (patch)
treeb2cdeab303ae39e899edd1788d7b9f392c82c59b /cpu
parentea9f6bce383cc9fbcdee28b5836109b1a6dba574 (diff)
downloadu-boot-d2f68006627eda6cb6c7f364bddf621dbfd2fc68.tar.gz
u-boot-d2f68006627eda6cb6c7f364bddf621dbfd2fc68.tar.xz
u-boot-d2f68006627eda6cb6c7f364bddf621dbfd2fc68.zip
ppc4xx: Update AMCC Bamboo 440EP support
Changed storage type of cfg_simulate_spd_eeprom to const Changed storage type of gpio_tab to stack storage (Cannot access global data declarations in .bss until afer code relocation) Improved SDRAM tests to catch problems where data is not uniquely addressable (e.g. incorrectly programmed SDRAM row or columns) Added CONFIG_PROG_SDRAM_TLB to support Bamboo SIMM/DIMM modules Fixed AM29LV320DT (OpCode Flash) sector map Signed-off-by: Eugene OBrien <eugene.obrien@advantechamt.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr.c b/cpu/ppc4xx/44x_spd_ddr.c
index e5f296eb06..4a4c6f29ed 100644
--- a/cpu/ppc4xx/44x_spd_ddr.c
+++ b/cpu/ppc4xx/44x_spd_ddr.c
@@ -269,7 +269,7 @@ struct bank_param {
typedef struct bank_param BANKPARMS;
#ifdef CFG_SIMULATE_SPD_EEPROM
-extern unsigned char cfg_simulate_spd_eeprom[128];
+extern const unsigned char cfg_simulate_spd_eeprom[128];
#endif
static unsigned char spd_read(uchar chip, uint addr);