Skip to content
Snippets Groups Projects
Commit 6de5bf24 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Andrew Fleming-AFLEMING
Browse files

sbc8560: proper definitions for TSEC.


The definitions for the TSEC have become out of date.  There is no
longer any such options like "CONFIG_MPC85xx_TSEC1" or similar.
Update to match those of other boards, like the MPC8560ADS.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 71074abb
No related branches found
No related tags found
No related merge requests found
...@@ -215,16 +215,28 @@ ...@@ -215,16 +215,28 @@
#define CFG_PCI_MEM_PHYS 0xC0000000 #define CFG_PCI_MEM_PHYS 0xC0000000
#define CFG_PCI_MEM_SIZE 0x10000000 #define CFG_PCI_MEM_SIZE 0x10000000
#if defined(CONFIG_TSEC_ENET) /* TSEC Ethernet port */ #ifdef CONFIG_TSEC_ENET
# define CONFIG_NET_MULTI 1 #ifndef CONFIG_NET_MULTI
# define CONFIG_MII 1 /* MII PHY management */ #define CONFIG_NET_MULTI 1
# define CONFIG_MPC85xx_TSEC1 #endif
# define CONFIG_MPC85xx_TSEC1_NAME "TSEC0"
# define TSEC1_PHY_ADDR 25 #ifndef CONFIG_MII
# define TSEC1_PHYIDX 0 #define CONFIG_MII 1 /* MII PHY management */
/* Options are: TSEC0 */ #endif
# define CONFIG_ETHPRIME "TSEC0" #define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC2 1
#define CONFIG_TSEC2_NAME "TSEC1"
#define TSEC1_PHY_ADDR 0x19
#define TSEC2_PHY_ADDR 0x1a
#define TSEC1_PHYIDX 0
#define TSEC2_PHYIDX 0
#define TSEC1_FLAGS TSEC_GIGABIT
#define TSEC2_FLAGS TSEC_GIGABIT
/* Options are: TSEC[0-1] */
#define CONFIG_ETHPRIME "TSEC0"
#elif defined(CONFIG_ETHER_ON_FCC) /* CPM FCC Ethernet */ #elif defined(CONFIG_ETHER_ON_FCC) /* CPM FCC Ethernet */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment