diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2012-07-25 06:26:03 (GMT) |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2012-10-03 11:13:13 (GMT) |
commit | 3a5b9fe64949e5cf1dab49db4656096a0d6905cd (patch) | |
tree | 3b458595cdb0ea6351e757d4f5de7900c7f7c8b0 /board | |
parent | b3168f4be86ef02905281ff7531960112e10cc7e (diff) | |
download | u-boot-3a5b9fe64949e5cf1dab49db4656096a0d6905cd.tar.xz |
arm/km: use kw_sdram_size_adjust to adjust SDRAM size
Some boards may differ only in the SDRAM size. This function allows to
fix the size accordingly and we can use the same u-boot binary for both
boards.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/keymile/km_arm/km_arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index be8f51c..8b5fc56 100644 --- a/board/keymile/km_arm/km_arm.c +++ b/board/keymile/km_arm/km_arm.c @@ -250,7 +250,8 @@ int board_early_init_f(void) tmp = readl(KW_GPIO0_BASE + 4); writel(tmp & (~KM_KIRKWOOD_SOFT_I2C_GPIOS) , KW_GPIO0_BASE + 4); #endif - + /* adjust SDRAM size for bank 0 */ + kw_sdram_size_adjust(0); kirkwood_mpp_conf(kwmpp_config, NULL); return 0; } |