uboot-mt623x/cpu/at32ap
Haavard Skinnemoen d38da53794 AVR32: Make SDRAM refresh rate configurable
The existing code assumes the SDRAM row refresh period should always
be 15.6 us. This is not always true, and indeed on the ATNGW100, the
refresh rate should really be 7.81 us.

Add a refresh_period member to struct sdram_info and initialize it
properly for both ATSTK1000 and ATNGW100. Out-of-tree boards will
panic() until the refresh_period member is updated properly.

Big thanks to Gerhard Berghofer for pointing out this issue.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2008-02-05 12:14:27 +01:00
..
at32ap700x AVR32: Fix wrong pin setup for USART3 2007-12-17 10:35:02 +01:00
Makefile Atmel MCI driver 2007-04-14 16:14:06 +02:00
atmel_mci.c atmel_mci: Show SR when block read fails 2007-12-17 10:34:11 +01:00
atmel_mci.h atmel_mci: Use 512 byte blocksize if possible 2007-08-13 16:33:52 +02:00
cache.c Add AT32AP CPU and AT32AP7000 SoC support 2006-10-24 14:27:35 +02:00
config.mk Add AT32AP CPU and AT32AP7000 SoC support 2006-10-24 14:27:35 +02:00
cpu.c AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
entry.S AVR32: Relocate u-boot to SDRAM 2007-04-14 15:20:27 +02:00
exception.c AVR32: Relocate u-boot to SDRAM 2007-04-14 15:20:27 +02:00
hsdramc.c AVR32: Make SDRAM refresh rate configurable 2008-02-05 12:14:27 +01:00
hsdramc1.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
hsmc3.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
interrupts.c AVR32: Include <div64.h> instead of <asm/div64.h> 2007-08-13 17:22:31 +02:00
pio.c AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
pio2.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
pm.c AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
sm.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
start.S AVR32: Relocate u-boot to SDRAM 2007-04-14 15:20:27 +02:00