]> git.sur5r.net Git - u-boot/commit
Convert all of CONFIG_CONS_INDEX to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 7 Mar 2018 00:02:27 +0000 (19:02 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 16 Mar 2018 14:28:52 +0000 (10:28 -0400)
commit6f6b7cfa89e5aa3b643196a4ccc8b1ba5d6fa7a4
treeb2da03ec76a5c1f3737b201c95de45ebc68d1a58
parent7dc7a38c79d2f3fccda845ce7ec4a623e1d26335
Convert all of CONFIG_CONS_INDEX to Kconfig

This converts the following to Kconfig:
   CONFIG_CONS_INDEX

We have existing entries for this option in a number of places, with
different guards on them.  They're also sometimes used for things not
directly inside of the serial driver.  First, introduce a new symbol to
guard the use of CONFIG_CONS_INDEX, so that in the case where we don't
need this for the serial driver, but for some other use, we can still do
it.  Next, consolidate all of these into the single entry in
drivers/serial/Kconfig.  Finally, introduce CONS_INDEX_[023456] so that
we can imply a correct value here to make the defconfig side of this
smaller.

Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Rework a lot of the logic here, such that I took authorship from
Adam, but kept his S-o-B line]
Signed-off-by: Tom Rini <trini@konsulko.com>
320 files changed:
arch/arm/Kconfig
arch/arm/include/asm/arch-bcmcygnus/configs.h
arch/arm/include/asm/arch-bcmnsp/configs.h
arch/arm/include/asm/arch-lpc32xx/config.h
arch/arm/mach-omap2/Kconfig
arch/arm/mach-sunxi/Kconfig
board/birdland/bav335x/Kconfig
board/eets/pdu001/Kconfig
board/hisilicon/hikey/Kconfig
board/tcl/sl50/Kconfig
board/ti/am335x/Kconfig
board/ti/am57xx/Kconfig
board/ti/dra7xx/Kconfig
board/vscom/baltos/Kconfig
configs/A10s-OLinuXino-M_defconfig
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
configs/A33-OLinuXino_defconfig
configs/Ampe_A76_defconfig
configs/Auxtek-T003_defconfig
configs/Auxtek-T004_defconfig
configs/Bananapi_m2m_defconfig
configs/CHIP_defconfig
configs/CHIP_pro_defconfig
configs/Empire_electronix_d709_defconfig
configs/Empire_electronix_m712_defconfig
configs/MPC8541CDS_defconfig
configs/MPC8541CDS_legacy_defconfig
configs/MPC8548CDS_36BIT_defconfig
configs/MPC8548CDS_defconfig
configs/MPC8548CDS_legacy_defconfig
configs/MPC8555CDS_defconfig
configs/MPC8555CDS_legacy_defconfig
configs/Nintendo_NES_Classic_Edition_defconfig
configs/Sinlinx_SinA33_defconfig
configs/UTOO_P66_defconfig
configs/Wobo_i5_defconfig
configs/am335x_pdu001_defconfig
configs/am3517_crane_defconfig
configs/am3517_evm_defconfig
configs/apx4devkit_defconfig
configs/bcm911360_entphn-ns_defconfig
configs/bcm911360_entphn_defconfig
configs/bcm911360k_defconfig
configs/bcm958300k-ns_defconfig
configs/bcm958300k_defconfig
configs/bcm958305k_defconfig
configs/bcm958712k_defconfig
configs/bg0900_defconfig
configs/cairo_defconfig
configs/cl-som-am57x_defconfig
configs/cm_t3517_defconfig
configs/cm_t35_defconfig
configs/cm_t54_defconfig
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
configs/controlcenterd_36BIT_SDCARD_defconfig
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig
configs/controlcenterd_TRAILBLAZER_defconfig
configs/corvus_defconfig
configs/devkit8000_defconfig
configs/difrnce_dit4350_defconfig
configs/display5_defconfig
configs/display5_factory_defconfig
configs/duovero_defconfig
configs/eco5pk_defconfig
configs/edb9315a_defconfig
configs/ga10h_v1_1_defconfig
configs/gt90h_v4_defconfig
configs/h2200_defconfig
configs/highbank_defconfig
configs/hikey_defconfig
configs/hrcon_defconfig
configs/hrcon_dh_defconfig
configs/iNet_86VS_defconfig
configs/iNet_D978_rev2_defconfig
configs/igep0032_defconfig
configs/igep00x0_defconfig
configs/inet86dz_defconfig
configs/inet98v_rev2_defconfig
configs/kc1_defconfig
configs/ls1021aqds_ddr4_nor_defconfig
configs/ls1021aqds_nor_defconfig
configs/ls1021atwr_nor_defconfig
configs/ls2080ardb_SECURE_BOOT_defconfig
configs/ls2080ardb_defconfig
configs/ls2080ardb_nand_defconfig
configs/ls2081ardb_defconfig
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
configs/ls2088ardb_qspi_defconfig
configs/m28evk_defconfig
configs/mcx_defconfig
configs/mk802_a10s_defconfig
configs/mx23_olinuxino_defconfig
configs/mx23evk_defconfig
configs/mx28evk_auart_console_defconfig
configs/mx28evk_defconfig
configs/mx28evk_nand_defconfig
configs/mx28evk_spi_defconfig
configs/nokia_rx51_defconfig
configs/omap3_beagle_defconfig
configs/omap3_ha_defconfig
configs/omap3_logic_defconfig
configs/omap3_overo_defconfig
configs/omap3_pandora_defconfig
configs/omap4_panda_defconfig
configs/omap4_sdp4430_defconfig
configs/omap5_uevm_defconfig
configs/parrot_r16_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/r7-tv-dongle_defconfig
configs/sansa_fuze_plus_defconfig
configs/sc_sps_1_defconfig
configs/sniper_defconfig
configs/spear300_defconfig
configs/spear300_nand_defconfig
configs/spear300_usbtty_defconfig
configs/spear300_usbtty_nand_defconfig
configs/spear310_defconfig
configs/spear310_nand_defconfig
configs/spear310_pnor_defconfig
configs/spear310_usbtty_defconfig
configs/spear310_usbtty_nand_defconfig
configs/spear310_usbtty_pnor_defconfig
configs/spear320_defconfig
configs/spear320_nand_defconfig
configs/spear320_pnor_defconfig
configs/spear320_usbtty_defconfig
configs/spear320_usbtty_nand_defconfig
configs/spear320_usbtty_pnor_defconfig
configs/spear600_defconfig
configs/spear600_nand_defconfig
configs/spear600_usbtty_defconfig
configs/spear600_usbtty_nand_defconfig
configs/strider_con_defconfig
configs/strider_con_dp_defconfig
configs/strider_cpu_defconfig
configs/strider_cpu_dp_defconfig
configs/sun8i_a23_evb_defconfig
configs/tao3530_defconfig
configs/tricorder_defconfig
configs/tricorder_flash_defconfig
configs/ts4600_defconfig
configs/vexpress_ca15_tc2_defconfig
configs/vexpress_ca5x2_defconfig
configs/vexpress_ca9x4_defconfig
configs/x600_defconfig
configs/xfi3_defconfig
configs/zipitz2_defconfig
drivers/serial/Kconfig
include/configs/B4860QDS.h
include/configs/BSC9131RDB.h
include/configs/BSC9132QDS.h
include/configs/C29XPCIE.h
include/configs/MPC8308RDB.h
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8323ERDB.h
include/configs/MPC832XEMDS.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8536DS.h
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/P1010RDB.h
include/configs/P1022DS.h
include/configs/P1023RDB.h
include/configs/P2041RDB.h
include/configs/T102xQDS.h
include/configs/T102xRDB.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/TQM834x.h
include/configs/UCP1020.h
include/configs/adp-ae3xx.h
include/configs/adp-ag101p.h
include/configs/advantech_dms-ba16.h
include/configs/am335x_igep003x.h
include/configs/am335x_shc.h
include/configs/am3517_crane.h
include/configs/apalis_imx6.h
include/configs/apf27.h
include/configs/bcm23550_w1d.h
include/configs/bcm28155_ap.h
include/configs/bcm_northstar2.h
include/configs/calimain.h
include/configs/chiliboard.h
include/configs/cl-som-am57x.h
include/configs/cm_t335.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/cm_t43.h
include/configs/cm_t54.h
include/configs/colibri_imx6.h
include/configs/controlcenterd.h
include/configs/corenet_ds.h
include/configs/cyrus.h
include/configs/da850evm.h
include/configs/dh_imx6.h
include/configs/ea20.h
include/configs/eco5pk.h
include/configs/edb93xx.h
include/configs/edminiv2.h
include/configs/flea3.h
include/configs/ge_bx50v3.h
include/configs/h2200.h
include/configs/highbank.h
include/configs/hrcon.h
include/configs/ids8313.h
include/configs/imx27lite-common.h
include/configs/imx31_phycore.h
include/configs/integrator-common.h
include/configs/ipam390.h
include/configs/kc1.h
include/configs/km/km83xx-common.h
include/configs/km/km_arm.h
include/configs/km/kmp204x-common.h
include/configs/legoev3.h
include/configs/ls1012a_common.h
include/configs/ls1021aiot.h
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h
include/configs/ls1043a_common.h
include/configs/ls1046a_common.h
include/configs/ls1088a_common.h
include/configs/ls2080a_common.h
include/configs/ls2080ardb.h
include/configs/m53evk.h
include/configs/mcx.h
include/configs/mpc8308_p1m.h
include/configs/mv-common.h
include/configs/mx25pdk.h
include/configs/mx31ads.h
include/configs/mx31pdk.h
include/configs/mx35pdk.h
include/configs/mx51evk.h
include/configs/mx53ard.h
include/configs/mx53cx9020.h
include/configs/mx53evk.h
include/configs/mx53loco.h
include/configs/mx53ppd.h
include/configs/mx53smd.h
include/configs/mx6_common.h
include/configs/mx7_common.h
include/configs/mx7ulp_evk.h
include/configs/mxs.h
include/configs/nokia_rx51.h
include/configs/nx25-ae250.h
include/configs/odroid-c2.h
include/configs/omap3_cairo.h
include/configs/omap3_evm.h
include/configs/omap3_logic.h
include/configs/omap5_uevm.h
include/configs/omapl138_lcdk.h
include/configs/p1_p2_rdb_pc.h
include/configs/p1_twr.h
include/configs/p212.h
include/configs/pcm051.h
include/configs/pengwyn.h
include/configs/pepper.h
include/configs/qemu-mips.h
include/configs/qemu-mips64.h
include/configs/qemu-ppce500.h
include/configs/sbc8349.h
include/configs/sbc8548.h
include/configs/sbc8641d.h
include/configs/siemens-am33x-common.h
include/configs/sniper.h
include/configs/socfpga_common.h
include/configs/socrates.h
include/configs/spear-common.h
include/configs/strider.h
include/configs/t4qds.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/tbs2910.h
include/configs/tegra-common.h
include/configs/thunderx_88xx.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_armv7_keystone2.h
include/configs/ti_omap3_common.h
include/configs/ti_omap4_common.h
include/configs/tricorder.h
include/configs/ts4800.h
include/configs/uniphier.h
include/configs/usbarmory.h
include/configs/vct.h
include/configs/ve8313.h
include/configs/vexpress_aemv8a.h
include/configs/vexpress_common.h
include/configs/vme8349.h
include/configs/woodburn_common.h
include/configs/x600.h
include/configs/xilinx_zynqmp.h
include/configs/xpedite517x.h
include/configs/xpedite520x.h
include/configs/xpedite537x.h
include/configs/xpedite550x.h
include/configs/xtfpga.h
include/configs/zipitz2.h
include/configs/zmx25.h