summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 16:37:09 +0200
committerStefan Roese <sr@denx.de>2008-07-11 13:18:14 +0200
commit3a82113ed5934d498f25080441a8261fc9454b15 (patch)
treee4dfc97390c09b57f77c30e138e42ad0f1dca4ee /include
parent26173fc6f60521c2a8072f652f863617fc11ba9a (diff)
downloadu-boot-imx-3a82113ed5934d498f25080441a8261fc9454b15.zip
u-boot-imx-3a82113ed5934d498f25080441a8261fc9454b15.tar.gz
u-boot-imx-3a82113ed5934d498f25080441a8261fc9454b15.tar.bz2
ppc4xx: Add 460SX UIC defines
Only the really needed ones are added (cascading and EMAC/MAL). Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/ppc4xx-uic.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/asm-ppc/ppc4xx-uic.h b/include/asm-ppc/ppc4xx-uic.h
index eeaaa49..d50c363 100644
--- a/include/asm-ppc/ppc4xx-uic.h
+++ b/include/asm-ppc/ppc4xx-uic.h
@@ -30,7 +30,8 @@
* Define the number of UIC's
*/
#if defined(CONFIG_440GX) || defined(CONFIG_440SPE) || \
- defined(CONFIG_460EX) || defined(CONFIG_460GT)
+ defined(CONFIG_460EX) || defined(CONFIG_460GT) || \
+ defined(CONFIG_460SX)
#define UIC_MAX 4
#elif defined(CONFIG_440EPX) || defined(CONFIG_440GRX) || \
defined(CONFIG_405EX)
@@ -280,6 +281,25 @@
#define VECNUM_ETH1_OFFS 1
#endif /* CONFIG_460EX */
+#if defined(CONFIG_460SX)
+/* UIC 0 */
+#define VECNUM_UIC2NCI 10
+#define VECNUM_UIC2CI 11
+#define VECNUM_UIC3NCI 16
+#define VECNUM_UIC3CI 17
+#define VECNUM_ETH0 19
+#define VECNUM_ETH1_OFFS 1
+#define VECNUM_UIC1NCI 30
+#define VECNUM_UIC1CI 31
+
+/* UIC 1 */
+#define VECNUM_MAL_SERR (32 + 1)
+#define VECNUM_MAL_TXDE (32 + 2)
+#define VECNUM_MAL_RXDE (32 + 3)
+#define VECNUM_MAL_TXEOB (32 + 6)
+#define VECNUM_MAL_RXEOB (32 + 7)
+#endif /* CONFIG_460EX */
+
#if !defined(VECNUM_ETH1_OFFS)
#define VECNUM_ETH1_OFFS 1
#endif