]> git.dujemihanovic.xyz Git - u-boot.git/commit
AVR32: Initialize bi_flash* in board_init_r
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 6 Oct 2007 16:55:35 +0000 (18:55 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 6 Oct 2007 18:17:37 +0000 (20:17 +0200)
commit7b624ad254b97e5a25dca2304a398b64aeedaffe
treec3d8fa3761e8fbb2750df8b34fe458e7149fd7e0
parent9add9884b1fddc34ca186e00a2f868ccd5d02d87
AVR32: Initialize bi_flash* in board_init_r

The ATSTK1000-specific flash driver intializes bi_flashstart,
bi_flashsize and bi_flashoffset, but other flash drivers, like the CFI
driver, don't.

Initialize these in board_init_r instead so that things will still be
set up correctly when we switch to the CFI driver.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
board/atmel/atstk1000/flash.c
lib_avr32/board.c