[PATCH] arm: bcm7xxx: Convert to DM_SERIAL

2023-02-05 Thread Thomas Fitzsimmons
Remove ns16550 configuration from header files. Document DM_SERIAL-required prior stage device tree configuration. --- configs/bcm7260_defconfig | 4 ++-- configs/bcm7445_defconfig | 4 ++-- doc/README.bcm7xxx| 6 ++ include/configs/bcm7260.h | 2 -- include/configs/bcm7445.h | 2

[PATCH 00/11] video: efi: Improve the EFI-app video console

2023-02-05 Thread Simon Glass
This does not work on some 64-bit machines since only a 32-bit address for the framebuffer is supported in the VESA structure. This series corrects this and makes a few other minor, video-related improvements. Simon Glass (11): efi: video: Move payload code into a function efi: video: Return

[PATCH 03/11] efi: Support a 64-bit frame buffer address

2023-02-05 Thread Simon Glass
The current vesa structure only provides a 32-bit value for the frame buffer. Many modern machines use an address outside the range. It is still useful to have this common struct, but add a separate frame-buffer address as well. Add a comment for vesa_setup_video_priv() while we are here. Signed

[PATCH 05/11] efi: Use a fixed value for the timer clock

2023-02-05 Thread Simon Glass
It is not yet clear how to read the timer via EFI. The current value seems much too high on a Framework laptop I tried. Adjust it to a lower hard-coded value for now. Signed-off-by: Simon Glass --- drivers/timer/tsc_timer.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/timer/t

[PATCH 07/11] video: Allow a copy framebuffer with pre-allocated fb

2023-02-05 Thread Simon Glass
At present it is not possible for the video driver to use a pre-allocated frame buffer (such as is done with EFI) with the copy framebuffer. This can be useful to speed up the display. Adjust the implementation so that copy_size can be set to the required size, with this being allocated if the nor

[PATCH 10/11] efi: Add dhrystone, dcache and scroll lines to app

2023-02-05 Thread Simon Glass
Add these options to provide some performance measurement, see cache status and slightly speed up the appallingly slow console. Signed-off-by: Simon Glass --- configs/efi-x86_app64_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/efi-x86_app64_defconfig b/configs/efi-x86

[PATCH 06/11] efi: Support copy framebuffer

2023-02-05 Thread Simon Glass
Add support for this to EFI in case it becomes useful. At present it just slows things down. Enable CONFIG_VIDEO_COPY to turn it on. Signed-off-by: Simon Glass --- arch/x86/dts/efi-x86_app.dts | 1 + drivers/video/efi.c | 11 +++ 2 files changed, 12 insertions(+) diff --git a

[PATCH 08/11] video: Remove duplicate cursor-positioning function

2023-02-05 Thread Simon Glass
There are two functions for positioning the cursor on the console. Remove one of them. Signed-off-by: Simon Glass --- drivers/video/vidconsole-uclass.c | 44 +++ 1 file changed, 10 insertions(+), 34 deletions(-) diff --git a/drivers/video/vidconsole-uclass.c b/driv

[PATCH 09/11] video: Clear the vidconsole rather than the video

2023-02-05 Thread Simon Glass
It is better to clear the console device rather than the video device, since the console has the text display. We also need to reset the cursor position with the console, but not with the video device. Add a new function to handle this and update the 'cls' command to use it. Signed-off-by: Simon

[PATCH 11/11] video: Add a note about the broken implementation

2023-02-05 Thread Simon Glass
The cls command is broken. Previous discussion about this was at [1] and [2]. For now, add a note to the source code. [1] https://patchwork.ozlabs.org/project/uboot/patch/ 20221022092058.106052-1-heinrich.schucha...@canonical.com/ [2] https://patchwork.ozlabs.org/project/uboot/patch/

[PATCH 04/11] x86: Add a few more items to bdinfo

2023-02-05 Thread Simon Glass
Add the timer and vendor/model information. Signed-off-by: Simon Glass --- arch/x86/lib/bdinfo.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c index 0cb79b01bd3..896de37dce4 100644 --- a/arch/x86/lib/bdinfo.c +++ b/arch/x86/lib/bdinfo.c @@

[PATCH 01/11] efi: video: Move payload code into a function

2023-02-05 Thread Simon Glass
Put this into a function, as we have done for the app implementation. Comment both functions. FOr now the app still does not access it correctly. Signed-off-by: Simon Glass --- drivers/video/efi.c | 83 +++-- 1 file changed, 57 insertions(+), 26 deletions

[PATCH 02/11] efi: video: Return mode info for app also

2023-02-05 Thread Simon Glass
The mode info is currently not initialised for the app. Fix this by returning it from the function. Signed-off-by: Simon Glass --- drivers/video/efi.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/video/efi.c b/drivers/video/efi.c index fc37a68b376..0479f207

[PATCH 0/3] rockchip: Use external TPL binary to create a working firmware image

2023-02-05 Thread Jonas Karlman
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps back to boot-rom to load the next stage of the boot flow, U-Boot SPL. For RK356x there is currently no support to initialize DRAM using U-Boot TPL and instead an external TPL binary must be used to generate a working u-boot-rock

[PATCH 1/3] binman: Add support for an external-tpl entry

2023-02-05 Thread Jonas Karlman
The external-tpl entry can be used when an external TPL binary must be used instead of normal U-Boot TPL. Signed-off-by: Jonas Karlman --- tools/binman/entries.rst | 12 tools/binman/etype/external_tpl.py | 18 ++ tools/binman/ftest.py

[PATCH 2/3] rockchip: Require an external TPL binary when TPL is missing

2023-02-05 Thread Jonas Karlman
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps back to boot-rom to load the next stage of the boot flow, U-Boot SPL. For RK356x there is currently no support to initialize DRAM using U-Boot TPL and instead an external TPL binary must be used to generate a working u-boot-rock

[PATCH 3/3] Revert "board: rockchip: Fix binman_init failure on EVB-RK3568"

2023-02-05 Thread Jonas Karlman
This reverts commit 31500e7bcfaca08ab7c2879f502a6cf852410244. [why] External TPL binary is now expected to be provided using EXTERNAL_TPL when building RK356x targets. Signed-off-by: Jonas Karlman --- configs/evb-rk3568_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/evb-rk

[PATCH v3] bootstd: Replicate the dtb-filename quirks of distroboot

2023-02-05 Thread Simon Glass
For EFI, the distro boot scripts search in three different directories for the .dtb file. The SOC-based filename fallback is supported only for 32-bit ARM. Adjust the code to mirror this behaviour. Also some boards can use a prior-stage FDT if one is not found in the normal way. Support this and

Re: [PATCH 2/3] rockchip: Require an external TPL binary when TPL is missing

2023-02-05 Thread Jagan Teki
On Mon, Feb 6, 2023 at 1:52 AM Jonas Karlman wrote: > > Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps > back to boot-rom to load the next stage of the boot flow, U-Boot SPL. > > For RK356x there is currently no support to initialize DRAM using U-Boot > TPL and instead an ex

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-02-05 Thread Jonas Karlman
Hi Simon and Quentin, On 2023-02-04 23:23, Simon Glass wrote: > Hi Quentin, > > On Tue, 31 Jan 2023 at 03:54, Quentin Schulz > wrote: >> >> Hi Kever, >> >> On 1/31/23 03:53, Kever Yang wrote: >>> Hi >>> >>> I think I do this modify for those soc not have TPL, or else it >>> will cause the C

Re: [PATCH 2/3] rockchip: Require an external TPL binary when TPL is missing

2023-02-05 Thread Jonas Karlman
Hi Jagan, On 2023-02-05 21:28, Jagan Teki wrote: > On Mon, Feb 6, 2023 at 1:52 AM Jonas Karlman wrote: >> >> Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps >> back to boot-rom to load the next stage of the boot flow, U-Boot SPL. >> >> For RK356x there is currently no suppor

Re: [PATCH 00/11] video: efi: Improve the EFI-app video console

2023-02-05 Thread Heinrich Schuchardt
Am 5. Februar 2023 20:46:16 MEZ schrieb Simon Glass : >This does not work on some 64-bit machines since only a 32-bit address for >the framebuffer is supported in the VESA structure. "This" requires some preceding sentence. Please, describe what problem you want to solve. Best regards Heinri

Re: [PATCH 11/11] video: Add a note about the broken implementation

2023-02-05 Thread Heinrich Schuchardt
Am 5. Februar 2023 20:46:27 MEZ schrieb Simon Glass : >The cls command is broken. Previous discussion about this was at [1] and >[2]. For now, add a note to the source code. > >[1] https://patchwork.ozlabs.org/project/uboot/patch/ > 20221022092058.106052-1-heinrich.schucha...@canonical.com

Re: [PATCH v2 1/2] cli: Correct several bugs in cli_getch()

2023-02-05 Thread Heinrich Schuchardt
Am 5. Februar 2023 03:08:54 MEZ schrieb Simon Glass : >This function does not behave as expected when unknown escape sequences >are sent to it: > >- it fails to store (and thus echo) the last character of the invalid > sequence What would be the benefit of echoing it? Is there any reason to as

[PATCH] arm: mvebu: Power up 2nd SATA port for Thecus N2350

2023-02-05 Thread Tony Dinh
Currently, only the 1st SATA port is powered up (by GPIO1 12). Add GPIO1 13 in board initialization to power up the 2nd SATA port. Note that this patch depends on the initial add-support patch: https://patchwork.ozlabs.org/project/uboot/patch/20230201231306.7010-1-mibo...@gmail.com/ Signed-off-by

[PATCH] doc: Link to some useful talks

2023-02-05 Thread Simon Glass
Talks are a great way to learn about U-Boot and have been lost now that the Denx Wiki has gone away. These are stored at elinux.org so link to that . Signed-off-by: Simon Glass --- doc/index.rst | 1 + doc/learn/index.rst | 9 + doc/learn/talks.rst | 11 +++ 3 files cha

[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 optio

[PATCH v2 004/169] boot: Add a Kconfig for SPL_BOOTSTD_FULL

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) boot/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/boot/Kconfig b/boot/Kconfig index bfe69d98cb7..db6e2709c03 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @

[PATCH v2 005/169] boot: Add Kconfigs for BOOTMETH_VBE_REQUEST

2023-02-05 Thread Simon Glass
Allow this to be enabled separately in U-Boot proper and in SPL, since it is not needed in SPL. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 13 + boot/Makefile | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kcon

[PATCH v2 002/169] x86: Correct Chrromebook typo

2023-02-05 Thread Simon Glass
Fix a typo in a comment. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/fsp/fsp_dram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lib/fsp/fsp_dram.c b/arch/x86/lib/fsp/fsp_dram.c index 2bd408d0c56..cc889a688d8 100644 --- a/arch/x86/lib/fsp/f

[PATCH v2 001/169] moveconfig: Update to detect / correct missing SPL Kconfigs

2023-02-05 Thread Simon Glass
This adds quite a few more features, all designed to detect problems with Kconfig options and their use. It can find options mentioned in the source code which are not in the Kconfig and vice versa. It can convert SPL usages of non-SPL Kconfig options (i.e. changing CONFIG_IS_ENABLED() to IS_ENABLE

[PATCH v2 003/169] boot: Add a Kconfig for SPL_FIT_CIPHER

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) boot/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/boot/Kconfig b/boot/Kconfig index fdcfbae7b2c..bfe69d98cb7 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @

[PATCH v2 007/169] boot: Add a Kconfig for SPL_BOOTDEV_ETH

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) net/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/net/Kconfig b/net/Kconfig index 4215889127c..fbe6b35077f 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -34

[PATCH v2 006/169] boot: Add a Kconfig for SPL_BOOTDEV_SPI_FLASH

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/mtd/spi/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index a9617c6c58c..949404c4a96 100644 --- a/

[PATCH v2 008/169] dm: Add a Kconfig for SPL_DEVRES

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/core/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 6fc8854b574..22381500afe 100644 --- a/drivers/c

[PATCH v2 013/169] button: Add a Kconfig for SPL_BUTTON

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/button/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig index 8ce2de37d62..60645a7745a 100644 --- a/dri

[PATCH v2 015/169] iommu: Add a Kconfig for SPL_IOMMU

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/iommu/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dabc1f900d5..bbacd14a56c 100644 --- a/driver

[PATCH v2 011/169] cmd: Add a Kconfig for SPL_CRC32_VERIFY

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) cmd/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index b697469a4cb..82321bd3293 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -68

[PATCH v2 014/169] lib: Add a Kconfig for SPL_ERRNO_STR

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) lib/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 549bd357785..999ae99bf68 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -78

[PATCH v2 017/169] virtio: Add a Kconfig for SPL_VIRTIO

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/virtio/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 852f6735b60..410cdf39b67 100644 --- a/dri

[PATCH v2 018/169] lib: Add a Kconfig for SPL_BZIP2

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) lib/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 999ae99bf68..a6c269a8535 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -

[PATCH v2 016/169] pinctrl: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-02-05 Thread Simon Glass
This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- Changes in v2: - Correct the tag drivers/pinctrl/mvebu/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/mvebu/Kconfig b/drivers/pinctrl/mvebu/Kconfig index 7c51d138c

[PATCH v2 020/169] rockchip: Add a Kconfig for SPL_RESET_ROCKCHIP

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/reset/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index e4039d74744..e2affe20e34 100644 --- a/driver

[PATCH v2 021/169] mediatek: Add a Kconfig for SPL_RESET_MEDIATEK

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/reset/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index e2affe20e34..64c3ea332b4 100644 --- a/driver

[PATCH v2 019/169] acpi: Add a Kconfig for SPL_ACPIGEN

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/core/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 22381500afe..f1ef5cd35f3 100644 --- a/drivers/co

[PATCH v2 027/169] Correct SPL use of ARCH_ZYNQ

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

[PATCH v2 031/169] Correct SPL use of ATMEL_PIO4

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

[PATCH v2 022/169] Correct SPL use of A003399_NOR_WORKAROUND

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

[PATCH v2 023/169] Correct SPL use of AHCI

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

[PATCH v2 024/169] Correct SPL uses of ALLEYCAT_5

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ALLEYCAT_5 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 a/arch/arm/mach-mvebu/arm

[PATCH v2 034/169] Correct SPL uses of BOOTSTAGE_REPORT

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_BOOTSTAGE_REPORT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/mips/lib/bootm.c | 2 +- arch/x86/lib/bootm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/a

[PATCH v2 039/169] Correct SPL use of CMD_BOOTZ

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

[PATCH v2 035/169] Correct SPL use of CMD_BCB

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

[PATCH v2 033/169] Correct SPL use of BOOTSTAGE_FDT

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

[PATCH v2 030/169] Correct SPL uses of ARMADA_8K

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ARMADA_8K 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 a/arch/arm/mach-mvebu/arm6

[PATCH v2 042/169] Correct SPL uses of CMD_EFICONFIG

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

[PATCH v2 044/169] Correct SPL uses of CMD_FDT

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CMD_FDT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) boot/bootm.c | 2 +- boot/image-fdt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/bootm.c b/boot/

[PATCH v2 046/169] Correct SPL use of CMD_HASH

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

[PATCH v2 040/169] Correct SPL uses of CMD_CLK

2023-02-05 Thread Simon Glass
This converts 7 usages of this option to the non-SPL form, since there is no SPL_CMD_CLK defined in Kconfig Signed-off-by: Simon Glass Reviewed-by: Sean Anderson --- (no changes since v1) drivers/clk/clk_k210.c| 6 +++--- drivers/clk/imx/clk-imx8.c| 2 +- drivers/clk/imx/clk-imx8.

[PATCH v2 037/169] Correct SPL use of CMD_BOOTI

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

[PATCH v2 050/169] Correct SPL use of CMD_NVEDIT_EFI

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

[PATCH v2 056/169] Correct SPL use of CMD_SHA1SUM

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

[PATCH v2 047/169] Correct SPL use of CMD_MBR

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

[PATCH v2 049/169] Correct SPL use of CMD_NET

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

[PATCH v2 051/169] Correct SPL uses of CMD_NVME

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_CMD_NVME defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/apple.h | 2 +- include/configs/qemu-arm.h| 2 +- include/configs/rockchip-common.h | 2 +- 3 file

[PATCH v2 045/169] Correct SPL use of CMD_FRU

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

[PATCH v2 061/169] Correct SPL use of CMD_VIRTIO

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

[PATCH v2 059/169] Correct SPL uses of CMD_TFTPPUT

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

[PATCH v2 057/169] Correct SPL use of CMD_STBOARD

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

[PATCH v2 055/169] Correct SPL uses of CMD_SF

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CMD_SF defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/rockchip-common.h | 2 +- include/environment/distro/sf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 053/169] Correct SPL uses of CMD_PXE

2023-02-05 Thread Simon Glass
This converts 6 usages of this option to the non-SPL form, since there is no SPL_CMD_PXE defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/am335x_evm.h | 2 +- include/configs/imx8mm-cl-iot-gate.h | 2 +- include/configs/imx8mp_rsb3720.h | 2 +-

[PATCH v2 038/169] Correct SPL uses of CMD_BOOTM_PRE_LOAD

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

[PATCH v2 052/169] Correct SPL use of CMD_PSTORE

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

[PATCH v2 041/169] Correct SPL uses of CMD_DHCP

2023-02-05 Thread Simon Glass
This converts 7 usages of this option to the non-SPL form, since there is no SPL_CMD_DHCP defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/am335x_evm.h | 2 +- include/configs/imx8mm-cl-iot-gate.h | 2 +- include/configs/imx8mp_rsb3720.h | 2 +

[PATCH v2 058/169] Correct SPL use of CMD_STM32PROG

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

[PATCH v2 054/169] Correct SPL uses of CMD_SCSI

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CMD_SCSI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/qemu-arm.h| 2 +- include/configs/rockchip-common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 048/169] Correct SPL uses of CMD_MMC

2023-02-05 Thread Simon Glass
This converts 6 usages of this option to the non-SPL form, since there is no SPL_CMD_MMC defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/am62ax_evm.h | 4 ++-- include/configs/imx8mm-cl-iot-gate.h | 2 +- include/configs/imx8mp_rsb3720.h | 2

[PATCH v2 060/169] Correct SPL uses of CMD_USB

2023-02-05 Thread Simon Glass
This converts 8 usages of this option to the non-SPL form, since there is no SPL_CMD_USB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/configs/am335x_evm.h | 2 +- include/configs/apple.h | 2 +- include/configs/imx8mm-cl-iot-gate.h | 2 +-

[PATCH v2 043/169] Correct SPL use of CMD_ERASEENV

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

[PATCH v2 063/169] Correct SPL use of DEBUG_UART_ZYNQ

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

[PATCH v2 076/169] Correct SPL use of EFI_SECURE_BOOT

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_EFI_SECURE_BOOT 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 46

[PATCH v2 072/169] Correct SPL use of EFI_DEVICE_PATH_UTIL

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

[PATCH v2 081/169] Correct SPL use of ENV_WRITEABLE_LIST

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

[PATCH v2 080/169] Correct SPL uses of ENV_VARS_UBOOT_RUNTIME_CONFIG

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

[PATCH v2 094/169] Correct SPL use of FS_EROFS

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

[PATCH v2 133/169] Correct SPL use of SANDBOX

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

[PATCH v2 108/169] Correct SPL uses of MTD

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_MTD defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 2 +- board/st/common/stm32mp_dfu.c | 2 +- 2 files changed, 2 insert

[PATCH v2 135/169] Correct SPL uses of SAVE_PREV_BL_FDT_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_FDT_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 insertions(+), 2 d

[PATCH v2 152/169] Correct SPL use of TARGET_PG_WCOM_SELI8

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_SELI8 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 deleti

[PATCH v2 153/169] Correct SPL use of TEE

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

[PATCH v2 156/169] Correct SPL use of UDP_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_UDP_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 a/cmd

[PATCH v2 157/169] Correct SPL use of USB_DWC3_MESON_G12A

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

[PATCH v2 163/169] Correct SPL uses of VIDEO

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

[PATCH v2 162/169] Correct SPL uses of USB_MUSB_HOST

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_MUSB_HOST defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/phy/phy-ab8500-usb.c| 2 +- drivers/usb/musb-new/omap2430.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-

[PATCH v2 166/169] Correct SPL use of VIDEO_BPP32

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP32 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 b/dr

[PATCH v2 169/169] Correct SPL uses of ZYNQMP_FIRMWARE

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ZYNQMP_FIRMWARE defined in Kconfig Signed-off-by: Simon Glass --- Changes in v2: - Rebase to previous series - Drop patch to add a Kconfig for SPL_EFI_LOADER et al - Drop patch to add a Kconfig for SPL_GENERATE_ACPI

[PATCH v2 167/169] Correct SPL use of WATCHDOG_AUTOSTART

2023-02-05 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_WATCHDOG_AUTOSTART 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 b/b

[PATCH v2 168/169] Correct SPL uses of XEN_SERIAL

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

[PATCH v2 158/169] Correct SPL uses of USB_DWC3_MESON_GXL

2023-02-05 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_DWC3_MESON_GXL defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +- 2 files changed, 2 insertions(+), 2 deleti

[PATCH v2 160/169] Correct SPL uses of USB_GADGET_DWC2_OTG

2023-02-05 Thread Simon Glass
This converts 3 usages of this option to the non-SPL form, since there is no SPL_USB_GADGET_DWC2_OTG defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-g12a.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +-

  1   2   3   >