[RFC PATCH v2] Cubieboard2:Enable early LED support

2021-12-11 Thread Javad Rahimi
This patch removes the "status_led_init_done" global variable. By removing that variable, it is possible to use LEDs early in SPL, in architectures where .BSS is placed in DRAM area. (For example A20 series) Signed-off-by: Javad Rahimi --- Changes in v2: - "initialized" variable removed from "le

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-12-11 Thread Tony Dinh
Hi Pali, On Sat, Dec 11, 2021 at 7:39 AM Pali Rohár wrote: > > On Tuesday 16 November 2021 15:02:48 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Nov 16, 2021 at 2:37 PM Pali Rohár wrote: > > > > > > On Tuesday 16 November 2021 14:26:56 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > > While we

[PATCH 3/9] Convert CONFIG_ENV_SPI_BUS et al to Kconfig

2021-12-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ENV_SPI_BUS CONFIG_ENV_SPI_CS CONFIG_ENV_SPI_MAX_HZ CONFIG_ENV_SPI_MODE As part of this, we use Kconfig to provide the defaults now that were done in include/spi_flash.h. We also in some cases change from using CONFIG_ENV_SPI_FOO to CONFI

[PATCH 7/9] Remove CONFIG_SYS_MMC_IMG_LOAD_PART from CONFIG namespace

2021-12-11 Thread Tom Rini
This option is used as part of configuring the default environment for a number of platforms. However, it is always set to 1 and the only time it is part of Kconfig, it is used in a hard-coded manner. Hard-code the value in the environment instead. Signed-off-by: Tom Rini --- board/compulab/cl

[PATCH 9/9] Convert CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT to Kconfig

2021-12-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT In order to do this conversion, expose this option to the user and use "save" not "safe" in the text. Signed-off-by: Tom Rini --- configs/corvus_defconfig | 1 + configs/pm9g45_defconfig | 1 + drivers/mtd/nand

[PATCH 8/9] Convert CONFIG_SUPPORT_EMMC_RPMB to Kconfig

2021-12-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SUPPORT_EMMC_RPMB This fixes a few platforms where the option was not taking effect as intended. Signed-off-by: Tom Rini --- configs/evb-px30_defconfig | 1 + configs/evb-rk3308_defconfig | 1 + configs/evb-rk3568_defconfig |

[PATCH 5/9] Convert CONFIG_SD_BOOT et al to Kconfig

2021-12-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SD_BOOT CONFIG_SD_BOOT_QSPI Signed-off-by: Tom Rini --- boot/Kconfig | 7 +++ configs/ls1021aiot_sdcard_defconfig | 4 +++- configs/ls1021aqds_sdcard_ifc_defconfig | 1 -

[PATCH 4/9] Convert CONFIG_FSL_IFC to Kconfig

2021-12-11 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FSL_IFC This is done via select statements to match previous logic. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/ls102xa/Kconfig| 1 + arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 arch/powerpc/cpu/mpc85xx/Kconfig | 3 --

[PATCH 1/9] arm: Drop unused tam3517-common.h

2021-12-11 Thread Tom Rini
With the relevant platforms removed, drop this file. Signed-off-by: Tom Rini --- include/configs/tam3517-common.h | 281 --- 1 file changed, 281 deletions(-) delete mode 100644 include/configs/tam3517-common.h diff --git a/include/configs/tam3517-common.h b/include/

[PATCH 2/9] Clarify CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW in Kconfig

2021-12-11 Thread Tom Rini
This is a "hex" prompt but the default value was given as an int. Switch the default to hex (0x0) and remove the defconfigs that were using the default, but as hex before. Signed-off-by: Tom Rini --- configs/imx6q_logic_defconfig| 1 - configs/phycore-imx8mm_defconfig | 1 - configs/

Re: Pull request efi-2022-01-rc4-2

2021-12-11 Thread Tom Rini
On Fri, Dec 10, 2021 at 10:32:49AM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 1530ad5becf330c6094e995e340d920df2b43699: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-sunxi (2021-12-09 > 08:43:30 -0500) > > are availabl

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-12-11 Thread Pali Rohár
On Tuesday 16 November 2021 15:02:48 Tony Dinh wrote: > Hi Pali, > > On Tue, Nov 16, 2021 at 2:37 PM Pali Rohár wrote: > > > > On Tuesday 16 November 2021 14:26:56 Tony Dinh wrote: > > > Hi Pali, > > > > > > While we are at it, this default should be changed in > > > drivers/usb/host/Kconfig. >

Re: [RFC PATCH v3 8/8] tools: gen_pre_load_header.sh: initial import

2021-12-11 Thread Simon Glass
Hi Rasmus, On Fri, 10 Dec 2021 at 00:41, Rasmus Villemoes wrote: > > On 10/12/2021 01.14, Simon Glass wrote: > > Hi, > > > > On Wed, 8 Dec 2021 at 11:10, Philippe REYNES > > wrote: > >> > > >> > >> Everybody agrees with this proposal ? > > > > So long as this is not a shell script and is done wi