summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2017-04-02 10:59:11 (GMT)
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-20 11:20:32 (GMT)
commit7095f864186350dd5773a0bda2df19a1fa8d0aeb (patch)
tree8863b1f3a42768e9f582f8bff0bdd741b733c38f /include/configs/sunxi-common.h
parentf5fd78860ab4dbb3bc14ead4f14433f04d6e5cea (diff)
downloadu-boot-7095f864186350dd5773a0bda2df19a1fa8d0aeb.tar.xz
sunxi: Convert CONS_INDEX to Kconfig
Convert the CONS_INDEX configuration to Kconfig. Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not needed anymore. Default value is 1 except for sun5i (equals 2) and sun8i (equals 5). Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> [Maxime: Added a depends on ARCH_SUNXI to avoid build breakages] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 1d475b1..b32d220 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -231,10 +231,6 @@ extern int soft_i2c_gpio_scl;
defined CONFIG_SY8106A_POWER
#endif
-#ifndef CONFIG_CONS_INDEX
-#define CONFIG_CONS_INDEX 1 /* UART0 */
-#endif
-
#ifdef CONFIG_REQUIRE_SERIAL_CONSOLE
#if CONFIG_CONS_INDEX == 1
#ifdef CONFIG_MACH_SUN9I