diff mbox

[U-Boot,2/4] RFT GCC4.6: Fix muas3001 and IDS8247

Message ID 1319535660-20881-3-git-send-email-marek.vasut@gmail.com
State Superseded
Headers show

Commit Message

Marek Vasut Oct. 25, 2011, 9:40 a.m. UTC
The boards suffer from the following error due to undefined configuration
variables:

Configuring for IDS8247 board...
ether_fcc.c:75: error: 'CONFIG_SYS_CMXFCR_MASK1' undeclared here (not in a
function)
ether_fcc.c:76: error: 'CONFIG_SYS_CMXFCR_VALUE1' undeclared here (not in a
function)

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 include/configs/IDS8247.h  |    4 ++++
 include/configs/muas3001.h |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

Comments

Wolfgang Denk Oct. 27, 2011, 10:02 p.m. UTC | #1
Dear Marek Vasut,

In message <1319535660-20881-3-git-send-email-marek.vasut@gmail.com> you wrote:
> The boards suffer from the following error due to undefined configuration
> variables:
> 
> Configuring for IDS8247 board...
> ether_fcc.c:75: error: 'CONFIG_SYS_CMXFCR_MASK1' undeclared here (not in a
> function)
> ether_fcc.c:76: error: 'CONFIG_SYS_CMXFCR_VALUE1' undeclared here (not in a
> function)
> 
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Mike Frysinger <vapier@gentoo.org>
> ---
>  include/configs/IDS8247.h  |    4 ++++
>  include/configs/muas3001.h |    4 ++++
>  2 files changed, 8 insertions(+), 0 deletions(-)

Collission with commit d4590da4 by Mike Frysinger.  Dropped.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/include/configs/IDS8247.h b/include/configs/IDS8247.h
index be778fe..a9c6e06 100644
--- a/include/configs/IDS8247.h
+++ b/include/configs/IDS8247.h
@@ -147,6 +147,10 @@ 
 #define	CONFIG_ETHER_INDEX	1	/* which SCC/FCC channel for ethernet */
 #define CONFIG_ETHER_ON_FCC1
 #define FCC_ENET
+#define CONFIG_SYS_CMXFCR_MASK1		\
+	(CMXFCR_FC1 | CMXFCR_RF1CS_MSK | CMXFCR_TF1CS_MSK)
+#define CONFIG_SYS_CMXFCR_VALUE1	\
+	(CMXFCR_RF1CS_CLK11 | CMXFCR_TF1CS_CLK12)
 
 /*
  * - Rx-CLK is CLK10
diff --git a/include/configs/muas3001.h b/include/configs/muas3001.h
index 18bd37e..c552413 100644
--- a/include/configs/muas3001.h
+++ b/include/configs/muas3001.h
@@ -78,6 +78,10 @@ 
 #define CONFIG_ETHER_ON_FCC1
 #define CONFIG_HAS_ETH0
 #define FCC_ENET
+#define CONFIG_SYS_CMXFCR_MASK1		\
+	(CMXFCR_FC1 | CMXFCR_RF1CS_MSK | CMXFCR_TF1CS_MSK)
+#define CONFIG_SYS_CMXFCR_VALUE1	\
+	(CMXFCR_RF1CS_CLK11 | CMXFCR_TF1CS_CLK12)
 
 /*
  * - Rx-CLK is CLK11