From 288693abe1f7c23e69479fd85c2c0d8d7fdbf8f2 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Mon, 25 Jul 2005 12:14:54 -0500 Subject: [PATCH] * Patch by Jon Loeliger, 2005-Feb-10 Add config option CONFIG_HAS_FEC calling out 8540 FEC features. --- CHANGELOG | 3 +++ include/configs/MPC8540ADS.h | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 985f5f0..39166f8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ ====================================================================== Changes for U-Boot 1.1.3: ====================================================================== +* Patch by Jon Loeliger, 2005-Feb-10 + Add config option CONFIG_HAS_FEC calling out 8540 FEC features. + * Patch by Jon Loeliger, Kumar Gala, 2005-02-08 For MPC85xxCDS: Adds Relaxed Timing TRLX bit to FLASH ORx regs to allow diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h index 1c11c6f..533b587 100644 --- a/include/configs/MPC8540ADS.h +++ b/include/configs/MPC8540ADS.h @@ -41,6 +41,10 @@ #define CONFIG_MPC8540 1 /* MPC8540 specific */ #define CONFIG_MPC8540ADS 1 /* MPC8540ADS board specific */ +#ifndef CONFIG_HAS_FEC +#define CONFIG_HAS_FEC 1 /* 8540 has FEC */ +#endif + #define CONFIG_PCI #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE @@ -344,9 +348,12 @@ #define TSEC1_PHYIDX 0 #define TSEC2_PHYIDX 0 + +#if CONFIG_HAS_FEC #define CONFIG_MPC85XX_FEC 1 #define FEC_PHY_ADDR 3 #define FEC_PHYIDX 0 +#endif #define CONFIG_ETHPRIME "MOTO ENET0"