diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-10-08 13:25:28 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-10-10 10:03:23 +0900 |
commit | f1d9a9edb94989a1dd6cb4e2e3ce626bc08b5d96 (patch) | |
tree | 3c0b2be23278c3f5623122544be1b5174334e894 /include | |
parent | f4c93a4f4d73a838954a2b546799fb18e48eab56 (diff) | |
download | u-boot-imx-f1d9a9edb94989a1dd6cb4e2e3ce626bc08b5d96.zip u-boot-imx-f1d9a9edb94989a1dd6cb4e2e3ce626bc08b5d96.tar.gz u-boot-imx-f1d9a9edb94989a1dd6cb4e2e3ce626bc08b5d96.tar.bz2 |
ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/uniphier.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 2cd7dce..3b78eff 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -15,12 +15,6 @@ #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 *----------------------------------------------------------------------*/ @@ -40,7 +34,13 @@ /* 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 |