summaryrefslogtreecommitdiff
path: root/board/amcc/kilauea
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-12-08 14:47:34 +0100
committerStefan Roese <sr@denx.de>2007-12-08 14:47:34 +0100
commit7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b (patch)
tree608d58485e7588f6bd3a1361cf4860f2bbcbbabd /board/amcc/kilauea
parenta27044b14a9e93678a82d7b35f202b93e7687abc (diff)
downloadu-boot-imx-7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b.zip
u-boot-imx-7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b.tar.gz
u-boot-imx-7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b.tar.bz2
ppc4xx: 405EX: Correctly enable USB pins
This patch selects the USB data pins in the 405EX GPIO and MFC (multi function control) registers. This is done for the AMCC Kilauea and Makalu eval boards. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/kilauea')
-rw-r--r--board/amcc/kilauea/kilauea.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/amcc/kilauea/kilauea.c b/board/amcc/kilauea/kilauea.c
index 36e9e4a..96c0dd4 100644
--- a/board/amcc/kilauea/kilauea.c
+++ b/board/amcc/kilauea/kilauea.c
@@ -206,6 +206,13 @@ int board_early_init_f (void)
(0x80000000 >> (28 + CFG_NAND_CS));
mtsdr(SDR0_CUST0, val);
+ /*
+ * Configure PFC (Pin Function Control) registers
+ * -> Enable USB
+ */
+ val = SDR0_PFC1_USBEN | SDR0_PFC1_USBBIGEN | SDR0_PFC1_GPT_FREQ;
+ mtsdr(SDR0_PFC1, val);
+
return 0;
}