diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-06-14 19:56:58 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2007-06-14 19:56:58 -0500 |
commit | b721ff745d3e5b4fe6bb8db430553d54dba4bd17 (patch) | |
tree | 8f267466c28352bac8e2f59358411d0860bb0bcf /board/amcc/sequoia | |
parent | 5b1313fb2758ffce8b624457f777d8cc6709608d (diff) | |
parent | 9912121f7ed804ea58fd62f3f230b5dcfc357d88 (diff) | |
download | u-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.zip u-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.tar.gz u-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.tar.bz2 |
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'board/amcc/sequoia')
-rw-r--r-- | board/amcc/sequoia/sdram.c | 4 | ||||
-rw-r--r-- | board/amcc/sequoia/sequoia.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c index d045df1..78e2cb4 100644 --- a/board/amcc/sequoia/sdram.c +++ b/board/amcc/sequoia/sdram.c @@ -387,7 +387,11 @@ void denali_core_search_data_eye(unsigned long memory_size) long int initdram (int board_type) { #if !defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL) +#if !defined(CONFIG_NAND_SPL) ulong speed = get_bus_freq(0); +#else + ulong speed = 133333333; /* 133MHz is on the safe side */ +#endif mtsdram(DDR0_02, 0x00000000); diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c index 8704014..ba365ae 100644 --- a/board/amcc/sequoia/sequoia.c +++ b/board/amcc/sequoia/sequoia.c @@ -132,12 +132,6 @@ int board_early_init_f(void) (0x80000000 >> (28 + CFG_NAND_CS)); mtsdr(SDR0_CUST0, sdr0_cust0); - /* Update EBC speed after booting from i2c bootstrap settings - * on newer boards with 33.333 MHZ Clocks - */ - if (in8(CFG_BCSR_BASE + 3) & 0x80) - mtcpr(0xe0, 0x02000000); - return 0; } |