diff options
author | Stefan Roese <sr@denx.de> | 2014-10-22 10:13:13 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-23 13:59:21 (GMT) |
commit | 96c5f0816a95c80e993140e34e1b06c016e90f36 (patch) | |
tree | 6d9d49df13dce6e8d4bfda640e552eab3ebda713 /board/LaCie/netspace_v2 | |
parent | 4fd7717e8edfd4235488fd79e33dde48417d9c87 (diff) | |
download | u-boot-96c5f0816a95c80e993140e34e1b06c016e90f36.tar.xz |
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/LaCie/netspace_v2')
-rw-r--r-- | board/LaCie/netspace_v2/netspace_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c index 323e34a..17e6296 100644 --- a/board/LaCie/netspace_v2/netspace_v2.c +++ b/board/LaCie/netspace_v2/netspace_v2.c @@ -73,7 +73,7 @@ int board_init(void) gd->bd->bi_arch_number = CONFIG_MACH_TYPE; /* Boot parameters address */ - gd->bd->bi_boot_params = kw_sdram_bar(0) + 0x100; + gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; return 0; } |