Skip to contentSkip to conversation

Fix SMC91111 regression: lpd7a40x build failures

PATCH New Ben Warren 1 participant 1 message Nov 9, 2009

lore
Share & tools
lore

Ben Warren

author
#0 lore raw

PATCH 1/1 Fix SMC91111 regression: lpd7a40x build failures

Both lpd7a400 and lpd7a404 failed to compile because they had CONFIG_SMC_USE_IOFUNCS defined:

examples/standalone/smc91111_eeprom.c:388: undefined reference to `SMC_outw'

Also removed an orphaned paren in lpd7a404.h

---

NOTE: I have only compile tested this. I'm not sure how this ever worked, since the SMC91111 rework didn't make any functional changes to the accessors.

 include/configs/lpd7a400-10.h |    1 -
 include/configs/lpd7a404-10.h |    1 -
 include/configs/lpd7a404.h    |    2 +-
 3 files changed, 1 insertions(+), 3 deletions(-)
include/configs/lpd7a400-10.h +0 -1
index 5f57c3a..91bf1fa 100644
@@ -76,6 +76,5 @@
 #define CONFIG_SMC91111
 #define CONFIG_SMC91111_BASE	(0x70000000)
 #undef CONFIG_SMC_USE_32_BIT
-#define CONFIG_SMC_USE_IOFUNCS
 
 #endif  /* __LPD7A400_10_H */
include/configs/lpd7a404-10.h +0 -1
index 9074e28..b10e69d 100644
@@ -76,6 +76,5 @@
 #define CONFIG_SMC91111
 #define CONFIG_SMC91111_BASE	(0x70000000)
 #undef CONFIG_SMC_USE_32_BIT
-#define CONFIG_SMC_USE_IOFUNCS
 
 #endif  /* __LPD7A404_10_H */
include/configs/lpd7a404.h +1 -1
index 102c0af..557f389 100644
@@ -72,7 +72,7 @@
 #include <config_cmd_default.h>
 
 #ifndef USE_920T_MMU
-    #define CONFIG_CMD_PING)
+    #define CONFIG_CMD_PING
     #undef CONFIG_CMD_CACHE
 #else
     #define CONFIG_CMD_DATE
Signature · 1 line
1.6.0.4