diff options
author | wdenk <wdenk> | 2003-06-26 22:04:09 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-26 22:04:09 +0000 |
commit | 993cad9364c6b87ae429d1ed1130d8153f6f027e (patch) | |
tree | 43faaa643caeaacec331db78850a5a4834bad354 /include/commproc.h | |
parent | b783edaee8252bfdba3f7b3fd29519a81ce71e42 (diff) | |
download | u-boot-imx-993cad9364c6b87ae429d1ed1130d8153f6f027e.zip u-boot-imx-993cad9364c6b87ae429d1ed1130d8153f6f027e.tar.gz u-boot-imx-993cad9364c6b87ae429d1ed1130d8153f6f027e.tar.bz2 |
* Patches by Robert Schwebel, 26 Jun 2003:
- logdl
- csb226
- innokom
* Patch by Pantelis Antoniou, 25 Jun 2003:
update NetVia with V2 board support
Diffstat (limited to 'include/commproc.h')
-rw-r--r-- | include/commproc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/commproc.h b/include/commproc.h index f0ee179..c10525d 100644 --- a/include/commproc.h +++ b/include/commproc.h @@ -1191,7 +1191,12 @@ typedef struct scc_enet { #define PA_ENET_RCLK ((ushort)0x0200) /* PA 6 */ #define PA_ENET_TCLK ((ushort)0x0800) /* PA 4 */ -#define PB_ENET_PDN ((ushort)0x4000) /* PB 17 */ +#if !defined(CONFIG_NETVIA_VERSION) || CONFIG_NETVIA_VERSION == 1 +# define PB_ENET_PDN ((ushort)0x4000) /* PB 17 */ +#elif CONFIG_NETVIA_VERSION >= 2 +# define PC_ENET_PDN ((ushort)0x0008) /* PC 12 */ +#endif + #define PB_ENET_TENA ((ushort)0x2000) /* PB 18 */ #define PC_ENET_CLSN ((ushort)0x0040) /* PC 9 */ |