summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-07-15 16:19:16 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2010-07-15 16:19:16 -0400
commit27952014c465eec646157d5d045c084b94e3f2d7 (patch)
tree4effebce5a22cc65e1132efecf7f45711d7e3bde /board/ti
parent900c0c6b0a67b2372075f42a343205f384b0c120 (diff)
ARMV7: Add basic gpmc initialization for OMAP4
This patch adds a gpmc_init function for OMAP4 and adds calls to gpmc_init for existing OMAP4 boards: panda and sdp4430 Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/panda/panda.c2
-rw-r--r--board/ti/sdp4430/sdp.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 46a5d1dcbf..917bbec5ec 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -37,6 +37,8 @@ const struct omap_sysinfo sysinfo = {
*/
int board_init(void)
{
+ gpmc_init();
+
gd->bd->bi_arch_number = MACH_TYPE_OMAP4_PANDA;
gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c
index 6ae016c6b8..8ed7873fde 100644
--- a/board/ti/sdp4430/sdp.c
+++ b/board/ti/sdp4430/sdp.c
@@ -38,6 +38,8 @@ const struct omap_sysinfo sysinfo = {
*/
int board_init(void)
{
+ gpmc_init();
+
gd->bd->bi_arch_number = MACH_TYPE_OMAP_4430SDP;
gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */