Re: Docs for RISC-V

2023-02-05 Thread Leo Liang
Hi Simon, On Thu, Feb 02, 2023 at 10:25:36AM -0700, Simon Glass wrote: > Hi, > > On Thu, 2 Feb 2023 at 10:18, Simon Glass wrote: > > > > Hi Rick & Leo, > > > > I see docs for one board at [1] but I'm not sure what to do with unleashed. > > > > It seems to need a 'genimage' tool, going on what I

Re: [PATCH v2 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-02-05 Thread Jan Kiszka
On 18.01.23 09:11, Yanhong Wang wrote: > This series of patches base on the latest branch/master, and add support > for the StarFive JH7110 RISC-V SoC and VisionFive V2 board. In order for > this to be achieved, the respective DT nodes have been added, and the > required defconfigs have been

Re: [PATCH v8] board: mntre: imx8mq: Add MNT Reform 2 board support

2023-02-05 Thread Vagrant Cascadian
On 2023-02-06, Patrick Wildt wrote: > The MNT Reform 2 is a modular DIY laptop. In its initial version it > is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been > lifted from BoundaryDevices official U-Boot downstream project. > > Signed-off-by: Patrick Wildt Tested booting Debian

RE: [PATCH v2 2/3] mmc: erase: Use TRIM erase when available

2023-02-05 Thread Jaehoon Chung
Hi, > -Original Message- > From: Loic Poulain > Sent: Thursday, January 26, 2023 6:24 PM > To: s...@chromium.org; peng@nxp.com; jh80.ch...@samsung.com > Cc: u-boot@lists.denx.de; Loic Poulain > Subject: [PATCH v2 2/3] mmc: erase: Use TRIM erase when available > > The default erase

RE: [PATCH v2 1/3] mmc: Check support for TRIM operations

2023-02-05 Thread Jaehoon Chung
> -Original Message- > From: Loic Poulain > Sent: Thursday, January 26, 2023 6:24 PM > To: s...@chromium.org; peng@nxp.com; jh80.ch...@samsung.com > Cc: u-boot@lists.denx.de; Loic Poulain > Subject: [PATCH v2 1/3] mmc: Check support for TRIM operations > > When secure/insecure

Re: [PATCH] x86: Revert "x86: minnowmax: Adjust CONFIG_TEXT_BASE"

2023-02-05 Thread Bin Meng
Hi Simon, On Mon, Feb 6, 2023 at 8:54 AM Simon Glass wrote: > > This causes Minnowmax to stop booting. I am not sure why though. > > Drop the EFI_LOADER feature instead, since it is not needed. > > This reverts commit 66e2c665f3b60d726e1c26ad44ac97aa76ead6f5. > > Signed-off-by: Simon Glass >

[PATCH v2] riscv: global_data.h: Correct the comment for PLICSW

2023-02-05 Thread Yu Chien Peter Lin
PLIC is used for external interrupt, while PLICSW is an Andes-specific design for software interrupt. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Leo Yu-Chi Liang Reviewed-by: Rick Chen --- Change v1 -> v2 - Separate from patchset of cache operation --- arch/riscv/include/asm/global_data.h

[PATCH v2 000/169] Kconfig: More cleanup of CONFIG options

2023-02-05 Thread Simon Glass
Quite a few CONFIG options without an SPL equivalent are used as if they have one. For example, we see CONFIG_IS_ENABLED(IOMMU) when there is no SPL_IOMMU Kconfig option. This series adds new features to moveconfig to detect and remove these problems. It includes additions to the Kconfig for

[PATCH v2 165/169] Correct SPL use of VIDEO_BPP16

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP16 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/video-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/video-uclass.c

[PATCH v2 161/169] Correct SPL uses of USB_KEYBOARD

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_KEYBOARD defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/coreboot/coreboot.c | 2 +- arch/x86/cpu/efi/payload.c | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH v2 154/169] Correct SPL uses of TEN64_CONTROLLER

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_TEN64_CONTROLLER defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/traverse/ten64/ten64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 149/169] Correct SPL uses of TARGET_LX2160ARDB

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_TARGET_LX2160ARDB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/lx2160a/lx2160a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 143/169] Correct SPL use of SPLASH_SOURCE

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SPLASH_SOURCE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) common/splash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/splash.c b/common/splash.c index

[PATCH v2 141/169] Correct SPL use of SPI_FLASH_BAR

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SPI_FLASH_BAR defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/mtd/spi/spi-nor-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 142/169] Correct SPL uses of SPI_FLASH_MACRONIX

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_SPI_FLASH_MACRONIX defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/mtd/spi/spi-nor-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 137/169] Correct SPL uses of SEC_FIRMWARE_ARMV8_PSCI

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_SEC_FIRMWARE_ARMV8_PSCI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv8/cpu-dt.c | 2 +- arch/arm/lib/bootm-fdt.c| 2 +- 2 files changed, 2 insertions(+), 2

[PATCH v2 136/169] Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_SAVE_PREV_BL_INITRAMFS_START_ADDR defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/lib/save_prev_bl_data.c | 2 +- common/board_r.c | 2 +- 2 files changed, 2

[PATCH v2 132/169] Correct SPL uses of ROCKCHIP_OTP

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ROCKCHIP_OTP defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 126/169] Correct SPL uses of PMIC_STPMIC1

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_PMIC_STPMIC1 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 123/169] Correct SPL use of PHY_CADENCE_SIERRA

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PHY_CADENCE_SIERRA defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/phy/cadence/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 124/169] Correct SPL use of PHY_CADENCE_TORRENT

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PHY_CADENCE_TORRENT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/phy/cadence/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 117/169] Correct SPL use of PANEL

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PANEL defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/imx/mxc_ipuv3_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/imx/mxc_ipuv3_fb.c

[PATCH v2 115/169] Correct SPL uses of OF_BOARD

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_OF_BOARD defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Matthias Brugger --- (no changes since v1) drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 +- drivers/serial/serial_bcm283x_mu.c | 2 +-

[PATCH v2 089/169] Correct SPL uses of FEC_MXC

2023-02-05 Thread Simon Glass
This converts 4 usages of this option to the non-SPL form, since there is no SPL_FEC_MXC defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/engicam/imx8mp/icore_mx8mp.c | 2 +- board/freescale/imx8mp_evk/imx8mp_evk.c | 2 +-

[PATCH v2 086/169] Correct SPL uses of FASTBOOT_FLASH_NAND

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_FASTBOOT_FLASH_NAND defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes since v1) drivers/fastboot/fb_command.c | 4 ++-- drivers/fastboot/fb_getvar.c | 2 +- 2 files

[PATCH v2 085/169] Correct SPL uses of FASTBOOT_FLASH_MMC

2023-02-05 Thread Simon Glass
This converts 5 usages of this option to the non-SPL form, since there is no SPL_FASTBOOT_FLASH_MMC defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes since v1) drivers/fastboot/fb_command.c | 4 ++-- drivers/fastboot/fb_common.c | 2 +-

[PATCH v2 083/169] Correct SPL uses of FASTBOOT

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_FASTBOOT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/board.c | 2 +- board/ti/am57xx/board.c| 2 +- board/ti/dra7xx/evm.c | 2 +- 3 files

[PATCH v2 075/169] Correct SPL use of EFI_MM_COMM_TEE

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_EFI_MM_COMM_TEE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) cmd/eficonfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index

[PATCH v2 065/169] Correct SPL uses of DISPLAY_AER_BRIEF

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_DISPLAY_AER_BRIEF defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/sysreset/sysreset_mpc83xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 036/169] Correct SPL uses of CMD_BOOTEFI_BOOTMGR

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_CMD_BOOTEFI_BOOTMGR defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) boot/Makefile | 2 +- cmd/bootmenu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 026/169] Correct SPL use of ARCH_VERSAL

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_ARCH_VERSAL defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/spi/cadence_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cadence_qspi.c

[PATCH] x86: Revert "x86: minnowmax: Adjust CONFIG_TEXT_BASE"

2023-02-05 Thread Simon Glass
This causes Minnowmax to stop booting. I am not sure why though. Drop the EFI_LOADER feature instead, since it is not needed. This reverts commit 66e2c665f3b60d726e1c26ad44ac97aa76ead6f5. Signed-off-by: Simon Glass --- configs/minnowmax_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1

RE: [PATCH v2 145/169] Correct SPL use of SUPPORT_EMMC_RPMB

2023-02-05 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Simon Glass > Sent: Monday, February 6, 2023 7:41 AM > To: U-Boot Mailing List > Cc: Tom Rini ; Simon Glass > Subject: [PATCH v2 145/169] Correct SPL use of SUPPORT_EMMC_RPMB > > This converts 1 usage of this option to the non-SPL

RE: [PATCH v2 107/169] Correct SPL use of MMC_QUIRKS

2023-02-05 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Simon Glass > Sent: Monday, February 6, 2023 7:40 AM > To: U-Boot Mailing List > Cc: Tom Rini ; Simon Glass > Subject: [PATCH v2 107/169] Correct SPL use of MMC_QUIRKS > > This converts 1 usage of this option to the non-SPL form,

RE: [PATCH v3 16/76] Drop dataflash_mmc_mux command

2023-02-05 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Simon Glass > Sent: Thursday, February 2, 2023 5:19 AM > To: u-boot@lists.denx.de > Cc: Tom Rini ; Simon Glass > Subject: [PATCH v3 16/76] Drop dataflash_mmc_mux command > > This is not used. Drop it. > > Signed-off-by: Simon Glass

[PATCH v3 15/19] android: boot: support boot image header version 3 and 4

2023-02-05 Thread Safae Ouajih
Enable the support for boot image header version 3 and 4 using abootimg command. In order to use version 3 or 4: 1- Vendor boot image address should be given to abootimg cmd. abootimg addr $1 $vendor_boot_load_addr 2- "ramdisk_addr_r" env variable (ramdisk address) should be set to

[PATCH v3 17/19] doc: android: add documentation for v3, v4 boot image header

2023-02-05 Thread Safae Ouajih
Update the Android documentation to describe version 3 and 4 of boot image header. Signed-off-by: Safae Ouajih --- doc/android/boot-image.rst | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/android/boot-image.rst b/doc/android/boot-image.rst index

[PATCH v3 16/19] android: boot: support bootconfig

2023-02-05 Thread Safae Ouajih
Support Bootconfig feature. - The bootconfig feature replaces the androidboot.* kernel cmdline options. This was adapted from downstream [1] commit : 7af0a0506d4d ("cuttlefish: support bootconfig parameters"). Link:[1] https://android.googlesource.com/platform/external/u-boot/ Signed-off-by:

[PATCH v3 18/19] test/py: android: extend abootimg test

2023-02-05 Thread Safae Ouajih
test_abootimg is extended to include the testing of boot images version 4. For this, boot.img and vendor_boot.img have been generated using mkbootimg tool with setting the header version to 4. This tests: - Getting the header version using abootimg - Extracting the load address of the dtb -

[PATCH v3 19/19] Dockerfile: add mkbootimg tool

2023-02-05 Thread Safae Ouajih
mkbootimg tool is part of the Android project and it is used to pack Android boot images such as boot image and vendor_boot image. Use the following command to run mkbootimg: $ python3 -m mkbootimg Add mkbootimg to the docker file Signed-off-by: Safae Ouajih --- tools/docker/Dockerfile | 4

[PATCH v3 12/19] android: boot: support extra command line

2023-02-05 Thread Safae Ouajih
In version 3 and 4 of boot image header, the vendor specific command line are located in vendor boot image. Thus, use extra command line to add those cmd to bootargs. Signed-off-by: Safae Ouajih Reviewed-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- boot/image-android.c | 11

[PATCH v3 13/19] android: boot: update android_image_get_dtb_img_addr to support v3, v4

2023-02-05 Thread Safae Ouajih
Add support for boot image version 3 and 4 in android_image_get_dtb_img_addr(). Since the dtb is now included in vendor_boot image instead of boot image, extract the dtb address from vendor_boot image when a v3 or v4 is used. Signed-off-by: Safae Ouajih Reviewed-by: Simon Glass Reviewed-by:

[PATCH v3 14/19] drivers: fastboot: zImage flashing is not supported for v3, v4

2023-02-05 Thread Safae Ouajih
With vendor boot image introduced in version 3 and 4 of boot image header, boot information is located in both boot image and vendor boot image. Flashing zImage is not supported for version 3 and 4 since this requires updating vendor boot image and/or generating a new image. Print an error

[PATCH v3 11/19] android: boot: ramdisk: support vendor ramdisk

2023-02-05 Thread Safae Ouajih
Version 3 and 4 of boot image header introduced vendor boot ramdisk: Please check include/android_image.h for details. The ramdisk is now split into a generic ramdisk in boot image and a vendor ramdisk in vendor boot image. Support the new vendor ramdisk. Signed-off-by: Safae Ouajih

[PATCH v3 09/19] android: boot: add vendor boot image to prepare for v3, v4 support

2023-02-05 Thread Safae Ouajih
Introduce vendor boot image for version 3 and 4 of boot image header. The vendor boot image will hold extra information about kernel, dtb and ramdisk. This is done to prepare for boot image version 3 and 4 support. Signed-off-by: Safae Ouajih --- boot/bootm.c | 8 +++

[PATCH v3 10/19] android: boot: update android_image_get_data to support v3, v4

2023-02-05 Thread Safae Ouajih
Since boot image header version 3 and 4 introduced vendor boot image, use the following functions to fill the generic android structure : andr_image_data: - android_boot_image_v3_v4_parse_hdr() - android_vendor_boot_image_v3_v4_parse_hdr() Update android_image_get_data() to support v3 and v4

[PATCH v3 08/19] android: boot: boot image header v3, v4 do not support recovery DTBO

2023-02-05 Thread Safae Ouajih
android_image_get_dtbo() is used to get recovery DTBO via abootimg cmd. This is not supported in boot image header v3 and v4. Thus, print an error message when v1,v2 header version are not used. Signed-off-by: Safae Ouajih Reviewed-by: Simon Glass Reviewed-by: Mattijs Korpershoek ---

[PATCH v3 07/19] android: boot: content print is not supported for v3, v4 header version

2023-02-05 Thread Safae Ouajih
Content print is not supported for version 3 and 4 of boot image header. Thus, only print that content when v2 is used. Update android_print_contents() to print an error message when trying to print boot image header version 3 or 4 content. Signed-off-by: Safae Ouajih Reviewed-by: Simon Glass

[PATCH v3 06/19] android: boot: move to andr_image_data structure

2023-02-05 Thread Safae Ouajih
Move from andr_boot_img_hdr_v0 to andr_image_data structure to prepare for boot image header version 3 and 4. Signed-off-by: Safae Ouajih --- boot/image-android.c | 121 +++ cmd/abootimg.c | 31 +-- 2 files changed, 81 insertions(+), 71

[PATCH v3 05/19] android: boot: kcomp: support andr_image_data

2023-02-05 Thread Safae Ouajih
andr_image_data structure is used as a global representation of boot image header structure. Introduce this new structure to support all boot header versions : v0,v1.v2.v3.v4 and to support v3 and v4 while maitaining support for v0,v1,v2. The need of using andr_image_data comes from the change of

[PATCH v3 04/19] android: boot: add boot image header v3 and v4 structures

2023-02-05 Thread Safae Ouajih
Add support for v3/v4 boot image format by adding the following structures: - andr_boot_img_hdr_v3 : describes boot image header - andr_vnd_boot_img_hdr : describes vendor boot image header These definitions have been copied over from the AOSP documentation at [1] and [2] Boot arg sizes are

[PATCH v3 02/19] android: boot: support vendor boot image in abootimg

2023-02-05 Thread Safae Ouajih
Vendor boot image is introduced in boot image header version 3 and 4. Please check [1] for more details. To prepare for boot image v3/v4 support, allow the abootimg command to store the vendor_boot image address. Full support for this new format will be done in a future patch. Link:[1]

[PATCH v3 03/19] android: boot: replace android_image_check_header

2023-02-05 Thread Safae Ouajih
With the new vendor boot image introduced in versions 3 and 4 of boot image header, the header check must be done for both boot image and vendor boot image. Thus, replace android_image_check_header() by is_android_boot_image_header() to only refer to boot image header check. Signed-off-by: Safae

[PATCH v3 01/19] android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0

2023-02-05 Thread Safae Ouajih
Android introduced boot header version 3 or 4. The header structure change with version 3 and 4 to support the new updates such as: - Introducing Vendor boot image: with a vendor ramdisk - Bootconfig feature (v4) Change andr_img_hdr struct name to maintain support for version v0, v1 and v2 while

[PATCH v3 00/19] Support android boot image v3/v4

2023-02-05 Thread Safae Ouajih
Hello everyone, * This is based on Roman Stratiienko's work to support boot image header version 3 and 4. * This supports the new boot image headers v3, v4 and bootconfig feature. https://source.android.com/docs/core/architecture/bootloader/boot-image-header

[PATCH v8] board: mntre: imx8mq: Add MNT Reform 2 board support

2023-02-05 Thread Patrick Wildt
The MNT Reform 2 is a modular DIY laptop. In its initial version it is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been lifted from BoundaryDevices official U-Boot downstream project. Signed-off-by: Patrick Wildt --- Changes since v7: - Re-added lost ramdisk_addr_r. Changes since

Re: [PATCH v6] board: mntre: imx8mq: Add MNT Reform 2 board support

2023-02-05 Thread Vagrant Cascadian
On 2023-01-19, Patrick Wildt wrote: > The MNT Reform 2 is a modular DIY laptop. In its initial version it > is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been > lifted from BoundaryDevices official U-Boot downstream project. > > Signed-off-by: Patrick Wildt > --- > Changes since

[PATCH v2 079/169] Correct SPL uses of ENV_IS_IN_UBI

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ENV_IS_IN_UBI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/engicam/stm32mp1/stm32mp1.c | 2 +- board/st/stm32mp1/stm32mp1.c | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH v2 087/169] Correct SPL use of FASTBOOT_MMC_USER_SUPPORT

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_FASTBOOT_MMC_USER_SUPPORT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/fastboot/fb_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 151/169] Correct SPL use of TARGET_PG_WCOM_EXPU1

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_TARGET_PG_WCOM_EXPU1 defined in Kconfig Signed-off-by: Simon Glass Aleksandar Gerasimovski --- (no changes since v1) board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 032/169] Correct SPL use of BNXT_ETH

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_BNXT_ETH defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/broadcom/bcmns3/ns3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/broadcom/bcmns3/ns3.c

[PATCH v2 102/169] Correct SPL uses of IMX_MODULE_FUSE

2023-02-05 Thread Simon Glass
This converts 6 usages of this option to the non-SPL form, since there is no SPL_IMX_MODULE_FUSE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/include/asm/mach-imx/module_fuse.h | 2 +- drivers/i2c/mxc_i2c.c | 4 ++--

[PATCH v2 029/169] Correct SPL uses of ARMADA_3700

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ARMADA_3700 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-mvebu/arm64-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 028/169] Correct SPL use of ARM64

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_ARM64 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-imx/imx_bootaux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx_bootaux.c

[PATCH v2 009/169] dm: Add a Kconfig for SPL_DM_HWSPINLOCK

2023-02-05 Thread Simon Glass
This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/hwspinlock/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index 96d4f5d6ca3..56406da3d87

[PATCH v2 069/169] Correct SPL uses of DTB_RESELECT

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_DTB_RESELECT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/xilinx/common/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/common/board.c

[PATCH v2 103/169] Correct SPL uses of IMX_RDC

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_IMX_RDC defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-imx/mx7/soc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mx7/soc.c

[PATCH v2 139/169] Correct SPL use of SL28CPLD

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SL28CPLD defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/kontron/sl28/sl28.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/kontron/sl28/sl28.c

[PATCH v2 124/169] Correct SPL use of PHY_CADENCE_TORRENT

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PHY_CADENCE_TORRENT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/phy/cadence/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 109/169] Correct SPL uses of MULTIPLEXER

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_MULTIPLEXER defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/Makefile | 2 +- drivers/mux/Makefile | 2 +- include/mux.h| 2 +- 3 files changed, 3 insertions(+), 3

[PATCH v2 082/169] Correct SPL use of EXYNOS7420

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_EXYNOS7420 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-exynos/mmu-arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 112/169] Correct SPL uses of NXP_FSPI

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_NXP_FSPI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/clk/imx/clk-imx8mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mm.c

[PATCH v2 140/169] Correct SPL use of SL28_SPL_LOADS_OPTEE_BL32

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SL28_SPL_LOADS_OPTEE_BL32 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/kontron/sl28/sl28.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 068/169] Correct SPL use of DM_RNG

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_DM_RNG defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) boot/vbe_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/vbe_request.c b/boot/vbe_request.c index

[PATCH v2 084/169] Correct SPL uses of FASTBOOT_FLASH

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_FASTBOOT_FLASH defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes since v1) drivers/fastboot/fb_getvar.c | 4 ++-- net/fastboot.c | 2 +- 2 files

[PATCH v2 148/169] Correct SPL use of SYS_MEM_RSVD_FOR_MMU

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SYS_MEM_RSVD_FOR_MMU defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/xilinx/versal-net/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 118/169] Correct SPL use of PARTITION_TYPE_GUID

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PARTITION_TYPE_GUID defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/part_efi.c b/disk/part_efi.c

[PATCH v2 091/169] Correct SPL uses of FSL_ISBC_KEY_EXT

2023-02-05 Thread Simon Glass
This converts 9 usages of this option to the non-SPL form, since there is no SPL_FSL_ISBC_KEY_EXT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/common/fsl_validate.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH v2 159/169] Correct SPL use of USB_FUNCTION_FASTBOOT

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_USB_FUNCTION_FASTBOOT defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes since v1) cmd/fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 070/169] Correct SPL uses of DWC_ETH_QOS

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_DWC_ETH_QOS defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/engicam/imx8mp/icore_mx8mp.c | 2 +- board/freescale/imx8mp_evk/imx8mp_evk.c | 2 +-

[PATCH v2 062/169] Correct SPL uses of CPU_MICROBLAZE

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CPU_MICROBLAZE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/microblaze/cpu/cpuinfo.c | 2 +- arch/microblaze/include/asm/cpuinfo.h | 2 +- 2 files changed, 2 insertions(+),

[PATCH v2 116/169] Correct SPL use of OF_EMBED

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_OF_EMBED defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_r.c b/common/board_r.c index

[PATCH v2 077/169] Correct SPL use of EFI_TCG2_PROTOCOL

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_EFI_TCG2_PROTOCOL defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) lib/efi_loader/efi_image_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 134/169] Correct SPL uses of SANDBOX_CLK_CCF

2023-02-05 Thread Simon Glass
This converts 12 usages of this option to the non-SPL form, since there is no SPL_SANDBOX_CLK_CCF defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/clk/clk-divider.c| 4 ++-- drivers/clk/clk-gate.c | 6 +++--- drivers/clk/clk-mux.c| 8

[PATCH v2 127/169] Correct SPL use of QFW_PIO

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_QFW_PIO defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/qemu/qemu.c

[PATCH v2 073/169] Correct SPL uses of EFI_HAVE_CAPSULE_SUPPORT

2023-02-05 Thread Simon Glass
This converts 13 usages of this option to the non-SPL form, since there is no SPL_EFI_HAVE_CAPSULE_SUPPORT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c| 2 +-

[PATCH v2 096/169] Correct SPL uses of GMAC_ROCKCHIP

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_GMAC_ROCKCHIP defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/clk/rockchip/clk_rk3368.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 012/169] console: Add a Kconfig for SPL_CONSOLE_MUX et al

2023-02-05 Thread Simon Glass
This and SYS_CONSOLE_IS_IN_ENV are implicitly used in the source and seem useful, so add them. Signed-off-by: Simon Glass --- (no changes since v1) common/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index e3a5e1be1e9..ea9bbd52128 100644

[PATCH v2 097/169] Correct SPL use of HUSH_PARSER

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_HUSH_PARSER defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) common/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cli.c b/common/cli.c index

[PATCH v2 106/169] Correct SPL use of MIPS_CM

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_MIPS_CM defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/mips/include/asm/cm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/cm.h

[PATCH v2 110/169] Correct SPL uses of NEEDS_MANUAL_RELOC

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_NEEDS_MANUAL_RELOC defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) common/board_r.c | 4 ++-- common/event.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 164/169] Correct SPL use of VIDEO_ANSI

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_ANSI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) cmd/cls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cls.c b/cmd/cls.c index 787c7edbee3..40a32eeab63

[PATCH v2 131/169] Correct SPL uses of ROCKCHIP_EFUSE

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ROCKCHIP_EFUSE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 138/169] Correct SPL uses of SIFIVE_OTP

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_SIFIVE_OTP defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/sifive/unleashed/unleashed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 129/169] Correct SPL use of RENESAS_SDHI

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_RENESAS_SDHI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/mmc/tmio-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/tmio-common.h

[PATCH v2 095/169] Correct SPL use of GENERATE_SMBIOS_TABLE

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_GENERATE_SMBIOS_TABLE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/asm-generic/global_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 067/169] Correct SPL use of DISPLAY_CPUINFO

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_DISPLAY_CPUINFO defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/cpu-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 104/169] Correct SPL uses of LMB

2023-02-05 Thread Simon Glass
This converts 9 usages of this option to the non-SPL form, since there is no SPL_LMB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arc/lib/bootm.c| 2 +- arch/arm/lib/bootm.c| 2 +- arch/m68k/lib/bootm.c | 2 +- arch/microblaze/lib/bootm.c

[PATCH v2 145/169] Correct SPL use of SUPPORT_EMMC_RPMB

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SUPPORT_EMMC_RPMB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/mmc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/Makefile

[PATCH v2 146/169] Correct SPL use of SYS_FSL_ERRATUM_A010539

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_SYS_FSL_ERRATUM_A010539 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

  1   2   3   >