]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Oct 2016 04:25:28 +0000 (13:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Oct 2016 01:03:23 +0000 (10:03 +0900)
This is an on-board Ethernet device.  It has no point if the Micro
Support Card is not available.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 2cd7dced5f3a9a2537abca70d6eabb590c8b55bc..3b78effbde84e438b0e4ad273f5db074464da39a 100644 (file)
 
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS  10
 
-#define CONFIG_SMC911X
-
-/* dummy: referenced by examples/standalone/smc911x_eeprom.c */
-#define CONFIG_SMC911X_BASE    0
-#define CONFIG_SMC911X_32_BIT
-
 /*-----------------------------------------------------------------------
  * MMU and Cache Setting
  *----------------------------------------------------------------------*/
 /* FLASH related */
 #define CONFIG_MTD_DEVICE
 
-#ifndef CONFIG_MICRO_SUPPORT_CARD
+#define CONFIG_SMC911X_32_BIT
+/* dummy: referenced by examples/standalone/smc911x_eeprom.c */
+#define CONFIG_SMC911X_BASE    0
+
+#ifdef CONFIG_MICRO_SUPPORT_CARD
+#define CONFIG_SMC911X
+#else
 #define CONFIG_SYS_NO_FLASH
 #endif