diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-03 06:28:22 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-17 09:17:26 -0500 |
commit | fa45bd498a1970574f4b7539b67cc2286f1324fa (patch) | |
tree | 676afe67823c39f6f1342b96b4cc66bac24afd8d /lib_blackfin | |
parent | b1e2c5519a06f9a5841a7a434bf4da4d393f8df5 (diff) | |
download | u-boot-imx-fa45bd498a1970574f4b7539b67cc2286f1324fa.zip u-boot-imx-fa45bd498a1970574f4b7539b67cc2286f1324fa.tar.gz u-boot-imx-fa45bd498a1970574f4b7539b67cc2286f1324fa.tar.bz2 |
Blackfin: kill off useless initdram() usage
While the initdram() function makes sense on some arches, it doesn't for
Blackfin systems as it's always implemented the same way.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin')
-rw-r--r-- | lib_blackfin/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index 6cade7d..b414b2a 100644 --- a/lib_blackfin/board.c +++ b/lib_blackfin/board.c @@ -239,6 +239,8 @@ void board_init_f(ulong bootflag) bd->bi_vco = get_vco(); bd->bi_cclk = get_cclk(); bd->bi_sclk = get_sclk(); + bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; + bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; /* Initialize */ serial_early_puts("IRQ init\n"); @@ -262,7 +264,7 @@ void board_init_f(ulong bootflag) printf("System: %s MHz\n", strmhz(buf, get_sclk())); printf("RAM: "); - print_size(initdram(0), "\n"); + print_size(bd->bi_memsize, "\n"); #if defined(CONFIG_POST) post_init_f(); post_bootmode_init(); |