]> git.ipfire.org Git - thirdparty/u-boot.git/commit - cmd/Kconfig
Kconfigs: Correct default of "0" on hex type entries
authorTom Rini <trini@konsulko.com>
Wed, 2 Aug 2023 15:09:43 +0000 (11:09 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 9 Aug 2023 13:21:42 +0000 (09:21 -0400)
commita077ac13d03c8cde646ddab30b03ec0f8b753e1e
tree329ba3478652e8758cb0066a775cd9e4b99dc6c7
parent1e1437d9f8b5be362afdd0212dbae6c41f53f3d8
Kconfigs: Correct default of "0" on hex type entries

It is not a parse error to have a default value of "0" for a "hex" type
entry, instead of "0x0".  However, "0" and "0x0" are not treated the
same even by the tools themselves. Correct this by changing the default
value from "0" to "0x0" for all hex type questions that had the
incorrect default. Fix one instance (in two configs) of a default of "0"
being used on a hex question to be "0x0". Remove the cases where a
defconfig had set a value of "0x0" to be used as the default had been
"0".

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
47 files changed:
arch/arm/cpu/armv7/ls102xa/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/imx8/Kconfig
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-sunxi/Kconfig
arch/powerpc/cpu/mpc8xx/Kconfig
boot/Kconfig
cmd/Kconfig
common/Kconfig
common/spl/Kconfig
common/spl/Kconfig.tpl
configs/am335x_guardian_defconfig
configs/efi-x86_app32_defconfig
configs/efi-x86_app64_defconfig
configs/evb-rk3229_defconfig
configs/evb-rk3308_defconfig
configs/imx6q_logic_defconfig
configs/imx8mm_data_modul_edm_sbc_defconfig
configs/imx8mn_beacon_2g_defconfig
configs/imx8mn_beacon_defconfig
configs/imx8mn_beacon_fspi_defconfig
configs/imx8mp_beacon_defconfig
configs/imx8mp_data_modul_edm_sbc_defconfig
configs/imx8mp_dhcom_pdk2_defconfig
configs/imx8mp_dhcom_pdk3_defconfig
configs/kontron_sl28_defconfig
configs/lion-rk3368_defconfig
configs/roc-cc-rk3308_defconfig
configs/rock-pi-s-rk3308_defconfig
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_noinst_defconfig
configs/sandbox_spl_defconfig
configs/sandbox_vpl_defconfig
configs/xilinx_versal_net_virt_defconfig
configs/xilinx_zynqmp_virt_defconfig
drivers/block/Kconfig
drivers/fastboot/Kconfig
drivers/i2c/Kconfig
drivers/misc/Kconfig
drivers/serial/Kconfig
drivers/usb/gadget/Kconfig
drivers/video/Kconfig
env/Kconfig
lib/Kconfig