From 151ab83a936e66cf56971a0e0340609528474734 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 24 Feb 2005 22:44:16 +0000 Subject: * 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 --- board/inka4x0/inka4x0.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'board/inka4x0') diff --git a/board/inka4x0/inka4x0.c b/board/inka4x0/inka4x0.c index a33251021..08a1b7f00 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 - - -- cgit v1.2.3