platform/kernel/u-boot.git
18 months agoglobal: Migrate CONFIG_LOWPOWER_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:32 +0000 (10:04 -0500)]
global: Migrate CONFIG_LOWPOWER_ADDR to CFG

Perform a simple rename of CONFIG_LOWPOWER_ADDR to CFG_LOWPOWER_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_LEGACY_BOOTCMD_ENV to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:31 +0000 (10:04 -0500)]
global: Migrate CONFIG_LEGACY_BOOTCMD_ENV to CFG

Perform a simple rename of CONFIG_LEGACY_BOOTCMD_ENV to CFG_LEGACY_BOOTCMD_ENV

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:30 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG

Perform a simple rename of CONFIG_KSNET_SERDES_SGMII_BASE to CFG_KSNET_SERDES_SGMII_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_SERDES_SGMII2_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:29 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_SERDES_SGMII2_BASE to CFG

Perform a simple rename of CONFIG_KSNET_SERDES_SGMII2_BASE to CFG_KSNET_SERDES_SGMII2_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_SERDES_LANES_PER_SGMII to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:28 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_SERDES_LANES_PER_SGMII to CFG

Perform a simple rename of CONFIG_KSNET_SERDES_LANES_PER_SGMII to CFG_KSNET_SERDES_LANES_PER_SGMII

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_NETCP_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:27 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_NETCP_BASE to CFG

Perform a simple rename of CONFIG_KSNET_NETCP_BASE to CFG_KSNET_NETCP_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_MAC_ID_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:26 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_MAC_ID_BASE to CFG

Perform a simple rename of CONFIG_KSNET_MAC_ID_BASE to CFG_KSNET_MAC_ID_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_KSNET_CPSW_NUM_PORTS to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:25 +0000 (10:04 -0500)]
global: Migrate CONFIG_KSNET_CPSW_NUM_PORTS to CFG

Perform a simple rename of CONFIG_KSNET_CPSW_NUM_PORTS to CFG_KSNET_CPSW_NUM_PORTS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_IRAM_TOP to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:14 +0000 (10:04 -0500)]
global: Migrate CONFIG_IRAM_TOP to CFG

Perform a simple rename of CONFIG_IRAM_TOP to CFG_IRAM_TOP

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_IRAM_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:13 +0000 (10:04 -0500)]
global: Migrate CONFIG_IRAM_BASE to CFG

Perform a simple rename of CONFIG_IRAM_BASE to CFG_IRAM_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_IMX6_PWM_PER_CLK to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:12 +0000 (10:04 -0500)]
global: Migrate CONFIG_IMX6_PWM_PER_CLK to CFG

Perform a simple rename of CONFIG_IMX6_PWM_PER_CLK to CFG_IMX6_PWM_PER_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ICS307_REFCLK_HZ to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:11 +0000 (10:04 -0500)]
global: Migrate CONFIG_ICS307_REFCLK_HZ to CFG

Perform a simple rename of CONFIG_ICS307_REFCLK_HZ to CFG_ICS307_REFCLK_HZ

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_I2C_MVTWSI_BASE1 to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:10 +0000 (10:04 -0500)]
global: Migrate CONFIG_I2C_MVTWSI_BASE1 to CFG

Perform a simple rename of CONFIG_I2C_MVTWSI_BASE1 to CFG_I2C_MVTWSI_BASE1

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_I2C_MVTWSI_BASE0 to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:09 +0000 (10:04 -0500)]
global: Migrate CONFIG_I2C_MVTWSI_BASE0 to CFG

Perform a simple rename of CONFIG_I2C_MVTWSI_BASE0 to CFG_I2C_MVTWSI_BASE0

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_I2C_MULTI_BUS to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:08 +0000 (10:04 -0500)]
global: Migrate CONFIG_I2C_MULTI_BUS to CFG

Perform a simple rename of CONFIG_I2C_MULTI_BUS to CFG_I2C_MULTI_BUS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FTRTC010_PCLK to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:06 +0000 (10:04 -0500)]
global: Migrate CONFIG_FTRTC010_PCLK to CFG

Perform a simple rename of CONFIG_FTRTC010_PCLK to CFG_FTRTC010_PCLK

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FTRTC010_EXTCLK to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:05 +0000 (10:04 -0500)]
global: Migrate CONFIG_FTRTC010_EXTCLK to CFG

Perform a simple rename of CONFIG_FTRTC010_EXTCLK to CFG_FTRTC010_EXTCLK

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_SERDES2 to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:04 +0000 (10:04 -0500)]
global: Migrate CONFIG_FSL_SERDES2 to CFG

Perform a simple rename of CONFIG_FSL_SERDES2 to CFG_FSL_SERDES2

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_SERDES1 to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:03 +0000 (10:04 -0500)]
global: Migrate CONFIG_FSL_SERDES1 to CFG

Perform a simple rename of CONFIG_FSL_SERDES1 to CFG_FSL_SERDES1

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_PMIC_MODE to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:02 +0000 (10:04 -0500)]
global: Migrate CONFIG_FSL_PMIC_MODE to CFG

Perform a simple rename of CONFIG_FSL_PMIC_MODE to CFG_FSL_PMIC_MODE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_PMIC_CS to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:01 +0000 (10:04 -0500)]
global: Migrate CONFIG_FSL_PMIC_CS to CFG

Perform a simple rename of CONFIG_FSL_PMIC_CS to CFG_FSL_PMIC_CS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_PMIC_CLK to CFG
Tom Rini [Sun, 4 Dec 2022 15:04:00 +0000 (10:04 -0500)]
global: Migrate CONFIG_FSL_PMIC_CLK to CFG

Perform a simple rename of CONFIG_FSL_PMIC_CLK to CFG_FSL_PMIC_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_PMIC_BUS to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:59 +0000 (10:03 -0500)]
global: Migrate CONFIG_FSL_PMIC_BUS to CFG

Perform a simple rename of CONFIG_FSL_PMIC_BUS to CFG_FSL_PMIC_BUS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FSL_PMIC_BITLEN to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:58 +0000 (10:03 -0500)]
global: Migrate CONFIG_FSL_PMIC_BITLEN to CFG

Perform a simple rename of CONFIG_FSL_PMIC_BITLEN to CFG_FSL_PMIC_BITLEN

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FPGA_DELAY to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:57 +0000 (10:03 -0500)]
global: Migrate CONFIG_FPGA_DELAY to CFG

Perform a simple rename of CONFIG_FPGA_DELAY to CFG_FPGA_DELAY

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FM_PLAT_CLK_DIV to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:56 +0000 (10:03 -0500)]
global: Migrate CONFIG_FM_PLAT_CLK_DIV to CFG

Perform a simple rename of CONFIG_FM_PLAT_CLK_DIV to CFG_FM_PLAT_CLK_DIV

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FLASH_OR_PRELIM to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:55 +0000 (10:03 -0500)]
global: Migrate CONFIG_FLASH_OR_PRELIM to CFG

Perform a simple rename of CONFIG_FLASH_OR_PRELIM to CFG_FLASH_OR_PRELIM

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FLASH_BR_PRELIM to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:54 +0000 (10:03 -0500)]
global: Migrate CONFIG_FLASH_BR_PRELIM to CFG

Perform a simple rename of CONFIG_FLASH_BR_PRELIM to CFG_FLASH_BR_PRELIM

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FEC_MXC_PHYADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:53 +0000 (10:03 -0500)]
global: Migrate CONFIG_FEC_MXC_PHYADDR to CFG

Perform a simple rename of CONFIG_FEC_MXC_PHYADDR to CFG_FEC_MXC_PHYADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FEC_ENET_DEV to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:52 +0000 (10:03 -0500)]
global: Migrate CONFIG_FEC_ENET_DEV to CFG

Perform a simple rename of CONFIG_FEC_ENET_DEV to CFG_FEC_ENET_DEV

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_FB_ADDR to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:51 +0000 (10:03 -0500)]
global: Migrate CONFIG_FB_ADDR to CFG

Perform a simple rename of CONFIG_FB_ADDR to CFG_FB_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_EXTRA_ENV_SETTINGS to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:50 +0000 (10:03 -0500)]
global: Migrate CONFIG_EXTRA_ENV_SETTINGS to CFG

Perform a simple rename of CONFIG_EXTRA_ENV_SETTINGS to CFG_EXTRA_ENV_SETTINGS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ETHBASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:49 +0000 (10:03 -0500)]
global: Migrate CONFIG_ETHBASE to CFG

Perform a simple rename of CONFIG_ETHBASE to CFG_ETHBASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ET1100_BASE to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:48 +0000 (10:03 -0500)]
global: Migrate CONFIG_ET1100_BASE to CFG

Perform a simple rename of CONFIG_ET1100_BASE to CFG_ET1100_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_TOTAL_SIZE to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:47 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_TOTAL_SIZE to CFG

Perform a simple rename of CONFIG_ENV_TOTAL_SIZE to CFG_ENV_TOTAL_SIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SROM_BANK to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:46 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SROM_BANK to CFG

Perform a simple rename of CONFIG_ENV_SROM_BANK to CFG_ENV_SROM_BANK

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SETTINGS_V2 to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:45 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SETTINGS_V2 to CFG

Perform a simple rename of CONFIG_ENV_SETTINGS_V2 to CFG_ENV_SETTINGS_V2

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SETTINGS_V1 to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:44 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SETTINGS_V1 to CFG

Perform a simple rename of CONFIG_ENV_SETTINGS_V1 to CFG_ENV_SETTINGS_V1

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SETTINGS_NAND_V2 to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:43 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SETTINGS_NAND_V2 to CFG

Perform a simple rename of CONFIG_ENV_SETTINGS_NAND_V2 to CFG_ENV_SETTINGS_NAND_V2

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SETTINGS_NAND_V1 to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:42 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SETTINGS_NAND_V1 to CFG

Perform a simple rename of CONFIG_ENV_SETTINGS_NAND_V1 to CFG_ENV_SETTINGS_NAND_V1

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:41 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS to CFG

Perform a simple rename of CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS to CFG_ENV_SETTINGS_BUTTONS_AND_LEDS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ENV_FLAGS_LIST_STATIC to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:40 +0000 (10:03 -0500)]
global: Migrate CONFIG_ENV_FLAGS_LIST_STATIC to CFG

Perform a simple rename of CONFIG_ENV_FLAGS_LIST_STATIC to CFG_ENV_FLAGS_LIST_STATIC

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_DW_WDT_CLOCK_KHZ to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:39 +0000 (10:03 -0500)]
global: Migrate CONFIG_DW_WDT_CLOCK_KHZ to CFG

Perform a simple rename of CONFIG_DW_WDT_CLOCK_KHZ to CFG_DW_WDT_CLOCK_KHZ

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_DFU_ALT et al to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:38 +0000 (10:03 -0500)]
global: Migrate CONFIG_DFU_ALT et al to CFG

Perform simple renames of:
   CONFIG_DFU_ALT to CFG_DFU_ALT
   CONFIG_DFU_ALT_BOOT_EMMC to CFG_DFU_ALT_BOOT_EMMC
   CONFIG_DFU_ALT_BOOT_SD to CFG_DFU_ALT_BOOT_SD
   CONFIG_DFU_ALT_SYSTEM to CFG_DFU_ALT_SYSTEM
   CONFIG_DFU_ENV_SETTINGS to CFG_DFU_ENV_SETTINGS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_BOARDDIR to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:37 +0000 (10:03 -0500)]
global: Migrate CONFIG_BOARDDIR to CFG

Perform a simple rename of CONFIG_BOARDDIR to CFG_BOARDDIR

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Migrate CONFIG_ARM_GIC_BASE_ADDRESS to CFG
Tom Rini [Sun, 4 Dec 2022 15:03:36 +0000 (10:03 -0500)]
global: Migrate CONFIG_ARM_GIC_BASE_ADDRESS to CFG

Perform a simple rename of CONFIG_ARM_GIC_BASE_ADDRESS to CFG_ARM_GIC_BASE_ADDRESS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agorsa-verify: Rework host check for CONFIG_RSA_VERIFY_WITH_PKEY
Tom Rini [Tue, 6 Dec 2022 18:51:21 +0000 (13:51 -0500)]
rsa-verify: Rework host check for CONFIG_RSA_VERIFY_WITH_PKEY

While we do not want to use CONFIG_RSA_VERIFY_WITH_PKEY on the host, we
cannot undef the symbol in this manner. As this ends up being a test
within another function we can use !tools_build() as a test here.

Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
18 months agoglobal: Remove undef CONFIG_... for unused values
Tom Rini [Sun, 4 Dec 2022 15:03:34 +0000 (10:03 -0500)]
global: Remove undef CONFIG_... for unused values

We have a number of places that undef CONFIG_... while we never
reference CONFIG_... in the first place. Remove these lines.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agolog: Remove some places where we redefine LOGLEVEL
Tom Rini [Sun, 4 Dec 2022 15:03:33 +0000 (10:03 -0500)]
log: Remove some places where we redefine LOGLEVEL

We cannot redefine a CONFIG value per file in this manner.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agovalgrind: Rework test for unsupported platforms
Tom Rini [Sun, 4 Dec 2022 15:03:32 +0000 (10:03 -0500)]
valgrind: Rework test for unsupported platforms

Change things so that on an unsupported platform we will #error rather
than undef the feature.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoatmel_nand: Remove undef during SPL_BUILD
Tom Rini [Sun, 4 Dec 2022 15:03:31 +0000 (10:03 -0500)]
atmel_nand: Remove undef during SPL_BUILD

We cannot disable features in SPL in this manner, remove the undef here.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agomtd: ubi: Finish moving configuration to Kconfig
Tom Rini [Sun, 4 Dec 2022 15:03:30 +0000 (10:03 -0500)]
mtd: ubi: Finish moving configuration to Kconfig

We have some unused and undefined symbols to remove references to, so do
that. Move the final things that we do set (or need to keep unset) to
Kconfig instead.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_SYS_FPGA_CHECK_BUSY to Kconfig
Tom Rini [Sun, 4 Dec 2022 15:03:29 +0000 (10:03 -0500)]
Convert CONFIG_SYS_FPGA_CHECK_BUSY to Kconfig

This converts the following to Kconfig:
    CONFIG_SYS_FPGA_CHECK_BUSY

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_NEVER_ASSERT_ODT_TO_CPU to Kconfig
Tom Rini [Sun, 4 Dec 2022 15:03:28 +0000 (10:03 -0500)]
Convert CONFIG_NEVER_ASSERT_ODT_TO_CPU to Kconfig

This converts the following to Kconfig:
    CONFIG_NEVER_ASSERT_ODT_TO_CPU

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agork32xx: Use standard TPL linker script
Tom Rini [Sun, 4 Dec 2022 15:03:27 +0000 (10:03 -0500)]
rk32xx: Use standard TPL linker script

As of 2f41ade79e59 ("linker: Modify linker scripts to be more generic")
we can use the same linker script for SPL and TPL and not have to make
use of #undef tricks. Remove these last remnants.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
18 months agoexynos: Rework legacy PWM usage
Tom Rini [Sun, 4 Dec 2022 15:03:26 +0000 (10:03 -0500)]
exynos: Rework legacy PWM usage

The way that the timer support is currently done for exynos/nexell
platforms relies on the legacy PWM infrastructure, and that needs to be
updated. However, we really cannot safely undef CONFIG_DM_PWM to build
the timer.c file without warnings. For now, rename the relevant legacy
functions to be prefixed with s5p_ and add prototypes to the arch pwm.h
files.

Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Dzmitry Sankouski <dsankouski@gmail.com>
Cc: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
18 months agoMerge branch '2022-12-21-CONFIG-migration-work' into next
Tom Rini [Thu, 22 Dec 2022 15:33:04 +0000 (10:33 -0500)]
Merge branch '2022-12-21-CONFIG-migration-work' into next

- Bring in the second to last big batch of CONFIG migrations and
  renames. Of note here we fix a few inconsistencies around the baudrate
  tables on some SoCs and now are consistent in hostname/etc handling in
  the environment.

18 months agoT104xRDB: Remove non-TARGET_T1042D4RDB variants
Tom Rini [Fri, 2 Dec 2022 21:42:51 +0000 (16:42 -0500)]
T104xRDB: Remove non-TARGET_T1042D4RDB variants

At this point only the TARGET_T1042D4RDB variant of this is supported in
tree, so remove the remaining parts of the other platforms.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agonxp: Rename CONFIG_U_BOOT_HDR_SIZE to FSL_U_BOOT_HDR_SIZE
Tom Rini [Fri, 2 Dec 2022 21:42:50 +0000 (16:42 -0500)]
nxp: Rename CONFIG_U_BOOT_HDR_SIZE to FSL_U_BOOT_HDR_SIZE

This is always defined to 16K, so we move this over to
include/fsl_validate.h to start with. Next, we rename this from CONFIG_
to FSL_. Coalesce the various comments around this definition to be in
fsl_validate.h as well to explain the usage.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agousb: Remove CONFIG_USBD_HS
Tom Rini [Fri, 2 Dec 2022 21:42:49 +0000 (16:42 -0500)]
usb: Remove CONFIG_USBD_HS

This define is not enabled by the only platform which currently enables
the legacy option of CONFIG_USB_DEVICE. We can drop this code.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agonet: vsc9953: Remove this driver
Tom Rini [Fri, 2 Dec 2022 21:42:48 +0000 (16:42 -0500)]
net: vsc9953: Remove this driver

No platforms enable this driver as there's no T1040D4RDB nor T1040RDB
support at this time.  Remove.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agonet: Remove more legacy functions
Tom Rini [Fri, 2 Dec 2022 21:42:47 +0000 (16:42 -0500)]
net: Remove more legacy functions

Remove some of the board and arch specific non-DM_ETH helper code.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_THOR_RESET_OFF to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:46 +0000 (16:42 -0500)]
Convert CONFIG_THOR_RESET_OFF to Kconfig

This converts the following to Kconfig:
   CONFIG_THOR_RESET_OFF

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_TEGRA_ENABLE_UARTA et al to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:45 +0000 (16:42 -0500)]
Convert CONFIG_TEGRA_ENABLE_UARTA et al to Kconfig

This converts the following to Kconfig:
   CONFIG_TEGRA_ENABLE_UARTA
   CONFIG_TEGRA_ENABLE_UARTB
   CONFIG_TEGRA_ENABLE_UARTC
   CONFIG_TEGRA_ENABLE_UARTD
   CONFIG_TEGRA_SPI
   CONFIG_TEGRA_UARTA_GPU
   CONFIG_TEGRA_UARTA_SDIO1
   CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3
   CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_STANDALONE_LOAD_ADDR to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:44 +0000 (16:42 -0500)]
Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig

This converts the following to Kconfig:
   CONFIG_STANDALONE_LOAD_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agosandbox: Finish migration to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:43 +0000 (16:42 -0500)]
sandbox: Finish migration to Kconfig

Stop using CONFIG_SANDBOX_ARCH and use CONFIG_SANDBOX instead. For the
SPI related defines, set them directly in Kconfig. This now empties
arch/sandbox/include/asm/config.h.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
18 months agopowerpc: Migrate CONFIG_PPC_SPINTABLE_COMPATIBLE to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:42 +0000 (16:42 -0500)]
powerpc: Migrate CONFIG_PPC_SPINTABLE_COMPATIBLE to Kconfig

Move this symbol to Kconfig, and preserve the current behavior. The
help text here comes from where the relevant code is implemented and it
is quite likely at this point in time we could either disable this
option or at least make it configurable.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoarm: ti814x: Remove remaining support code
Tom Rini [Fri, 2 Dec 2022 21:42:41 +0000 (16:42 -0500)]
arm: ti814x: Remove remaining support code

When the ti814x_evm config was removed most, but not all, of the
relevant support code was remove.  Get rid of what was missed.

Fixes: 50b532686849 ("ti814x: Remove platform")
Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_PEN_ADDR_BIG_ENDIAN to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:40 +0000 (16:42 -0500)]
Convert CONFIG_PEN_ADDR_BIG_ENDIAN to Kconfig

This converts the following to Kconfig:
   CONFIG_PEN_ADDR_BIG_ENDIAN

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_OVERWRITE_ETHADDR_ONCE to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:39 +0000 (16:42 -0500)]
Convert CONFIG_OVERWRITE_ETHADDR_ONCE to Kconfig

This converts the following to Kconfig:
   CONFIG_OVERWRITE_ETHADDR_ONCE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoetamin: Rework CONFIG_NAND_CS_INIT
Tom Rini [Fri, 2 Dec 2022 21:42:38 +0000 (16:42 -0500)]
etamin: Rework CONFIG_NAND_CS_INIT

Enable this in the board Kconfig file, but then check for it via
CONFIG_IS_ENABLED so that it will only be true in the non-SPL case, as
is done today.  As part of this we move some defines local to where
they are used as it's board specific.

Cc: Samuel Egli <samuel.egli@siemens.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_MXC_NAND_HWECC to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:37 +0000 (16:42 -0500)]
Convert CONFIG_MXC_NAND_HWECC to Kconfig

This converts the following to Kconfig:
   CONFIG_MXC_NAND_HWECC

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_MONITOR_IS_IN_RAM to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:36 +0000 (16:42 -0500)]
Convert CONFIG_MONITOR_IS_IN_RAM to Kconfig

This converts the following to Kconfig:
   CONFIG_MONITOR_IS_IN_RAM

As part of this, reword some of the documentation slightly to reflect
that this is in Kconfig and not a define now.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoddr: fsl: Remove CONFIG_MEM_INIT_VALUE
Tom Rini [Fri, 2 Dec 2022 21:42:35 +0000 (16:42 -0500)]
ddr: fsl: Remove CONFIG_MEM_INIT_VALUE

The way all of the memory init code here works is that we pass
0xDEADBEEF around for the initial value (as it's a well known 'poison'
value and so easily recognized in debuggers, etc). The only point of
this CONFIG symbol was to pass in a different value for that purpose.
Drop this symbol and cleanup the code slightly.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agomalta: Rename CONFIG_MALTA to CONFIG_TARGET_MALTA
Tom Rini [Fri, 2 Dec 2022 21:42:34 +0000 (16:42 -0500)]
malta: Rename CONFIG_MALTA to CONFIG_TARGET_MALTA

Fixup this last remnant of CONFIG_MALTA.

Cc: Paul Burton <paul.burton@mips.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_L2_CACHE to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:33 +0000 (16:42 -0500)]
Convert CONFIG_L2_CACHE to Kconfig

This converts the following to Kconfig:
   CONFIG_L2_CACHE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_KSNET_NETCP_V1_0 et al to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:32 +0000 (16:42 -0500)]
Convert CONFIG_KSNET_NETCP_V1_0 et al to Kconfig

This converts the following to Kconfig:
   CONFIG_KSNET_NETCP_V1_0
   CONFIG_KSNET_NETCP_V1_5

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoglobal: Remove unused CONFIG symbols
Tom Rini [Fri, 2 Dec 2022 21:42:31 +0000 (16:42 -0500)]
global: Remove unused CONFIG symbols

This removes the following unreferenced CONFIG symbols:
   CONFIG_FDTADDR
   CONFIG_FDTFILE
   CONFIG_FLASH_SECTOR_SIZE
   CONFIG_FSL_CPLD
   CONFIG_HDMI_ENCODER_I2C_ADDR
   CONFIG_I2C_MVTWSI
   CONFIG_I2C_RTC_ADDR
   CONFIG_IRAM_END
   CONFIG_IRAM_SIZE
   CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
   CONFIG_L1_INIT_RAM
   CONFIG_MACB_SEARCH_PHY
   CONFIG_MIU_2BIT_21_7_INTERLEAVED
   CONFIG_MTD_NAND_VERIFY_WRITE
   CONFIG_MVGBE_PORTS
   CONFIG_NETDEV
   CONFIG_NUM_DSP_CPUS
   CONFIG_PHY_BASE_ADR
   CONFIG_PHY_INTERFACE_MODE
   CONFIG_PSRAM_SCFG
   CONFIG_RAMBOOT_SPIFLASH
   CONFIG_RAMBOOT_TEXT_BASE
   CONFIG_RD_LVL
   CONFIG_ROCKCHIP_SDHCI_MAX_FREQ
   CONFIG_SETUP_INITRD_TAG
   CONFIG_SH_QSPI_BASE
   CONFIG_SMDK5420
   CONFIG_SOCRATES
   CONFIG_SPI_ADDR
   CONFIG_SPI_FLASH_QUAD
   CONFIG_SPI_FLASH_SIZE
   CONFIG_SPI_HALF_DUPLEX
   CONFIG_SPI_N25Q256A_RESET
   CONFIG_TEGRA_SLINK_CTRLS
   CONFIG_TPM_TIS_BASE_ADDRESS
   CONFIG_UBOOT_SECTOR_COUNT
   CONFIG_UBOOT_SECTOR_START
   CONFIG_VAR_SIZE_SPL
   CONFIG_VERY_BIG_RAM

And also:
   BL1_SIZE
   PHY_NO
   RESERVE_BLOCK_SIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoi2c: Remove CONFIG_I2C_MULTI_BUS
Tom Rini [Fri, 2 Dec 2022 21:42:30 +0000 (16:42 -0500)]
i2c: Remove CONFIG_I2C_MULTI_BUS

This functionality is part of the legacy I2C subsystem and is currently
unused anywhere.  Remove the remaining references.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoenv: eeprom: Remove CONFIG_I2C_ENV_EEPROM_BUS support
Tom Rini [Fri, 2 Dec 2022 21:42:29 +0000 (16:42 -0500)]
env: eeprom: Remove CONFIG_I2C_ENV_EEPROM_BUS support

This functionality is currently unused, and has not been migrated to
using DM_I2C, even. Drop this.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoarm: samsung: Rename CONFIG_G_DNL_*_NUM variables
Tom Rini [Fri, 2 Dec 2022 21:42:28 +0000 (16:42 -0500)]
arm: samsung: Rename CONFIG_G_DNL_*_NUM variables

Following how g_dnl_bind_fixup is used on other platforms, rename the
unchanging defines used here to be prefixed with EXYNOS rather than
Samsung, and define them here.

Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_HOSTNAME et al to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:27 +0000 (16:42 -0500)]
Convert CONFIG_HOSTNAME et al to Kconfig

This converts the following to Kconfig:
   CONFIG_GATEWAYIP
   CONFIG_HOSTNAME
   CONFIG_IPADDR
   CONFIG_NETMASK
   CONFIG_ROOTPATH
   CONFIG_SERVERIP
   CONFIG_UBOOTPATH

To do this, we introduce a CONFIG_USE_ form of each of the above and
change include/env_default.h to test for that to be set before setting a
value. Further, we don't want to stringify the IP address related values
as they are now properly strings via Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_POWER_PCA9450 to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:26 +0000 (16:42 -0500)]
Convert CONFIG_POWER_PCA9450 to Kconfig

This converts the following to Kconfig:
   CONFIG_POWER_PCA9450

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agomeson64: Fix missing CFG_SYS_BAUDRATE_TABLE migration
Tom Rini [Fri, 2 Dec 2022 21:42:25 +0000 (16:42 -0500)]
meson64: Fix missing CFG_SYS_BAUDRATE_TABLE migration

CONFIG_SYS_BAUDRATE_TABLE has already been migrated to CFG_SYS but this
instance was missed, correct.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoCONFIG_SYS_MPC8xxx_GUTS_ADDR: Migrate to CFG_SYS
Tom Rini [Fri, 2 Dec 2022 21:42:24 +0000 (16:42 -0500)]
CONFIG_SYS_MPC8xxx_GUTS_ADDR: Migrate to CFG_SYS

Due to whitespace, CONFIG_SYS_MPC8xxx_GUTS_ADDR wasn't migrated to
CFG_SYS previously. Do this now.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoenv: nvram: Drop CONFIG_SYS_NVRAM_ACCESS_ROUTINE
Tom Rini [Fri, 2 Dec 2022 21:42:23 +0000 (16:42 -0500)]
env: nvram: Drop CONFIG_SYS_NVRAM_ACCESS_ROUTINE

This option is unused anywhere and likely untested for quite a long
while. Drop this support code.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_FSL_ESDHC_PIN_MUX to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:22 +0000 (16:42 -0500)]
Convert CONFIG_FSL_ESDHC_PIN_MUX to Kconfig

This converts the following to Kconfig:
   CONFIG_FSL_ESDHC_PIN_MUX

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_FLASH_SPANSION_S29WS_N et al to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:21 +0000 (16:42 -0500)]
Convert CONFIG_FLASH_SPANSION_S29WS_N et al to Kconfig

This converts the following to Kconfig:

   CONFIG_FLASH_SPANSION_S29WS_N
   CONFIG_FLASH_VERIFY
   CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
   CONFIG_FSL_ISBC_KEY_EXT
   CONFIG_FSL_TRUST_ARCH_v1
   CONFIG_FSL_SDHC_V2_3
   CONFIG_MAX_DSP_CPUS
   CONFIG_MIU_2BIT_INTERLEAVED
   CONFIG_SERIAL_BOOT
   CONFIG_SPI_BOOTING
   CONFIG_X86EMU_RAW_IO

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_FLASH_SHOW_PROGRESS to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:20 +0000 (16:42 -0500)]
Convert CONFIG_FLASH_SHOW_PROGRESS to Kconfig

This converts the following to Kconfig:
   CONFIG_FLASH_SHOW_PROGRESS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agofec_mxc: Remove CONFIG_FEC_FIXED_SPEED support
Tom Rini [Fri, 2 Dec 2022 21:42:19 +0000 (16:42 -0500)]
fec_mxc: Remove CONFIG_FEC_FIXED_SPEED support

This option is only used on one platform currently. However, with PHYLIB
enabled, which this platform also does, this option is not checked and
the functional use case is handled. Remove this code.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_DM9000_BYTE_SWAPPED et al to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:18 +0000 (16:42 -0500)]
Convert CONFIG_DM9000_BYTE_SWAPPED et al to Kconfig

This converts the following to Kconfig:
   CONFIG_DM9000_BYTE_SWAPPED
   CONFIG_DM9000_NO_SROM
   CONFIG_DM9000_USE_16BIT
   CONFIG_DM9000_DEBUG
   CONFIG_MXC_GPT_HCLK
   CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoenv: Rework ENV_IS_EMBEDDED and related logic slightly
Tom Rini [Fri, 2 Dec 2022 21:42:17 +0000 (16:42 -0500)]
env: Rework ENV_IS_EMBEDDED and related logic slightly

- Drop CONFIG_BUILD_ENVCRC as this is never set directly but instead
  means ENV_IS_EMBEDDED, so reference that in code and rename the Makefile
  usage to BUILD_ENVCRC.
- Remove extra-$(CONFIG_ENV_IS_EMBEDDED) line as it could never be true,
  and likely why there is an extra- line for CONFIG_ENV_IS_IN_FLASH (the
  only use case today of embedded environments).
- With these slight changes we can then see that using the calculated
  symbol of ENV_IS_EMBEDDED is the right thing to use in any code which
  needs to know this situation and can remove CONFIG_ENV_IS_EMBEDDED
  entirely.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoConvert CONFIG_HSMMC2_8BIT to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:16 +0000 (16:42 -0500)]
Convert CONFIG_HSMMC2_8BIT to Kconfig

This converts the following to Kconfig:
   CONFIG_HSMMC2_8BIT

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoarm: trats2: Set mmcdev directly
Tom Rini [Fri, 2 Dec 2022 21:42:15 +0000 (16:42 -0500)]
arm: trats2: Set mmcdev directly

Only this platform sets mmcdev via CONFIG_MMC_DEFAULT_DEV so we
hard-code that default directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agox530: Remove unused symbols
Tom Rini [Fri, 2 Dec 2022 21:42:14 +0000 (16:42 -0500)]
x530: Remove unused symbols

The symbols CONFIG_UBI_PART and CONFIG_UBIFS_VOLUME are not referenced
anywhere, drop them.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agop1_p2_rdb: Remove unused environment sections
Tom Rini [Fri, 2 Dec 2022 21:42:13 +0000 (16:42 -0500)]
p1_p2_rdb: Remove unused environment sections

The CONFIG_USB_FAT_BOOT, CONFIG_USB_EXT2_BOOT and CONFIG_NORBOOT defines
are not referenced anywhere, so remove them.

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoarm: exynos5: Migrate USB_BOOTING to Kconfig
Tom Rini [Fri, 2 Dec 2022 21:42:12 +0000 (16:42 -0500)]
arm: exynos5: Migrate USB_BOOTING to Kconfig

This symbol is enabled for all exynos5 platforms, move to Kconfig and
select it.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agousb: Update USB_STORAGE dependencies
Tom Rini [Fri, 2 Dec 2022 21:42:11 +0000 (16:42 -0500)]
usb: Update USB_STORAGE dependencies

As it's no longer possible to have !DM_USB set, we can remove these
dependencies.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
18 months agoMerge tag 'v2023.01-rc4' into next
Tom Rini [Mon, 19 Dec 2022 14:29:55 +0000 (09:29 -0500)]
Merge tag 'v2023.01-rc4' into next

Prepare v2023.01-rc4

Signed-off-by: Tom Rini <trini@konsulko.com>
18 months agoPrepare v2023.01-rc4
Tom Rini [Mon, 19 Dec 2022 13:45:26 +0000 (08:45 -0500)]
Prepare v2023.01-rc4

Signed-off-by: Tom Rini <trini@konsulko.com>