summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8540ads
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2010-12-17 17:17:57 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-01-14 01:32:19 -0600
commit70961ba41477a709870a01c86af2950124bb64fe (patch)
treed4c6263f7078fa0ecad40a320de78aba01eb29bb /board/freescale/mpc8540ads
parent38dba0c2ff685e3f8276a236bd70eaa09c84ead5 (diff)
downloadu-boot-imx-70961ba41477a709870a01c86af2950124bb64fe.zip
u-boot-imx-70961ba41477a709870a01c86af2950124bb64fe.tar.gz
u-boot-imx-70961ba41477a709870a01c86af2950124bb64fe.tar.bz2
mpc85xx: rename sdram_init() lbc_sdram_init()
sdram_init() is used to initialize sdram on the lbc. Rename it accordingly. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8540ads')
-rw-r--r--board/freescale/mpc8540ads/mpc8540ads.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/freescale/mpc8540ads/mpc8540ads.c b/board/freescale/mpc8540ads/mpc8540ads.c
index deab811..9eeb134 100644
--- a/board/freescale/mpc8540ads/mpc8540ads.c
+++ b/board/freescale/mpc8540ads/mpc8540ads.c
@@ -122,9 +122,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
-
-void
-sdram_init(void)
+void lbc_sdram_init(void)
{
volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE;