summaryrefslogtreecommitdiffstats
path: root/board/buffalo/lsxl
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-10-22 12:13:13 +0200
committerTom Rini <trini@ti.com>2014-10-23 09:59:21 -0400
commit96c5f0816a95c80e993140e34e1b06c016e90f36 (patch)
tree6d9d49df13dce6e8d4bfda640e552eab3ebda713 /board/buffalo/lsxl
parent4fd7717e8edfd4235488fd79e33dde48417d9c87 (diff)
downloadblackbird-obmc-uboot-96c5f0816a95c80e993140e34e1b06c016e90f36.tar.gz
blackbird-obmc-uboot-96c5f0816a95c80e993140e34e1b06c016e90f36.zip
arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo()
Additionally the SDRAM address decoding register address is not hard coded in the C code any more. A define is introduced for this base address. This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Luka Perkov <luka@openwrt.org> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'board/buffalo/lsxl')
-rw-r--r--board/buffalo/lsxl/lsxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c
index bca7be5482..b0d49c4ee6 100644
--- a/board/buffalo/lsxl/lsxl.c
+++ b/board/buffalo/lsxl/lsxl.c
@@ -168,7 +168,7 @@ static void set_led(int state)
int board_init(void)
{
/* address of boot parameters */
- gd->bd->bi_boot_params = kw_sdram_bar(0) + 0x100;
+ gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100;
set_led(LED_POWER_BLINKING);
OpenPOWER on IntegriCloud