[PATCH 1/1] efi_loader: stop watchdogs in ExitBootServices()

2023-01-28 Thread Heinrich Schuchardt
The UEFI specification requires for ExitBootServices() that "the boot services watchdog timer is disabled". We already disable the software watchdog. We should additionally disable the hardware watchdogs. Reported-by: Andre Przywara Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boot

Re: [PATCH] powerpc/mpc85xx: use board env file for socrates board

2023-01-28 Thread Heiko Schocher
Hello Simon, On 27.01.23 18:15, Simon Glass wrote: > Hi Heiko, > > On Thu, 26 Jan 2023 at 00:46, Heiko Schocher wrote: >> >> as Tom suggested get rid of CFG_EXTRA_ENV_SETTINGS and >> enable CONFIG_ENV_SOURCE_FILE and use text file >> >> board/socrates/socrates.env >> >> which contains the defaul

U-boot 2023.01 not booting anymore MCR3000 board - Bisected 50128aeb0f8 ("cyclic: get rid of cyclic_init()")

2023-01-28 Thread Christophe Leroy
Hi, I'm trying to boot MCR3000 board with U-boot 2023.01 and it crashes in the weed in fdtdec_setup(). I bisected the issue to commit 50128aeb0f8 ("cyclic: get rid of cyclic_init()") At the time being I don't understand what happens. The problem is here below, idx is in the weed, I don't know

Re: [PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-28 Thread Pali Rohár
Hello! It is nice to see support for another A385 board! I have few comments, see below... On Friday 27 January 2023 20:47:10 Tony Dinh wrote: > Thecus N2350 is a NAS based on Marvell Armada 385 SoC. > > Specification: > > - Processor: Marvel MV88F6820 Dual Core at 1GHz > - 1 GiB DDR4 RAM > - 4M

[RESEND PATCH v3] video: ti: am335x: restore driver-model code

2023-01-28 Thread Dario Binacchi
The commit 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") removed not only the LCD legacy implementation but also the code with driver model support. The patch restores the code with driver model support. Fixes: 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") Signed-off-by: Dario Binacchi Review

[RESEND PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support

2023-01-28 Thread Dario Binacchi
In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both disabled (i. e. BSH boards), binmain fails because DDR4 bin files are missing. Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi") Signed-off-by: Dario Binacchi Reviewed-by: Michael Trimarchi

[RESEND PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-28 Thread Dario Binacchi
The Linux kernel device tree already specifies the device to be used for boot console output with a stdout-path property under /chosen. Fixes: 36b661dc919da ("Merge branch 'next'") Signed-off-by: Dario Binacchi --- include/configs/imx8mn_bsh_smm_s2.h | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-28 Thread Troy Kisky
Thanks Tom, I cleaned up the PR based on the CI results. Here's my current changes. Author: Troy Kisky Date: Fri Jan 27 11:03:11 2023 -0800 dm: device-internal: use EVENT instead of DM_EVENT, because event_notify is built for EVENT Signed-off-by: Troy Kisky diff --git a/include/dm/

Re: [RESEND PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-28 Thread Fabio Estevam
Hi Dario, On Sat, Jan 28, 2023 at 1:09 PM Dario Binacchi wrote: > > The Linux kernel device tree already specifies the device to be used for > boot console output with a stdout-path property under /chosen. > > Fixes: 36b661dc919da ("Merge branch 'next'") The patch looks good, but I don't underst

Re: [RESEND PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support

2023-01-28 Thread Fabio Estevam
On Sat, Jan 28, 2023 at 1:04 PM Dario Binacchi wrote: > > In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both > disabled (i. e. BSH boards), binmain fails because DDR4 bin files are > missing. > > Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common > imx8mn-u-boot.dt

[PATCH 00/13] bootstd: Update ARM QEMU for standard boot and environment

2023-01-28 Thread Simon Glass
This series fixes a few reported problems with virtio block-device handling. It also moves QEMU over to use standard boot on ARM, by adding a suitable bootdev and bootmeth for qfw. Finally, it moves the boards to use a text-based environment. The only remaining item in the config.h header file is

[PATCH 06/13] bootstd: Add some default filesystems and commands

2023-01-28 Thread Simon Glass
We need to support a basic set of filesystems for booting to work in most cases. Add these in via a new option, letting the board disable them individually (for space reasons) if desired. This enables the filesystem commands as well as the actual functionality, even though bootstd is quite happy t

[PATCH 02/13] virtio: Add some debugging

2023-01-28 Thread Simon Glass
When QEMU does not respond for some reason, it is helpful to have debugging info to show. Add some. Signed-off-by: Simon Glass --- drivers/virtio/virtio_blk.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/virtio/virtio_blk.c b/drivers/virtio/virtio_blk.c index 30cfc56725c..

[PATCH 09/13] qemu: Add a bootdev for qfw

2023-01-28 Thread Simon Glass
Add a bootdev device for qfw so that it can be used with standard boot. This simply checks for the correct method and then does the read. Most of the other logic is handed in a new bootmeth driver. Signed-off-by: Simon Glass --- drivers/misc/qfw.c | 87 ++

[PATCH 01/13] log: Add a category for filesystems

2023-01-28 Thread Simon Glass
Sometimes it is useful to log things related to filesystems. Add a new category and place it at the top of one of the FAT files. Signed-off-by: Simon Glass --- common/log.c | 1 + fs/fat/fat_write.c | 2 ++ include/log.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/common/l

[PATCH 03/13] bootstd: Allow enabling BOOTSTD_FULL without needing EXPO

2023-01-28 Thread Simon Glass
It is sometimes useful to have one without the other, e.g. on a device without a display, since at present the expo feature requires CONFIG_VIDEO to be enabled. Update the Makefile and bootflow command to support this, as well as the EXPO dependency. Signed-off-by: Simon Glass --- boot/Kconfig

[PATCH 04/13] bootstd: Probe the block device before use

2023-01-28 Thread Simon Glass
In some cases the block device is obtained but is not probed, since it is a sibling of the bootdev. Make sure it is probed, so it can be used without any trouble. This fixes a bug with virtio, where the device is accessed before it has been set up by the virtio uclass. Signed-off-by: Simon Glass

[PATCH 07/13] qemu: Update qfw command to use addresses

2023-01-28 Thread Simon Glass
This uses casts all over the place. Use the correct type so that these can be avoided, as is done with other commands. Also simplify a few conditionals. Signed-off-by: Simon Glass --- cmd/qfw.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) d

[PATCH 08/13] qemu: Move qfw kernel setup into a common file

2023-01-28 Thread Simon Glass
This is currently in the cmd/ file but we want to call it from a driver. Move it into a common place. Tidy up the header-file order while we are here. Signed-off-by: Simon Glass --- cmd/qfw.c | 69 +-- common/qfw.c | 66 ++

[PATCH 10/13] qemu: Add a bootmeth for qfw

2023-01-28 Thread Simon Glass
This supports reading a kernel and ramdisk from qfw, then loading it with either the booti or bootz commands. For now this uses the existing booti and bootz commands, rather than trying to call that functionality directly (e.g. do_bootm_states()). It does not require the HUSH parser though, which

[PATCH 05/13] bootstd: Correct virtio block-device handling

2023-01-28 Thread Simon Glass
At present virtio tries to attach QEMU services to a bootdev device, which cannot work. Add a check for this. Also use bootdev_setup_sibling_blk() to create the bootdev device, since it allows the correct name to be used and bootdev_get_sibling_blk() to work as expected. The bootdev is not create

[PATCH 11/13] arm: qemu: Switch to standard boot

2023-01-28 Thread Simon Glass
Drop use of the distro scripts and use standard boot instead. Enable BOOTDEV_FULL just for convenience, although this does add quite a bit to the size. Signed-off-by: Simon Glass --- configs/qemu_arm64_defconfig | 4 ++- configs/qemu_arm_defconfig | 4 ++- include/configs/qemu-arm.h | 54

[PATCH 12/13] arm: qemu: Switch to a text environment

2023-01-28 Thread Simon Glass
Use the new environment format so we can drop most of the config.h file. Signed-off-by: Simon Glass --- board/emulation/qemu-arm/qemu-arm.env | 12 include/configs/qemu-arm.h| 13 - 2 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 board

[PATCH 13/13] arm: qemu: Move GUIDs to the C file

2023-01-28 Thread Simon Glass
These are only used in one place, so move them there. Signed-off-by: Simon Glass --- board/emulation/qemu-arm/qemu-arm.c | 10 ++ configs/qemu_arm64_defconfig| 1 + configs/qemu_arm_defconfig | 1 + include/configs/qemu-arm.h | 12 test/boot/boot

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

2023-01-28 Thread Simon Glass
On Thu, 26 Jan 2023 at 02:24, Loic Poulain wrote: > > When secure/insecure TRIM operations are supported. > When used as erase command argument it applies the > erase operation to write blocks instead of erase > groups. > > Signed-off-by: Loic Poulain > --- > v2: Add mmc unit test change to the s

Re: [PATCH 1/1] README: remove 'U-Boot Porting Guide' section

2023-01-28 Thread Simon Glass
Hi Heinrich, On Thu, 26 Jan 2023 at 02:17, Heinrich Schuchardt wrote: > > On 1/26/23 00:49, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 25 Jan 2023 at 12:00, Heinrich Schuchardt > > wrote: > >> > >> This section does not match the standards of our documentation. > >> > >> Signed-off-by:

Re: [PATCH 2/2 v3] efi_loader: use tpm_auto_start for the tpm device

2023-01-28 Thread Simon Glass
On Thu, 26 Jan 2023 at 01:18, Ilias Apalodimas wrote: > > A previous commit is adding a new tpm startup functions which > initializes the TPMv2 and performs all the needed selftests. > Since the TPM selftests might be needed depending on the requested > lgorithm or functional module use that inste

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

2023-01-28 Thread Simon Glass
Hi Loic, On Thu, 26 Jan 2023 at 02:24, Loic Poulain wrote: > > The default erase command applies on erase group unit, and > simply round down to erase group size. When the start block > is not aligned to erase group size (e.g. erasing partition) > it causes unwanted erasing of the previous blocks

Re: [BUG] Re: [PATCH v3 02/25] cli: Move readline character-processing to a state machine

2023-01-28 Thread Simon Glass
Hi Heinrich, On Tue, 24 Jan 2023 at 08:19, Heinrich Schuchardt wrote: > > On 1/6/23 15:52, Simon Glass wrote: > > The current cread_line() function is very long. It handles the escape > > processing inline. The menu command does similar processing but at the > > character level, so there is some

Re: [PATCH 1/2 v3] tpm: add a function that performs selftest + startup

2023-01-28 Thread Simon Glass
Hi Ilias, On Thu, 26 Jan 2023 at 01:18, Ilias Apalodimas wrote: > > As described in [0] if a command requires use of an untested algorithm > or functional module, the TPM performs the test and then completes the > command actions. > > Since we don't check for TPM_RC_NEEDS_TEST (which is the retur

Re: [PATCH 1/1] doc: complete setexpr configuration information

2023-01-28 Thread Simon Glass
On Fri, 27 Jan 2023 at 14:02, Heinrich Schuchardt wrote: > > Add missing information to the configuration section of the setexpr > man-page. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/setexpr.rst | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) Reviewed-by: Simon Gl

Re: [PATCH 1/1] cmd: improve coninfo output formatting

2023-01-28 Thread Simon Glass
On Fri, 27 Jan 2023 at 17:12, Heinrich Schuchardt wrote: > > Device name are typically longer than 8 characters. This leads to ragged > output. > Only the I and O bit of the device flags are of interest for the user. > Writing a hexadecimal number is just confusing. > > Before the patch the output

Re: [PATCH 1/1] doc: man-page for mtest

2023-01-28 Thread Simon Glass
On Fri, 27 Jan 2023 at 10:31, Heinrich Schuchardt wrote: > > Provide a man-page for the mtest command. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/mtest.rst | 66 + > doc/usage/index.rst | 1 + > 2 files changed, 67 insertions(+) > c

[PATCH] imx: power-domain: enable parent power domain

2023-01-28 Thread Patrick Wildt
The PCIe power domains are dependant on each other, which is why the device tree makes both PCIe controllers reference the PCIe1 power domain, which then depends on the PCIe2 power domain. Enabling the parent power domain used to be part of the driver, but got partially lost in the rewrite. Add t

Re: [PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-28 Thread Tony Dinh
Hi Pali, On Sat, Jan 28, 2023 at 5:00 AM Pali Rohár wrote: > > Hello! It is nice to see support for another A385 board! > I have few comments, see below... > > On Friday 27 January 2023 20:47:10 Tony Dinh wrote: > > Thecus N2350 is a NAS based on Marvell Armada 385 SoC. > > > > Specification: > >

[PATCH v2 01/87] moveconfig: Add an option to compare Kconfig against source

2023-01-28 Thread Simon Glass
Sometimes the Makefile rules or source code refers to Kconfig options which don't exist. Update the moveconfig tool to check this and produce a series of reports about inconsistencies. This can then be used to generate patches to correct the problems. Signed-off-by: Simon Glass --- (no changes

[PATCH v2 00/87] Clean up of bad Kconfig options

2023-01-28 Thread Simon Glass
This series adds source scanning to moveconfig.py so that it can look for Kconfig options mentioned in the source which do not appear in Kconfig, and vice versa. This tool is then used to clean up the unused or obsolete options mentioned in Makefiles, along with any attached source code. No funct

[PATCH v2 04/87] power: Drop pmic_max77693.c

2023-01-28 Thread Simon Glass
Drop this driver and the associated CONFIG option, as it is not used. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/mfd/Makefile| 1 - drivers/power/mfd/pmic_max77693.c | 96 --- 2 files changed, 97 deletions(-) delete mode 100644 driv

[PATCH v2 03/87] nand: Drop CONFIG_NAND_SPEAR

2023-01-28 Thread Simon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass Reviewed-by: Michael Trimarchi --- (no changes since v1) drivers/mtd/nand/raw/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Makefile b/drivers/mtd/nand/raw/Makefile index 7320d581e2f..4c59903aa8c

[PATCH v2 02/87] power: Drop fg_max77693

2023-01-28 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/mfd/Makefile | 1 - drivers/power/mfd/fg_max77693.c | 137 2 files changed, 138 deletions(-) delete mode 100644 drivers/power/mfd/fg_max77693.c diff

[PATCH v2 05/87] gpio: Drop adi_gpio2

2023-01-28 Thread Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass --- (no changes since v1) drivers/gpio/Makefile| 1 - drivers/gpio/adi_gpio2.c | 425 --- 2 files changed, 426 deletions(-) delete mode 100644 drivers/gpio/adi_gpio2.c diff --git a/drivers/gpio/Make

[PATCH v2 06/87] Makefile: Drop CONFIG_AIS_CONFIG_FILE

2023-01-28 Thread Simon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9c38cc29e9d..debe691c39e 100644 --- a/Makefile +++ b/Makefile @@ -1528,8 +1528,7 @@ MKIMAGEFLAGS_

[PATCH v2 07/87] misc: Drop ali512x

2023-01-28 Thread Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass --- (no changes since v1) drivers/misc/Makefile | 1 - drivers/misc/ali512x.c | 401 - 2 files changed, 402 deletions(-) delete mode 100644 drivers/misc/ali512x.c diff --git a/drivers/misc/Makefile

[PATCH v2 08/87] sandbox: Drop reference to CONFIG_ARCH_DEVICE_TREE

2023-01-28 Thread Simon Glass
This is not used anywhere. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/config.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 1284ef390b5..2d184c5f652 100644 --- a/arch/sandbox/config.mk +++ b/arch/san

[PATCH v2 10/87] arm: mvebu: Remove reference to ARMADA_370

2023-01-28 Thread Simon Glass
Drop this as it is not referenced anywhere else in the code. Signed-off-by: Simon Glass --- Changes in v2: - Just drop the reference arch/arm/mach-mvebu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile inde

[PATCH v2 11/87] arm: mvebu: Drop reference to CONFIG_ARMADA_39X

2023-01-28 Thread Simon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese --- (no changes since v1) arch/arm/mach-mvebu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile index 28d3e5e1052.

[PATCH v2 09/87] Rename ARCH_NPCM7xx

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile | 2 +- arch/arm/mach-npcm/Kconfig | 4 ++-- arch/arm/mach-npcm/Makefile| 2 +- arch/arm/mach-npcm/npcm7xx/Kconfig

[PATCH v2 12/87] ppc: Drop bat_rw

2023-01-28 Thread Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass --- (no changes since v1) arch/powerpc/lib/Makefile | 1 - arch/powerpc/lib/bat_rw.c | 244 -- 2 files changed, 245 deletions(-) delete mode 100644 arch/powerpc/lib/bat_rw.c diff --git a/arch/powerpc/li

[PATCH v2 13/87] rockchip: Correct a reference to CONFIG_BOOT_MODE_REG

2023-01-28 Thread Simon Glass
This option does not exist and should refer to CONFIG_ROCKCHIP_BOOT_MODE_REG instead. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rockchip/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach

[PATCH v2 14/87] cmd: Add an option to enable the ini command

2023-01-28 Thread Simon Glass
This command has no Kconfig option at present, but seems useful enough to keep around. Add one. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 4fe2c75de25..b697469a4cb 100644 --- a/cmd/

[PATCH v2 16/87] Correct CONFIG_CONTROLCENTERDC

2023-01-28 Thread Simon Glass
This option does not exist but presumably means to point to CONFIG_TARGET_CONTROLCENTERDC. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) board/gdsys/common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gdsys/common/Makefile b/board/gdsys/comm

[PATCH v2 15/87] cmd: Drop mfsl command

2023-01-28 Thread Simon Glass
This is not used anywhere. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Makefile | 1 - cmd/mfsl.c | 387 --- 2 files changed, 388 deletions(-) delete mode 100644 cmd/mfsl.c diff --git a/cmd/Makefile b/cmd/Makefile inde

[PATCH v2 17/87] Drop dataflash_mmc_mux command

2023-01-28 Thread Simon Glass
This is not used. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) cmd/Makefile| 1 - cmd/dataflash_mmc_mux.c | 48 - 2 files changed, 49 deletions(-) delete mode 100644 cmd/dataflash_mmc_mux.c diff --git a/cmd/Makefile b/cmd/

[PATCH v2 18/87] Drop CONFIG_DM644X_GPIO

2023-01-28 Thread Simon Glass
Drop this unused option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/gpio/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 57603645c1c..07fca7bd33d 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@

[PATCH v2 19/87] Makefile: Avoid use of invalid CONFIG_ option

2023-01-28 Thread Simon Glass
This appears in a comment but is not a real option. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index debe691c39e..400261606e3 100644 --- a/Makefile +++ b/Makefile @@ -1082,7 +108

[PATCH v2 20/87] env: Drop ENV_IS_IN_SATA

2023-01-28 Thread Simon Glass
This is not used anywhere, so drop it. Signed-off-by: Simon Glass --- (no changes since v1) cmd/nvedit.c | 1 - env/Makefile | 1 - env/env.c| 3 -- env/sata.c | 122 --- 4 files changed, 127 deletions(-) delete mode 100644 env/sata.

[PATCH v2 21/87] samsung: Drop CONFIG_EXYNOS_PWM_BL

2023-01-28 Thread Simon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/exynos/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/exynos/Makefile b/drivers/video/exynos/Makefile index 0f58954e49c..45067f562cb 100644 --- a/drivers/video/e

[PATCH v2 24/87] misc: Drop mc9sdz60 driver

2023-01-28 Thread Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass --- (no changes since v1) drivers/misc/Makefile | 1 - drivers/misc/mc9sdz60.c | 34 -- 2 files changed, 35 deletions(-) delete mode 100644 drivers/misc/mc9sdz60.c diff --git a/drivers/misc/Makefile b/driv

[PATCH v2 22/87] fpga: Add a LATTICE option

2023-01-28 Thread Simon Glass
There is no Kconfig option for this code, but it seems to be useful. Add one. Signed-off-by: Simon Glass --- (no changes since v1) drivers/fpga/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 4113de230cd..2034d0ebd9c 100644 --

[PATCH v2 27/87] rcar: Drop timer

2023-01-28 Thread Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-rmobile/Makefile | 1 - arch/arm/mach-rmobile/timer.c | 87 -- 2 files changed, 88 deletions(-) delete mode 100644 arch/arm/mach-rmobile/timer.c diff --git a/arch/arm

[PATCH v2 25/87] freescale: Drop unused pixis code

2023-01-28 Thread Simon Glass
Drop this unused code. Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/common/Makefile | 1 - board/freescale/common/pixis.c | 470 board/freescale/common/pixis.h | 54 3 files changed, 525 deletions(-) delete mode 100644 board/f

[PATCH v2 23/87] fpga: Add a FPGA_STRATIX_II option

2023-01-28 Thread Simon Glass
There is no Kconfig option for this code, but it seems to be useful. Add one. Signed-off-by: Simon Glass --- (no changes since v1) drivers/fpga/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 2034d0ebd9c..61490d6d8de 100644 --

[PATCH v2 26/87] freescale: Drop unused ftpmu010 driver

2023-01-28 Thread Simon Glass
Drop this unused code. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/Makefile | 1 - drivers/power/ftpmu010.c | 87 -- include/faraday/ftpmu010.h | 234 - 3 files changed, 322 deletions(-) delete mode 100644 drivers

[PATCH v2 30/87] arm: Drop old kona code

2023-01-28 Thread Simon Glass
The KONA and KONA_GPIO options don't exist anymore, since this commit: 0f6807e77b0 arm: Remove bcm28155_ap board Drop the dead code. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv7/Makefile | 1 - arch/arm/cpu/armv7/kona-common/Makefile |

[PATCH v2 29/87] imx: Drop unused CONFIG_IMX

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/arm920t/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index b70822c67ab..5ac37

[PATCH v2 28/87] i2c: Rename I2C_MUX_PCA954x

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass Reviewed-by: Heiko Schocher --- (no changes since v1) arch/arm/mach-mvebu/Kconfig| 2 +- configs/SBx81LIFKW_defconfig | 2 +- configs/SBx81LIFXCAT_defcon

[PATCH v2 31/87] video: Drop unused lg4573 driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 3cf02f5ffa4 imx6: remove not longer supported aristainetos boards Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/Makefile | 1 - drivers/video/lg4573.c | 331 -

Re: [PATCH] rockchip: ringneck: fix SDRAM init fail

2023-01-28 Thread Kever Yang
On 2023/1/18 01:26, Quentin Schulz wrote: From: Quentin Schulz CONFIG_RAM_PX30_DDR4 got renamed to CONFIG_RAM_ROCKCHIP_DDR4 in commit 26f92be07e2a ("ram: rockchip: Add common ddr type configs"). Since both patchsets were merged unbeknownst to the other, the conflict wasn't detected while test

[PATCH v2 32/87] m68k: Drop unused CONFIG_M52277

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/m68k/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile index 63f18109a57..4a7960bbeb4 100644 --- a/arch/m68k/Makef

[PATCH v2 33/87] m68k: Rename MCF5301x

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) arch/m68k/Kconfig | 4 ++-- arch/m68k/Makefile | 2 +- arch/m68k/cpu/mcf532x/cpu.c | 2 +- arch/m68k/cpu/mcf532x/cpu_ini

[PATCH v2 36/87] m68k: Drop unused CONFIG_MACH_DAVINCI_DA830_EVM

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) board/davinci/da8xxevm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/board/davinci/da8xxevm/Makefile b/board/davinci/da8xxevm/Makefile index 8187c8db22e..f

[PATCH v2 35/87] m68k: Rename MCF5441x

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) arch/m68k/Kconfig | 4 ++-- arch/m68k/Makefile | 4 ++-- arch/m68k/cpu/mcf5445x/cpu_init.c | 12 ++-- arch/m68k/cpu/mcf

[PATCH v2 34/87] m68k: Rename MCF532x

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) arch/m68k/Kconfig | 6 +++--- arch/m68k/Makefile| 2 +- arch/m68k/cpu/mcf532x/cpu.c | 2 +- arch/m68k/cpu/mcf532x

[PATCH v2 37/87] arm: Drop CONFIG_MMU

2023-01-28 Thread Simon Glass
This option does not exist, so the #ifdefs do nothing. Drop this code. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/lib/debug.S | 21 - 1 file changed, 21 deletions(-) diff --git a/arch/arm/lib/debug.S b/arch/arm/lib/debug.S index 5983f2c04ce..af4beb4d9d2

[PATCH v2 38/87] arc: Drop CONFIG_MMU

2023-01-28 Thread Simon Glass
This option is set in the Makefile but has no effect in the assembly code, i.e. the #ifdef branch is never used. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arc/config.mk | 4 arch/arc/lib/ints_low.S | 5 - 2 files changed, 9 deletions(-) diff --git a/arch

[PATCH v2 40/87] gpio: Drop unused mpc83xx_gpio driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 7458f18e5c2 ppc: Remove MPC8313ERDB boards Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/gpio/Makefile | 1 - drivers/gpio/mpc83xx_gpio.c | 183 2 files chan

[PATCH v2 39/87] ppc: Rename MPC83xx

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass Reviewed-by: Heiko Schocher --- (no changes since v1) api/api_platform-powerpc.c | 2 +- arch/Kconfig | 2 +- arch/powerpc/Kconfig |

[PATCH v2 47/87] mtd: Drop unused kb9202_nand driver

2023-01-28 Thread Simon Glass
This is not used since time out of mind. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/mtd/nand/raw/Makefile | 1 - drivers/mtd/nand/raw/kb9202_nand.c | 134 - 2 files changed, 135 deletions(-) delete mode

[PATCH v2 45/87] mtd: Drop unused fsl_upm driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 8d1e3cb1400 powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support Drop the driver and Kconfig option. Signed-off-by: Simon Glass Reviewed-By: Michael Trimarchi --- (no changes since v1) drivers/mtd/nand/raw/Makefile | 1 - drivers/mtd/nand/raw/

[PATCH v2 48/87] mtd: Drop unused nand_plat driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 936478e797a SPARC: Remove Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/mtd/nand/raw/Makefile| 1 - drivers/mtd/nand/raw/nand_plat.c | 65 2 files changed, 66 delet

[PATCH v2 44/87] nand: Drop unused actl_nand driver

2023-01-28 Thread Simon Glass
This is not used since this commit: ed7fe2bee12 ppc: Remove xpedite boards Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) board/xes/common/Makefile| 1 - board/xes/common/actl_nand.c | 49 2 files changed,

[PATCH v2 42/87] powerpc: Rename MPC86xx

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) api/api_platform-powerpc.c | 2 +- arch/powerpc/cpu/Makefile | 2 +- arch/powerpc/cpu/mpc8xxx/Makefile | 2 +- arch/powerpc/cpu/mpc8xxx/

[PATCH v2 49/87] Makefile: Drop CONFIG_OF_EARLY_FLATTREE

2023-01-28 Thread Simon Glass
This option does not exist, so drop the dead code. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 4 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index 400261606e3..d7a0121828c 100644 --- a/Makefile +++ b/Makefile @@ -2004,10 +2004,6 @@ dtbs: prepare3

[PATCH v2 43/87] imx: Rename CONFIG_MXS to CFG_MXS

2023-01-28 Thread Simon Glass
This is not a Kconfig option so we should not be setting it in the Makefile. Rename it to use a CFS_ prefix, since this is still used in mxsimage.c In general tools should support all the features without reference to CONFIG options, but this is left to the maintainer to look at. Signed-off-by: S

[PATCH v2 50/87] omap: Drop unused CONFIG_OMAP_USB_PHY

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v1) drivers/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/Makefile b/drivers/Makefile index 83b14ef1fd3..15d19d0c8a3 100644 ---

[PATCH v2 51/87] mtd: Drop unused CONFIG_ONENAND_U_BOOT

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index d7a0121828c..21d62f66367 100644 --- a/Makefile +++ b/Makefile @@ -956,7 +956,6 @@ e

[PATCH v2 46/87] mtd: Drop unused fsmc_nand driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 570c3dcfc15 arm: Remove spear600 boards and the rest of SPEAr support Drop the driver and Kconfig option. Signed-off-by: Simon Glass Reviewed-by: Michael Trimarchi --- (no changes since v1) drivers/mtd/nand/raw/Makefile| 1 - drivers/mtd/nand/raw

[PATCH v2 52/87] ppc: Drop unused CONFIG_P2020DS

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/common/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile index fc51d6d3e18..9

[PATCH v2 54/87] samsung: Rename PINCTRL_EXYNOS78x0

2023-01-28 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-exynos/Kconfig| 6 +++--- drivers/pinctrl/exynos/Kconfig | 2 +- drivers/pinctrl/exynos/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deleti

[PATCH v2 53/87] gpio: Drop unused pca9698 driver

2023-01-28 Thread Simon Glass
This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) arch/mips/mach-octeon/octeon_fdt.c | 43 +- board/gdsys/a38x/hre.c | 1 - drivers/gpio/Makefile | 1 - drivers/gpio/pca9698.c | 127 -

[PATCH v2 56/87] power: Drop unused fg_max17042 driver and fuel gauge code

2023-01-28 Thread Simon Glass
This driver is not used. Drop it and the entire fuel_gauge directory, since there is nothing left. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/Makefile | 1 - drivers/power/fuel_gauge/Makefile | 6 - drivers/power/fuel_gauge/fg_max17042.c | 287 -

[PATCH v2 58/87] power: Drop unused muic_max8997 driver

2023-01-28 Thread Simon Glass
This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/pmic/Makefile | 1 - drivers/power/pmic/muic_max8997.c | 74 --- 2 files changed, 75 deletions(-) delete mode 100644 drivers/power/pmic/m

[PATCH v2 57/87] power: Drop unused muic_max77693 driver and mfd code

2023-01-28 Thread Simon Glass
This driver is not used and has lain unconverted since: fc47cf9d054 arm: exynos: i2c: Convert exynos boards to use DM_I2C Drop it and the entire mfd directory, since there is nothing left. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/Makefile| 1 - drive

[PATCH v2 55/87] power: Drop unused bat_trats driver and battery code

2023-01-28 Thread Simon Glass
This driver and bat_trats2 are not used. Drop them and the entire battery directory, since there is nothing left. Signed-off-by: Simon Glass --- (no changes since v1) drivers/power/Makefile | 1 - drivers/power/battery/Makefile | 7 --- drivers/power/battery/bat_trats.c | 91

[PATCH v2 59/87] freescale: Drop unused pq-mds-pib driver

2023-01-28 Thread Simon Glass
This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/common/Makefile | 1 - board/freescale/common/pq-mds-pib.c | 60 - board/freescale/common/pq-mds-pib.h | 9 - 3 files changed, 70 del

[PATCH v2 60/87] rmobile: Drop CONFIG_RMOBILE

2023-01-28 Thread Simon Glass
This has been renamed to CONFIG_ARCH_RMOBILE but this one was left behind. It doesn't point to a directory that exists, so just drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv7/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/Makefi

[PATCH v2 62/87] mtd: Drop unused CONFIG_S32V234

2023-01-28 Thread Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv8/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile index 2e4bf9e038c..bba4f570dbb 1

[PATCH v2 65/87] sh4: Drop unused pci_sh7780 driver

2023-01-28 Thread Simon Glass
This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) arch/sh/include/asm/pci.h | 2 - drivers/pci/Makefile | 1 - drivers/pci/pci_sh7780.c | 92 --- 3 files changed, 95 deletions(-) delete mode 1

[PATCH v2 63/87] mtd: Drop unused scf0403_lcd driver

2023-01-28 Thread Simon Glass
This is not used since this commit: 76386d6195a arm: Remove cm_t35 board Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/Makefile | 1 - drivers/video/scf0403_lcd.c | 297 include/scf0403_lc

[PATCH v2 66/87] Drop ubsha1 tool

2023-01-28 Thread Simon Glass
This seems to have been used by ppc4xx which was removed a while back. The Kconfig does not exist so it is never built. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 3 -- tools/.gitignore | 1 - tools/Makefile | 6 tools/ubsha1.c | 83 ---

  1   2   >