From: Stefan Roese Date: Thu, 10 Jul 2008 14:37:09 +0000 (+0200) Subject: ppc4xx: Add 460SX UIC defines X-Git-Tag: v2008.10-rc1~198 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a82113ed5934d498f25080441a8261fc9454b15;p=u-boot ppc4xx: Add 460SX UIC defines Only the really needed ones are added (cascading and EMAC/MAL). Signed-off-by: Stefan Roese --- diff --git a/include/asm-ppc/ppc4xx-uic.h b/include/asm-ppc/ppc4xx-uic.h index eeaaa493ef..d50c363563 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