]> git.sur5r.net Git - u-boot/commit
avr32: Rework SDRAM initialization code
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 19 May 2008 09:36:28 +0000 (11:36 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 27 May 2008 13:27:31 +0000 (15:27 +0200)
commita23e277c4a3a2bbc42d237aae29da3a8971e757f
tree22e2e0bc2559d38166e1d1844c9a8ac0429b0475
parent95107b7c028806919630bf02c653aa8f4f867c94
avr32: Rework SDRAM initialization code

This cleans up the SDRAM initialization and related code a bit, and
allows faster booting.

  * Add definitions for EBI and internal SRAM to asm/arch/memory-map.h
  * Remove memory test from sdram_init() and make caller responsible
    for verifying the SDRAM and determining its size.
  * Remove base_address member from struct sdram_config (was sdram_info)
  * Add data_bits member to struct sdram_config and kill CFG_SDRAM_16BIT
  * Add support for a common STK1000 hack: 16MB SDRAM instead of 8.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
board/atmel/atngw100/atngw100.c
board/atmel/atstk1000/atstk1000.c
cpu/at32ap/hsdramc.c
include/asm-avr32/arch-at32ap700x/memory-map.h
include/asm-avr32/sdram.h
include/configs/atngw100.h
include/configs/atstk1002.h
include/configs/atstk1003.h
include/configs/atstk1004.h
include/configs/atstk1006.h