summaryrefslogtreecommitdiff
path: root/board/inka4x0
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-02-24 22:44:16 +0000
committerwdenk <wdenk>2005-02-24 22:44:16 +0000
commit151ab83a936e66cf56971a0e0340609528474734 (patch)
tree0351989a9804330e02c7351c655d0102c6a00dcd /board/inka4x0
parentb9649854f6ffdeaad23daec21013552cef2e05f0 (diff)
* Add support for ext2 filesystems and image timestamps to TQM5200 board
* Add reset code for Coral-P on INKA4x0 board * Patch by Martin Krause, 28 Jun 2004: Update for TRAB board. * Fix some missing "volatile"s in MPC5xxx FEC driver
Diffstat (limited to 'board/inka4x0')
-rw-r--r--board/inka4x0/inka4x0.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/board/inka4x0/inka4x0.c b/board/inka4x0/inka4x0.c
index a33251021f5..08a1b7f00bc 100644
--- a/board/inka4x0/inka4x0.c
+++ b/board/inka4x0/inka4x0.c
@@ -177,6 +177,19 @@ void flash_preinit(void)
*(vu_long *)MPC5XXX_BOOTCS_CFG &= ~0x1; /* clear RO */
}
+#define GPIO_PSC3_9 0x04000000UL
+
+int misc_init_f (void)
+{
+ /*
+ * Reset Coral-P graphics controller
+ */
+ *(vu_long *) MPC5XXX_WU_GPIO_ENABLE |= GPIO_PSC3_9;
+ *(vu_long *) MPC5XXX_WU_GPIO_DIR |= GPIO_PSC3_9;
+ *(vu_long *) MPC5XXX_WU_GPIO_DATA |= GPIO_PSC3_9;
+ return 0;
+}
+
#ifdef CONFIG_PCI
static struct pci_controller hose;
@@ -187,5 +200,3 @@ void pci_init_board(void)
pci_mpc5xxx_init(&hose);
}
#endif
-
-