summaryrefslogtreecommitdiff
path: root/board/atmel
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-17 14:46:06 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:27 +0200
commit12f099c08167a7a51aeee623bc16dafd0841271c (patch)
tree99a369b9f30f3e62aa103742d584f017fe33af30 /board/atmel
parent1f4f2121c2685182eb87fa9a9b799d1917387a1c (diff)
downloadu-boot-imx-12f099c08167a7a51aeee623bc16dafd0841271c.zip
u-boot-imx-12f099c08167a7a51aeee623bc16dafd0841271c.tar.gz
u-boot-imx-12f099c08167a7a51aeee623bc16dafd0841271c.tar.bz2
AVR32: Use initdram() instead of board_init_memories()
Conform to the "standard" interface and use initdram() instead of board_init_memories() on AVR32. This enables us to get rid of the sdram_size member of the global_data struct as well. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'board/atmel')
-rw-r--r--board/atmel/atstk1000/atstk1000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/atstk1000/atstk1000.c b/board/atmel/atstk1000/atstk1000.c
index 8210bc6..9f735da 100644
--- a/board/atmel/atstk1000/atstk1000.c
+++ b/board/atmel/atstk1000/atstk1000.c
@@ -53,9 +53,9 @@ int board_early_init_f(void)
return 0;
}
-void board_init_memories(void)
+long int initdram(int board_type)
{
- gd->sdram_size = sdram_init(&sdram);
+ return sdram_init(&sdram);
}
void board_init_info(void)