kconfig: add config option for shell prompt
authorNikita Kiryanov <nikita@compulab.co.il>
Mon, 3 Aug 2015 09:36:58 +0000 (12:36 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:15 +0000 (10:23 +0200)
commitdddec5b5ebabbf389ab244364262a84cbba08271
tree52e74cf72944222163cf53f4c010967b1fc302fa
parent464abb395c3fe1870a52de3cbd128a99074f057a
kconfig: add config option for shell prompt

Add option to set shell prompt string from menuconfig and migrate
boards globally.

The migration is done as follows:
- Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
  entry moved to their defconfig files.
- Boards that defined some kind of #ifdef logic which selects the
  CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
  right before the #ifdef logic and were left alone.
- This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
  CONFIG_SYS_PROMPT was removed from all <soc>_common.h and <arch>_common.h
  files. This results in a streamlined default value across platforms, and
  includes the following files: spear-common, sunxi-common, mv-common,
  ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
- Boards that relied on <arch/soc>_common.h values of CONFIG_SYS_PROMPT were
  not updated in their respective defconfig files under the assumption that
  since they did not explicitly define a value, they're fine with whatever
  the default is.
- On the other hand, boards that relied on a value defined in some
  <boards>_common.h file such as woodburn_common, rpi-common,
  bur_am335x_common, ls2085a_common, siemens_am33x_common, and
  omap3_evm_common, had their values moved to the respective defconfig files.
- The define V_PROMPT was removed, since it is not used anywhere except for
  assigning a value for CONFIG_SYS_PROMPT.

Cc: Tom Rini <trini@konsulko.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
[trini: Add spring, sniper, smartweb to conversion]
Signed-off-by: Tom Rini <trini@konsulko.com>
517 files changed:
common/Kconfig
configs/M5208EVBE_defconfig
configs/M52277EVB_defconfig
configs/M5235EVB_defconfig
configs/M5272C3_defconfig
configs/M5275EVB_defconfig
configs/M5282EVB_defconfig
configs/M53017EVB_defconfig
configs/M5329AFEE_defconfig
configs/M5329BFEE_defconfig
configs/M5373EVB_defconfig
configs/M54418TWR_defconfig
configs/M54418TWR_nand_mii_defconfig
configs/M54418TWR_nand_rmii_defconfig
configs/M54418TWR_nand_rmii_lowfreq_defconfig
configs/M54418TWR_serial_mii_defconfig
configs/M54418TWR_serial_rmii_defconfig
configs/M54451EVB_defconfig
configs/M54455EVB_defconfig
configs/M5475AFE_defconfig
configs/M5475BFE_defconfig
configs/M5475CFE_defconfig
configs/M5475DFE_defconfig
configs/M5475EFE_defconfig
configs/M5475FFE_defconfig
configs/M5475GFE_defconfig
configs/M5485AFE_defconfig
configs/M5485BFE_defconfig
configs/M5485CFE_defconfig
configs/M5485DFE_defconfig
configs/M5485EFE_defconfig
configs/M5485FFE_defconfig
configs/M5485GFE_defconfig
configs/M5485HFE_defconfig
configs/MPC8349ITXGP_defconfig
configs/MPC8349ITX_LOWBOOT_defconfig
configs/MPC8349ITX_defconfig
configs/PATI_defconfig
configs/UCP1020_defconfig
configs/VCMA9_defconfig
configs/ac14xx_defconfig
configs/adp-ag101_defconfig
configs/adp-ag101p_defconfig
configs/adp-ag102_defconfig
configs/am3517_crane_defconfig
configs/am3517_evm_defconfig
configs/amcore_defconfig
configs/apalis_t30_defconfig
configs/apf27_defconfig
configs/arcangel4_defconfig
configs/arndale_defconfig
configs/astro_mcf5373l_defconfig
configs/at91rm9200ek_defconfig
configs/at91rm9200ek_ram_defconfig
configs/at91sam9260ek_dataflash_cs0_defconfig
configs/at91sam9260ek_dataflash_cs1_defconfig
configs/at91sam9260ek_nandflash_defconfig
configs/at91sam9261ek_dataflash_cs0_defconfig
configs/at91sam9261ek_dataflash_cs3_defconfig
configs/at91sam9261ek_nandflash_defconfig
configs/at91sam9263ek_dataflash_cs0_defconfig
configs/at91sam9263ek_dataflash_defconfig
configs/at91sam9263ek_nandflash_defconfig
configs/at91sam9263ek_norflash_boot_defconfig
configs/at91sam9263ek_norflash_defconfig
configs/at91sam9g10ek_dataflash_cs0_defconfig
configs/at91sam9g10ek_dataflash_cs3_defconfig
configs/at91sam9g10ek_nandflash_defconfig
configs/at91sam9g20ek_2mmc_defconfig
configs/at91sam9g20ek_2mmc_nandflash_defconfig
configs/at91sam9g20ek_dataflash_cs0_defconfig
configs/at91sam9g20ek_dataflash_cs1_defconfig
configs/at91sam9g20ek_nandflash_defconfig
configs/at91sam9m10g45ek_mmc_defconfig
configs/at91sam9m10g45ek_nandflash_defconfig
configs/at91sam9n12ek_mmc_defconfig
configs/at91sam9n12ek_nandflash_defconfig
configs/at91sam9n12ek_spiflash_defconfig
configs/at91sam9rlek_dataflash_defconfig
configs/at91sam9rlek_mmc_defconfig
configs/at91sam9rlek_nandflash_defconfig
configs/at91sam9x5ek_dataflash_defconfig
configs/at91sam9x5ek_mmc_defconfig
configs/at91sam9x5ek_nandflash_defconfig
configs/at91sam9x5ek_spiflash_defconfig
configs/at91sam9xeek_dataflash_cs0_defconfig
configs/at91sam9xeek_dataflash_cs1_defconfig
configs/at91sam9xeek_nandflash_defconfig
configs/atngw100_defconfig
configs/atngw100mkii_defconfig
configs/atstk1002_defconfig
configs/axs101_defconfig
configs/beaver_defconfig
configs/bf537-minotaur_defconfig
configs/bf537-srv1_defconfig
configs/bf561-acvilon_defconfig
configs/br4_defconfig
configs/cairo_defconfig
configs/calimain_defconfig
configs/cam_enc_4xx_defconfig
configs/cardhu_defconfig
configs/cgtqmx6qeval_defconfig
configs/cm_fx6_defconfig
configs/cm_t335_defconfig
configs/cm_t3517_defconfig
configs/cm_t35_defconfig
configs/cm_t54_defconfig
configs/cobra5272_defconfig
configs/colibri_t20_defconfig
configs/colibri_t30_defconfig
configs/colibri_vf_defconfig
configs/colibri_vf_dtb_defconfig
configs/corvus_defconfig
configs/cpu9260_128M_defconfig
configs/cpu9260_defconfig
configs/cpu9260_nand_128M_defconfig
configs/cpu9260_nand_defconfig
configs/cpu9G20_128M_defconfig
configs/cpu9G20_defconfig
configs/cpu9G20_nand_128M_defconfig
configs/cpu9G20_nand_defconfig
configs/cpuat91_defconfig
configs/da830evm_defconfig
configs/da850evm_defconfig
configs/da850evm_direct_nor_defconfig
configs/dalmore_defconfig
configs/davinci_dm355evm_defconfig
configs/davinci_dm355leopard_defconfig
configs/davinci_dm365evm_defconfig
configs/davinci_dm6467evm_defconfig
configs/davinci_dvevm_defconfig
configs/davinci_schmoogie_defconfig
configs/davinci_sffsdr_defconfig
configs/davinci_sonata_defconfig
configs/dbau1000_defconfig
configs/dbau1100_defconfig
configs/dbau1500_defconfig
configs/dbau1550_defconfig
configs/dbau1550_el_defconfig
configs/dig297_defconfig
configs/dockstar_defconfig
configs/draco_defconfig
configs/duovero_defconfig
configs/ea20_defconfig
configs/eb_cpu5282_defconfig
configs/eb_cpux9k2_defconfig
configs/eco5pk_defconfig
configs/edminiv2_defconfig
configs/ethernut5_defconfig
configs/flea3_defconfig
configs/fx12mm_defconfig
configs/goflexhome_defconfig
configs/grasshopper_defconfig
configs/gwventana_defconfig
configs/h2200_defconfig
configs/harmony_defconfig
configs/ib62x0_defconfig
configs/iconnect_defconfig
configs/ima3-mx53_defconfig
configs/imx31_litekit_defconfig
configs/imx31_phycore_defconfig
configs/integratorap_cm720t_defconfig
configs/integratorap_cm920t_defconfig
configs/integratorap_cm926ejs_defconfig
configs/integratorap_cm946es_defconfig
configs/integratorcp_cm1136_defconfig
configs/integratorcp_cm920t_defconfig
configs/integratorcp_cm926ejs_defconfig
configs/integratorcp_cm946es_defconfig
configs/ipam390_defconfig
configs/jetson-tk1_defconfig
configs/jornada_defconfig
configs/k2e_evm_defconfig
configs/k2hk_evm_defconfig
configs/k2l_evm_defconfig
configs/kwb_defconfig
configs/kzm9g_defconfig
configs/mcx_defconfig
configs/medcom-wide_defconfig
configs/microblaze-generic_defconfig
configs/ml507_defconfig
configs/mt_ventoux_defconfig
configs/mx51_efikamx_defconfig
configs/nas220_defconfig
configs/nhk8815_defconfig
configs/nokia_rx51_defconfig
configs/nyan-big_defconfig
configs/odroid-xu3_defconfig
configs/odroid_defconfig
configs/omap3_evm_defconfig
configs/omap3_evm_quick_mmc_defconfig
configs/omap3_evm_quick_nand_defconfig
configs/omap3_logic_defconfig
configs/omap3_mvblx_defconfig
configs/omap3_overo_defconfig
configs/omap3_pandora_defconfig
configs/omap3_sdp3430_defconfig
configs/omapl138_lcdk_defconfig
configs/origen_defconfig
configs/palmld_defconfig
configs/palmtc_defconfig
configs/paz00_defconfig
configs/pb1000_defconfig
configs/pcm030_defconfig
configs/peach-pi_defconfig
configs/peach-pit_defconfig
configs/pepper_defconfig
configs/platinum_picon_defconfig
configs/platinum_titanium_defconfig
configs/plutux_defconfig
configs/pm9261_defconfig
configs/pm9263_defconfig
configs/pm9g45_defconfig
configs/pogo_e02_defconfig
configs/pr1_defconfig
configs/pxm2_defconfig
configs/rastaban_defconfig
configs/rpi_2_defconfig
configs/rpi_defconfig
configs/rut_defconfig
configs/s5p_goni_defconfig
configs/s5pc210_universal_defconfig
configs/scb9328_defconfig
configs/seaboard_defconfig
configs/secomx6quq7_defconfig
configs/smartweb_defconfig
configs/smdk2410_defconfig
configs/smdk5250_defconfig
configs/smdk5420_defconfig
configs/smdkc100_defconfig
configs/smdkv310_defconfig
configs/snapper9260_defconfig
configs/sniper_defconfig
configs/snow_defconfig
configs/snowball_defconfig
configs/spring_defconfig
configs/stamp9g20_defconfig
configs/stm32f429-discovery_defconfig
configs/stv0991_defconfig
configs/stxgp3_defconfig
configs/stxssa_defconfig
configs/tao3530_defconfig
configs/taurus_defconfig
configs/tb100_defconfig
configs/tbs2910_defconfig
configs/tec-ng_defconfig
configs/tec_defconfig
configs/thuban_defconfig
configs/ti814x_evm_defconfig
configs/ti816x_evm_defconfig
configs/titanium_defconfig
configs/trats2_defconfig
configs/trats_defconfig
configs/tricorder_defconfig
configs/trimslice_defconfig
configs/tseries_mmc_defconfig
configs/tseries_nand_defconfig
configs/tseries_spi_defconfig
configs/tt01_defconfig
configs/twister_defconfig
configs/u8500_href_defconfig
configs/usb_a9263_dataflash_defconfig
configs/v5fx30teval_defconfig
configs/vct_platinum_defconfig
configs/vct_platinum_onenand_defconfig
configs/vct_platinum_onenand_small_defconfig
configs/vct_platinum_small_defconfig
configs/vct_platinumavc_defconfig
configs/vct_platinumavc_onenand_defconfig
configs/vct_platinumavc_onenand_small_defconfig
configs/vct_platinumavc_small_defconfig
configs/vct_premium_defconfig
configs/vct_premium_onenand_defconfig
configs/vct_premium_onenand_small_defconfig
configs/vct_premium_small_defconfig
configs/venice2_defconfig
configs/ventana_defconfig
configs/vexpress_aemv8a_juno_defconfig
configs/vexpress_aemv8a_semi_defconfig
configs/vision2_defconfig
configs/vl_ma2sc_defconfig
configs/vpac270_nor_128_defconfig
configs/vpac270_nor_256_defconfig
configs/vpac270_ond_256_defconfig
configs/whistler_defconfig
configs/wireless_space_defconfig
configs/woodburn_defconfig
configs/woodburn_sd_defconfig
configs/x600_defconfig
configs/xilinx-ppc405-generic_defconfig
configs/xilinx-ppc440-generic_defconfig
configs/xilinx_zynqmp_ep_defconfig
configs/zipitz2_defconfig
configs/zmx25_defconfig
include/configs/M5208EVBE.h
include/configs/M52277EVB.h
include/configs/M5235EVB.h
include/configs/M5272C3.h
include/configs/M5275EVB.h
include/configs/M5282EVB.h
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/M54418TWR.h
include/configs/M54451EVB.h
include/configs/M54455EVB.h
include/configs/M5475EVB.h
include/configs/M5485EVB.h
include/configs/MPC8349ITX.h
include/configs/PATI.h
include/configs/T102xQDS.h
include/configs/T102xRDB.h
include/configs/UCP1020.h
include/configs/VCMA9.h
include/configs/ac14xx.h
include/configs/adp-ag101.h
include/configs/adp-ag101p.h
include/configs/adp-ag102.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/amcore.h
include/configs/apalis_t30.h
include/configs/apf27.h
include/configs/arcangel4.h
include/configs/arndale.h
include/configs/astro_mcf5373l.h
include/configs/at91-sama5_common.h
include/configs/at91rm9200ek.h
include/configs/at91sam9260ek.h
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9m10g45ek.h
include/configs/at91sam9n12ek.h
include/configs/at91sam9rlek.h
include/configs/at91sam9x5ek.h
include/configs/atngw100.h
include/configs/atngw100mkii.h
include/configs/atstk1002.h
include/configs/axs101.h
include/configs/balloon3.h
include/configs/beaver.h
include/configs/bf537-minotaur.h
include/configs/bf537-srv1.h
include/configs/bf561-acvilon.h
include/configs/br4.h
include/configs/bur_am335x_common.h
include/configs/calimain.h
include/configs/cam_enc_4xx.h
include/configs/cardhu.h
include/configs/cm_fx6.h
include/configs/cm_t335.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/cm_t54.h
include/configs/cobra5272.h
include/configs/colibri_pxa270.h
include/configs/colibri_t20.h
include/configs/colibri_t30.h
include/configs/colibri_vf.h
include/configs/corvus.h
include/configs/cpu9260.h
include/configs/cpuat91.h
include/configs/da830evm.h
include/configs/da850evm.h
include/configs/dalmore.h
include/configs/davinci_dm355evm.h
include/configs/davinci_dm355leopard.h
include/configs/davinci_dm365evm.h
include/configs/davinci_dm6467evm.h
include/configs/davinci_dvevm.h
include/configs/davinci_schmoogie.h
include/configs/davinci_sffsdr.h
include/configs/davinci_sonata.h
include/configs/dbau1x00.h
include/configs/dig297.h
include/configs/dockstar.h
include/configs/duovero.h
include/configs/ea20.h
include/configs/eb_cpu5282.h
include/configs/eb_cpux9k2.h
include/configs/eco5pk.h
include/configs/edb93xx.h
include/configs/edminiv2.h
include/configs/ethernut5.h
include/configs/flea3.h
include/configs/fx12mm.h
include/configs/goflexhome.h
include/configs/grasshopper.h
include/configs/gw_ventana.h
include/configs/h2200.h
include/configs/harmony.h
include/configs/hrcon.h
include/configs/ib62x0.h
include/configs/iconnect.h
include/configs/ima3-mx53.h
include/configs/imx31_litekit.h
include/configs/imx31_phycore.h
include/configs/integratorap.h
include/configs/integratorcp.h
include/configs/ipam390.h
include/configs/jetson-tk1.h
include/configs/jornada.h
include/configs/kzm9g.h
include/configs/lp8x4x.h
include/configs/ls2085a_common.h
include/configs/lsxl.h
include/configs/malta.h
include/configs/mcx.h
include/configs/medcom-wide.h
include/configs/microblaze-generic.h
include/configs/ml507.h
include/configs/mt_ventoux.h
include/configs/mv-common.h
include/configs/mx51_efikamx.h
include/configs/mx6ul_14x14_evk.h
include/configs/nas220.h
include/configs/nhk8815.h
include/configs/nokia_rx51.h
include/configs/nyan-big.h
include/configs/odroid.h
include/configs/odroid_xu3.h
include/configs/odroid_xu3.h.rej [new file with mode: 0644]
include/configs/omap3_cairo.h
include/configs/omap3_evm_common.h
include/configs/omap3_logic.h
include/configs/omap3_mvblx.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_sdp3430.h
include/configs/omapl138_lcdk.h
include/configs/origen.h
include/configs/palmld.h
include/configs/palmtc.h
include/configs/palmtreo680.h
include/configs/paz00.h
include/configs/pb1x00.h
include/configs/pcm030.h
include/configs/peach-pi.h
include/configs/peach-pit.h
include/configs/pepper.h
include/configs/platinum_picon.h
include/configs/platinum_titanium.h
include/configs/plutux.h
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/pm9g45.h
include/configs/pogo_e02.h
include/configs/pr1.h
include/configs/pxa255_idp.h
include/configs/qemu-mips.h
include/configs/qemu-mips64.h
include/configs/rpi-common.h
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/scb9328.h
include/configs/seaboard.h
include/configs/secomx6quq7.h
include/configs/siemens-am33x-common.h
include/configs/smartweb.h
include/configs/smdk2410.h
include/configs/smdk5250.h
include/configs/smdk5420.h
include/configs/smdkc100.h
include/configs/smdkv310.h
include/configs/snapper9260.h
include/configs/sniper.h
include/configs/snow.h
include/configs/snowball.h
include/configs/spear-common.h
include/configs/spring.h
include/configs/stamp9g20.h
include/configs/stm32f429-discovery.h
include/configs/stv0991.h
include/configs/stxgp3.h
include/configs/stxssa.h
include/configs/sunxi-common.h
include/configs/tao3530.h
include/configs/taurus.h
include/configs/tb100.h
include/configs/tbs2910.h
include/configs/tec-ng.h
include/configs/tec.h
include/configs/tegra-common.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_armv7_common.h
include/configs/titanium.h
include/configs/trats.h
include/configs/trats2.h
include/configs/tricorder.h
include/configs/trimslice.h
include/configs/trizepsiv.h
include/configs/tt01.h
include/configs/twister.h
include/configs/u8500_href.h
include/configs/usb_a9263.h
include/configs/v5fx30teval.h
include/configs/vct.h
include/configs/venice2.h
include/configs/ventana.h
include/configs/versatile.h
include/configs/vexpress_aemv8a.h
include/configs/vexpress_common.h
include/configs/vision2.h
include/configs/vl_ma2sc.h
include/configs/vpac270.h
include/configs/whistler.h
include/configs/wireless_space.h
include/configs/woodburn_common.h
include/configs/x600.h
include/configs/xaeniax.h
include/configs/xilinx-ppc405-generic.h
include/configs/xilinx-ppc440-generic.h
include/configs/xilinx_zynqmp.h
include/configs/zipitz2.h
include/configs/zmx25.h
include/configs/zynq-common.h