summaryrefslogtreecommitdiff
path: root/include/configs/NSCU.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-05 17:43:17 +0000
committerwdenk <wdenk>2003-08-05 17:43:17 +0000
commitbdccc4fedcf9c5fc1f06e8f833d792198c9d04ae (patch)
tree00c1b93f6731d838eae4f8f688d4f95c14471d0a /include/configs/NSCU.h
parent96dd9af4c7c5669924c2e40734b246f207b9a8b4 (diff)
downloadu-boot-imx-bdccc4fedcf9c5fc1f06e8f833d792198c9d04ae.zip
u-boot-imx-bdccc4fedcf9c5fc1f06e8f833d792198c9d04ae.tar.gz
u-boot-imx-bdccc4fedcf9c5fc1f06e8f833d792198c9d04ae.tar.bz2
* Map ISP1362 USB OTG controller for NSCU board
* Patch by Brad Parker, 02 Aug 2003: fix sc520_cdp problems * Implement Boot Cycle Detection (Req. 2.3 of OSDL CGL Reqirements) * Allow erase command to cross flash bank boundaries
Diffstat (limited to 'include/configs/NSCU.h')
-rw-r--r--include/configs/NSCU.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/NSCU.h b/include/configs/NSCU.h
index 8169453..3bf54d2 100644
--- a/include/configs/NSCU.h
+++ b/include/configs/NSCU.h
@@ -90,6 +90,8 @@
#define CONFIG_RTC_MPC8xx /* use internal RTC of MPC8xx */
+#define CONFIG_ISP1362_USB /* ISP1362 USB OTG controller */
+
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
CFG_CMD_ASKENV | \
CFG_CMD_DHCP | \
@@ -392,6 +394,15 @@
BR_PS_8 | BR_MS_UPMB | BR_V )
#endif /* CONFIG_CAN_DRIVER */
+#ifdef CONFIG_ISP1362_USB
+#define CFG_ISP1362_BASE 0xD0000000 /* ISP1362 mapped at 0xD0000000 */
+#define CFG_ISP1362_OR_AM 0xFFFF8000 /* 32 kB address mask */
+#define CFG_OR5_ISP1362 (CFG_ISP1362_OR_AM | OR_CSNT_SAM | \
+ OR_ACS_DIV2 | OR_BI | OR_SCY_5_CLK)
+#define CFG_BR5_ISP1362 ((CFG_ISP1362_BASE & BR_BA_MSK) | \
+ BR_PS_16 | BR_MS_GPCM | BR_V )
+#endif /* CONFIG_ISP1362_USB */
+
/*
* Memory Periodic Timer Prescaler
*