diff options
author | Andy Fleming <afleming@freescale.com> | 2007-08-15 20:03:25 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-16 12:12:49 +0200 |
commit | 3a79013e2adda53332dfd0b511066a805e929a9d (patch) | |
tree | f5b68229e996f7be5b0fb4bcc5dca1cc593b3f70 /include/configs/sbc8641d.h | |
parent | ec7238229507e7f47533a611ea8c53319d234cf3 (diff) | |
download | u-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.zip u-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.tar.gz u-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.tar.bz2 |
Define tsec flag values in config files
The tsec_info structure and array has a "flags" field for each
ethernet controller. This field is the only reason there are
settings. Switch to defining TSECn_FLAGS for each controller
in the config header, and we can greatly simplify the array, and
also simplify the addition of future boards.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs/sbc8641d.h')
-rw-r--r-- | include/configs/sbc8641d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h index 277b611..760b754 100644 --- a/include/configs/sbc8641d.h +++ b/include/configs/sbc8641d.h @@ -380,6 +380,10 @@ #define TSEC2_PHYIDX 0 #define TSEC3_PHYIDX 0 #define TSEC4_PHYIDX 0 +#define TSEC1_FLAGS TSEC_GIGABIT +#define TSEC2_FLAGS TSEC_GIGABIT +#define TSEC3_FLAGS TSEC_GIGABIT +#define TSEC4_FLAGS TSEC_GIGABIT #define CFG_TBIPA_VALUE 0x1e /* Set TBI address not to conflict with TSEC1_PHY_ADDR */ |