sunxi: Convert CONS_INDEX to Kconfig
authorMylène Josserand <mylene.josserand@free-electrons.com>
Sun, 2 Apr 2017 10:59:11 +0000 (12:59 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:20:32 +0000 (13:20 +0200)
commit7095f864186350dd5773a0bda2df19a1fa8d0aeb
tree8863b1f3a42768e9f582f8bff0bdd741b733c38f
parentf5fd78860ab4dbb3bc14ead4f14433f04d6e5cea
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>
22 files changed:
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
configs/Ampe_A76_defconfig
configs/CHIP_defconfig
configs/CHIP_pro_defconfig
configs/Empire_electronix_d709_defconfig
configs/Empire_electronix_m712_defconfig
configs/difrnce_dit4350_defconfig
configs/ga10h_v1_1_defconfig
configs/gt90h_v4_defconfig
configs/iNet_D978_rev2_defconfig
configs/inet86dz_defconfig
configs/inet98v_rev2_defconfig
configs/polaroid_mid2407pxe03_defconfig
configs/polaroid_mid2809pxe04_defconfig
configs/q8_a13_tablet_defconfig
configs/q8_a23_tablet_800x480_defconfig
configs/q8_a33_tablet_1024x600_defconfig
configs/q8_a33_tablet_800x480_defconfig
configs/sun8i_a23_evb_defconfig
drivers/serial/Kconfig
include/configs/sunxi-common.h