[PATCH 09/39] video: Drop CONFIG_LCD_INFO

2022-10-19 Thread Simon Glass
This option is not used anymore since the LCD implementation is being removed. Drop it. Signed-off-by: Simon Glass --- board/atmel/at91sam9261ek/at91sam9261ek.c | 28 board/atmel/at91sam9263ek/at91sam9263ek.c | 45 ---

[PATCH 11/39] api: Drop LCD implementation

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- api/api_display.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/api/api_display.c b/api/api_display.c index 84debac48af..2e877a85d14 100644 ---

[PATCH 21/39] video: samsung: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- arch/arm/mach-exynos/include/mach/mipi_dsim.h | 1 - board/samsung/common/board.c | 1 - board/samsung/common/misc.c | 1 -

[PATCH 36/39] video: Drop SPLASHIMAGE_CALLBACK

2022-10-19 Thread Simon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass --- configs/m53menlo_defconfig | 1 - drivers/video/Kconfig | 13 - include/env_callback.h | 7 --- 3 files changed, 21 deletions(-) diff --git a/configs/m53menlo_defconfig b/configs/m53menlo_defconfig

[PATCH 25/39] BuR: ronetix: siemens: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- board/BuR/common/common.c | 1 - board/ronetix/pm9263/pm9263.c | 17 - include/configs/pxm2.h| 5 - 3 files changed, 23 deletions(-) diff --git

[PATCH 39/39] video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO

2022-10-19 Thread Simon Glass
Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass --- arch/Kconfig| 2 +- arch/arm/Kconfig| 2 +- arch/arm/mach-imx/cpu.c

[PATCH] arm: dts: rockchip: add support for ROCK 4C+

2022-10-19 Thread FUKAUMI Naoki
this patch add support for Radxa ROCK 4C Plus. Signed-off-by: FUKAUMI Naoki --- arch/arm/dts/Makefile| 1 + arch/arm/dts/rk3399-rock-4c-plus-u-boot.dtsi | 6 + arch/arm/dts/rk3399-rock-4c-plus.dts | 703 +++ arch/arm/dts/rk3399-t-opp.dtsi

[PATCH 00/39] lcd: Drop old LCD support

2022-10-19 Thread Simon Glass
The conversion to DM_VIDEO was completed some years ago. The old video code has been removed but the LCD code remains. This series removes it, to complete the driver model migration. Simon Glass (39): video: Split SPLASH_SCREEN_ALIGN from bmp command Convert CONFIG_HIDE_LOGO_VERSION to

Re: [PATCH 14/24] bootstd: Read the Operating System name for distro/scripts

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:14, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Add the concept of an OS name to the bootflow. This typically includes the > > OS name, version and kernel version. > > > > Implement this for the distro and script bootmeths so

Re: [PATCH 1/1] sandbox: make sandbox system reset configurable

2022-10-19 Thread Simon Glass
Hi Heinrich, On Sun, 16 Oct 2022 at 01:27, Heinrich Schuchardt wrote: > > On 10/15/22 14:04, Michal Suchánek wrote: > > Hello, > > > > On Sat, Oct 15, 2022 at 10:39:19AM +0200, Heinrich Schuchardt wrote: > >> To test the watchdog system reset we need to disable the default sandbox > >> system

Re: [PATCH 16/24] menu: Factor out menu-keypress decoding

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:23, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Move this code into a separate function so that it can be used in the new > > VBE menu. > > > > Signed-off-by: Simon Glass > > --- > > > > common/menu.c | 48

[PATCH 1/4] riscv: dts: update memory configuration

2022-10-19 Thread Padmarao Begari
In the v2022.10 Icicle reference design, the seg registers are going to be changed, resulting in a required change to the memory map. A small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use, so that it can cache its payload between reboots of a specific

[PATCH 0/4] Update Microchip PolarFire SoC

2022-10-19 Thread Padmarao Begari
This patch set updates Microchip PolarFire SoC Icicle Kit support of RISC-V U-Boot. The patches are based upon latest U-Boot tree (https://source.denx.de/u-boot/u-boot) at commit id 3724ddf157aab3bd009c1da234b9a1af1621b544 The memory device node is updated in the device tree based on the latest

[PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Padmarao Begari
Add QSPI NAND device node to the Microchip PolarFire SoC Icicle kit device tree Signed-off-by: Padmarao Begari --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH 13/39] video: Drop VCXK video controller

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- board/BuS/eb_cpu5282/eb_cpu5282.c | 82 - common/stdio.c| 2 - configs/eb_cpu5282_defconfig | 1 - configs/eb_cpu5282_internal_defconfig | 1

[PATCH 06/39] video: Drop CONFIG_LCD_ALIGNMENT

2022-10-19 Thread Simon Glass
This option is not needed now that the LCD implementation is being removed. Drop it. Signed-off-by: Simon Glass --- README | 8 common/lcd.c | 8 include/configs/nyan-big.h | 5 - include/configs/tegra20-common.h | 5

[PATCH 08/39] video: Drop CONFIG_LCD_INFO_BELOW_LOGO

2022-10-19 Thread Simon Glass
This option is not used anymore since the LCD implementation is being removed. Drop it. Signed-off-by: Simon Glass --- api/api_display.c | 2 +- common/lcd.c | 6 +- common/lcd_console.c | 2 +- drivers/video/Kconfig | 4 include/lcd.h | 5 + 5 files changed,

[PATCH 05/39] video: lcd: Drop console rotation

2022-10-19 Thread Simon Glass
This option is not used in U-Boot anymore. Drop it option and the associated implementation. Signed-off-by: Simon Glass --- README| 21 common/Makefile | 1 - common/lcd_console_rotation.c | 194 -- 3 files changed,

[PATCH] arm: dts: rockchip: enable ums/rockusb command for ROCK Pi 4

2022-10-19 Thread FUKAUMI Naoki
this patch add USB mass storage function and Rockusb function for Radxa ROCK Pi 4 series. Signed-off-by: FUKAUMI Naoki --- configs/rock-pi-4-rk3399_defconfig | 3 +++ configs/rock-pi-4c-rk3399_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig

Re: [PATCH v2 11/12] rockchip: lion-rk3368: migrate to u-boot-rockchip.bin

2022-10-19 Thread Quentin Schulz
Hi Kever, On 10/19/22 13:28, Kever Yang wrote: Hi Quentin,     I got below error when apply this patch, could you help to check +Error: arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi:44.16-17 syntax error +FATAL ERROR: Unable to parse input tree +make[3]: ***

Re: [EXTERNAL] Re: [PATCH 1/2] arm: dts: k3-am625-sk: Add OSPI support

2022-10-19 Thread Tom Rini
On Wed, Oct 19, 2022 at 12:17:43PM +0530, Dhruva Gole wrote: > Hi Tom, > > On 06/10/22 21:08, Tom Rini wrote: > > On Tue, Sep 27, 2022 at 10:59:17AM +0530, Dhruva Gole wrote: > > > > > Add DT nodes to enable S28HS512T OSPI flash on the SK board. > > > > > > Signed-off-by: Dhruva Gole > > > ---

Re: [PATCH] Makefile: fix u-boot-initial-env target if lto is enabled

2022-10-19 Thread Max Krummenacher
Hi all Thanks for the feedback On Tue, Oct 18, 2022 at 8:23 PM Tom Rini wrote: > > On Tue, Oct 18, 2022 at 08:19:23PM +0200, Pali Rohár wrote: > > On Tuesday 18 October 2022 14:17:23 Tom Rini wrote: > > > On Tue, Oct 18, 2022 at 08:06:27PM +0200, Pali Rohár wrote: > > > > On Tuesday 18 October

[PATCH 01/39] video: Split SPLASH_SCREEN_ALIGN from bmp command

2022-10-19 Thread Simon Glass
The bmp command already has a way to centre the image. Using this CONFIG option to also centre it makes it impossible to control where images are placed on the screen. Drop the extra check. Simplify the Kconfig file we are here. Signed-off-by: Simon Glass --- cmd/bmp.c | 4 +---

[PATCH 02/39] Convert CONFIG_HIDE_LOGO_VERSION to Kconfig

2022-10-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_HIDE_LOGO_VERSION Signed-off-by: Simon Glass --- configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + drivers/video/Kconfig | 9 +

[PATCH 28/39] video: Drop remaining references to CONFIG_LCD

2022-10-19 Thread Simon Glass
These rely on the old LCD implementation which is to be removed. Drop it all. Signed-off-by: Simon Glass --- README| 45 --- cmd/bdinfo.c | 3 --- common/stdio.c| 3 --- doc/usage/environment.rst

[PATCH 32/39] video: Drop CONFIG_VIDEO

2022-10-19 Thread Simon Glass
This option is not used anymore. Drop it. Signed-off-by: Simon Glass --- cmd/Kconfig | 2 +- drivers/video/Kconfig | 9 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 49247a41c00..835e098078c 100644 --- a/cmd/Kconfig +++

[PATCH 29/39] fdt: Drop support for LCD fixup in simplefb

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- common/fdt_simplefb.c | 8 1 file changed, 8 deletions(-) diff --git a/common/fdt_simplefb.c b/common/fdt_simplefb.c index c52846f4bc5..951956430c3 100644 ---

[PATCH 34/39] video: Drop use of the lcd header file

2022-10-19 Thread Simon Glass
This file is being removed so drop remaining references to it. Signed-off-by: Simon Glass --- board/aristainetos/aristainetos.c | 4 +++- board/l+g/vinco/vinco.c| 1 - board/nvidia/harmony/harmony.c | 1 - board/raspberrypi/rpi/rpi.c| 1

Re: [PATCH v2 11/12] rockchip: lion-rk3368: migrate to u-boot-rockchip.bin

2022-10-19 Thread Kever Yang
Hi Quentin,     This is report by the  denx ci system: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/jobs/515913     And I can reproduce it with buildman sheep-rk3568 Thanks, - Kever On 2022/10/19 20:11, Quentin Schulz wrote: Hi Kever, On 10/19/22 13:28, Kever Yang wrote:

Re: [PATCH v1] rockchip: phycore_rk3288: remove phycore_init() function

2022-10-19 Thread Wadim Egorov
Am 19.10.22 um 00:35 schrieb Johan Jonker: > > On 10/18/22 13:43, Wadim Egorov wrote: >> Hi Johan, >> >> thanks for this Patch. You were faster with the patch. >> >> I hope the size reduction is enough to make it buildable with Kevers patch. > This patch only reduces the SPL size a few hundred

[PATCH 35/39] video: Drop common LCD implementation

2022-10-19 Thread Simon Glass
This code is no-longer used. Drop it. Signed-off-by: Simon Glass --- MAINTAINERS | 2 - common/Makefile | 3 - common/lcd.c | 495 --- common/lcd_console.c | 252 -- include/lcd.h| 207

[PATCH 37/39] video: Make all video options depend on DM_VIDEO

2022-10-19 Thread Simon Glass
Rather than sprinkly this file with 'depends' statements, make all options depend on DM_VIDEO. Signed-off-by: Simon Glass --- drivers/video/Kconfig | 42 +- 1 file changed, 9 insertions(+), 33 deletions(-) diff --git a/drivers/video/Kconfig

[PATCH 33/39] video: Drop CONFIG_LCD

2022-10-19 Thread Simon Glass
This option is not used anymore. Drop it. Signed-off-by: Simon Glass --- cmd/Kconfig | 2 +- drivers/video/Kconfig | 16 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 835e098078c..bdeaeefe67a 100644 --- a/cmd/Kconfig

[PATCH 27/39] efi: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop the existing #ifdef and convert it to C code. Signed-off-by: Simon Glass --- lib/efi_loader/efi_gop.c | 30 -- lib/efi_loader/efi_setup.c | 10 +- 2 files changed, 5 insertions(+), 35

Re: [PATCH 07/24] menu: Use a switch statement

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:07, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Convert the long line of if() statements to a switch() since this makes > > better use of the C language. > > > > Signed-off-by: Simon Glass > > --- > > > > common/menu.c | 31

Re: [PATCH v2] spl: fit: Report fdt error for loading u-boot

2022-10-19 Thread Simon Glass
Hi, On Mon, 17 Oct 2022 at 05:53, Su, Bao Cheng wrote: > > Hi Simon, > +Tom Rini for guidance > On Sat, 2022-07-30 at 19:27 -0600, Simon Glass wrote: > > Hi Bao Cheng, > > > > On Sat, 30 Jul 2022 at 03:05, Su, Bao Cheng wrote: > > > > > > Commit 71551055cbdb ("spl: fit: Load devicetree when a

Re: [PATCH v2] tests: Build correct sandbox configuration on 32bit

2022-10-19 Thread Simon Glass
Hi, On Mon, 17 Oct 2022 at 01:28, Michal Suchánek wrote: > > On Sat, Oct 15, 2022 at 10:27:43PM +0200, Heinrich Schuchardt wrote: > > On 10/15/22 21:46, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Sat, 15 Oct 2022 at 13:29, Heinrich Schuchardt > > > wrote: > > > > > > > > > > > > > >

Re: [PATCH v3 6/6] test: add test for eficonfig secure boot key management

2022-10-19 Thread Simon Glass
iHi Heinrich, On Fri, 14 Oct 2022 at 22:43, Heinrich Schuchardt wrote: > > On 10/15/22 03:10, Simon Glass wrote: > > Hi Ilias, > > > > On Fri, 14 Oct 2022 at 09:59, Ilias Apalodimas > > wrote: > >> > >> Hi Simon, > >> > >> On Fri, 14 Oct 2022 at 18:56, Simon Glass wrote: > >>> > >>> Hi, > >>>

Re: [PATCH 05/24] menu: Update bootmenu_autoboot_loop() to return the code

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 15:53, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Use the return value to save having to pass around a pointer. This also > > resolves any ambiguity about what *key contains when the function is > > called. > > > > Signed-off-by:

[PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Padmarao Begari
Add QSPI driver code for the Microchip PolarFire SoC. This driver supports the qspi standard, dual and quad mode interfaces. Signed-off-by: Padmarao Begari Signed-off-by: Naga Sureshkumar Relli --- drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 +

[PATCH 3/4] riscv: Update Microchip MPFS Icicle Kit support

2022-10-19 Thread Padmarao Begari
This patch updates Microchip MPFS Icicle Kit support. For now, add Microchip QSPI driver and a small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use. Signed-off-by: Padmarao Begari --- board/microchip/mpfs_icicle/Kconfig | 7 +++

[PATCH 20/39] video: Drop atmel LCD code

2022-10-19 Thread Simon Glass
This has not been migrated to DM_VIDEO since 2019. Drop it. Signed-off-by: Simon Glass --- .../mach-at91/arm926ejs/at91sam9n12_devices.c | 39 -- arch/arm/mach-at91/armv7/sama5d3_devices.c| 33 board/atmel/at91sam9261ek/at91sam9261ek.c | 67 -

[PATCH 23/39] compulab: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- board/compulab/common/Makefile| 1 - board/compulab/common/omap3_display.c | 452 -- 2 files changed, 453 deletions(-) delete mode 100644

[PATCH 16/39] video: atmel: Drop pre-DM parts of video driver

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- drivers/video/Kconfig| 3 +- drivers/video/atmel_hlcdfb.c | 213 --- drivers/video/atmel_lcdfb.c | 75 3 files changed, 2

[PATCH 24/39] tegra: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- drivers/video/tegra124/display.c| 1 - include/configs/tegra-common-post.h | 10 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git

[PATCH 19/39] treewide: Stop enabling CONFIG_LCD

2022-10-19 Thread Simon Glass
This option is not used anymore since the LCD implementation is being removed. Stop enabling it on various boards. Signed-off-by: Simon Glass --- configs/evb-px30_defconfig| 1 - configs/firefly-px30_defconfig| 1 - configs/gurnard_defconfig

[PATCH 38/39] pci: Drop test for DM_VIDEO

2022-10-19 Thread Simon Glass
This is not needed anymore, since there is no other option. Signed-off-by: Simon Glass --- drivers/pci/pci_rom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 27a24daa12a..47b6e6e5bcf 100644 --- a/drivers/pci/pci_rom.c +++

Re: [PATCH] Makefile: fix u-boot-initial-env target if lto is enabled

2022-10-19 Thread Max Krummenacher
Hi Tom On Tue, Oct 18, 2022 at 7:57 PM Tom Rini wrote: > > On Tue, Oct 18, 2022 at 07:48:27PM +0200, Max Krummenacher wrote: > > From: Max Krummenacher > > > > With LTO enabled the U-Boot initial environment is no longer stored > > in an easy accessible section in env/common.o. I.e. the section

Re: [PATCH 03/24] bootmenu: Add a few comments

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 15:46, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > The behaviour of these two functions is completely undocumented. Add some > > notes so the poor, suffering dev can figure out what is going on. > > > > Signed-off-by: Simon Glass

Re: [PATCH 04/24] menu: Rename KEY_... to BKEY_...

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 15:55, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > This enum values conflict with linux/input.h so rename them. > > > > Signed-off-by: Simon Glass > > --- > > > > cmd/bootmenu.c | 10 +- > > cmd/eficonfig.c | 26

Re: [PATCH 09/24] image: Add a function to find a script in an image

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:10, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Split this functionality out of the 'source' command so it can be used > > from another place. > > It is not obvious how this relates to changing the series. > > Please, provide a

Re: [PATCH 10/24] video: Enable VIDEO_ANSI by default only with EFI

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:08, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > This is not generally needed unless EFI_LOADER is used. Adjust the default > > setting to reduce the size of the U-Boot build. > > > > Signed-off-by: Simon Glass > > --- > > > >

Re: [PATCH v2] spl: fit: Report fdt error for loading u-boot

2022-10-19 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 19 Oct 2022 07:18:10 -0600 > > Hi, > > On Mon, 17 Oct 2022 at 05:53, Su, Bao Cheng wrote: > > > > Hi Simon, > > > > +Tom Rini for guidance > > > On Sat, 2022-07-30 at 19:27 -0600, Simon Glass wrote: > > > Hi Bao Cheng, > > > > > > On Sat, 30 Jul 2022 at

Re: [PATCH v2] spl: fit: Report fdt error for loading u-boot

2022-10-19 Thread Simon Glass
Hi Mark, On Wed, 19 Oct 2022 at 08:08, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 19 Oct 2022 07:18:10 -0600 > > > > Hi, > > > > On Mon, 17 Oct 2022 at 05:53, Su, Bao Cheng wrote: > > > > > > Hi Simon, > > > > > > > +Tom Rini for guidance > > > > > On Sat, 2022-07-30 at 19:27

[PATCH 03/39] video: Rename CONFIG_SYS_VIDEO_LOGO_MAX_SIZE

2022-10-19 Thread Simon Glass
This option should not have the SYS_ in it. Drop it so it fits in with the other video options. Also simplify the alignment code in gunzip_bmp(), since malloc() always returns a 32-bit-aligned pointer. Signed-off-by: Simon Glass --- board/menlo/m53menlo/m53menlo.c | 6 +++--- cmd/bmp.c

[PATCH 04/39] Convert CONFIG_VIDEO_LOGO_MAX_SIZE to Kconfig

2022-10-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_LOGO_MAX_SIZE Signed-off-by: Simon Glass --- configs/m53menlo_defconfig | 1 + configs/mx6qsabrelite_defconfig | 1 + configs/nitrogen6dl2g_defconfig | 1 + configs/nitrogen6dl_defconfig | 1 +

[PATCH 31/39] video: Drop CONFIG_VIDEO

2022-10-19 Thread Simon Glass
This option is not used anymore. Drop it. Signed-off-by: Simon Glass --- board/technexion/pico-imx7d/README | 1 - configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 - configs/ls1028aqds_tfa_defconfig | 1 - configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 1 -

[PATCH 17/39] video: Drop ld9040 driver

2022-10-19 Thread Simon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass --- board/samsung/universal_c210/universal.c | 1 - drivers/video/Makefile | 1 - drivers/video/ld9040.c | 112 --- include/configs/s5pc210_universal.h | 5 -

[PATCH 14/39] BuR: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- board/BuR/brxre1/board.c | 9 -- board/BuR/common/br_resetc.c | 6 - board/BuR/common/bur_common.h | 6 - board/BuR/common/common.c | 224 --

[PATCH 10/39] video: Move bmp_display() prototype to video.h

2022-10-19 Thread Simon Glass
The lcd.h header is about to be deleted, so move this prototype. Signed-off-by: Simon Glass --- cmd/bmp.c | 10 -- include/video.h | 9 + 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/cmd/bmp.c b/cmd/bmp.c index 5a3c8ddf8c8..880edad8898 100644 ---

Re: [PATCH v2] binman: Add support for symlinking images

2022-10-19 Thread Simon Glass
On Mon, 17 Oct 2022 at 05:06, Neha Malcom Francis wrote: > > Adding support to symlink an image packaged using binman. > > Signed-off-by: Neha Malcom Francis > --- > > Changes in v2: > - added testing for symlink support > - moved from tools.Run('ln',...) to os.symlink() > >

Re: [PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 08:23:20PM +0530, Padmarao Begari wrote: > riscv: dts: Add QSPI NAND device node I didn't notice this on 1/3, but I think we need to mention which board that this is being added for in the shortlog. Thanks, Conor. > Add QSPI NAND device node to the Microchip PolarFire

[PATCH 26/39] video: cmd: Drop old LCD code

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- cmd/bmp.c| 9 - common/board_f.c | 27 +++ common/fdt_support.c | 29 - 3 files changed, 11 insertions(+), 54

[PATCH 07/39] video: Drop CONFIG_LCD_MENU

2022-10-19 Thread Simon Glass
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- board/samsung/common/board.c| 4 - board/samsung/common/misc.c | 339 include/configs/s5pc210_universal.h | 3 - include/configs/trats.h

Re: [PATCH v2 11/12] rockchip: lion-rk3368: migrate to u-boot-rockchip.bin

2022-10-19 Thread Kever Yang
Hi Quentin,     I got below error when apply this patch, could you help to check +Error: arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi:44.16-17 syntax error +FATAL ERROR: Unable to parse input tree +make[3]: *** [arch/arm/dts/rk3368-lion-haikou.dtb] Error 1 +make[2]: *** [arch-dtbs] Error 2

[PATCH 30/39] video: Drop LCD_BPP

2022-10-19 Thread Simon Glass
This is used by the old LCD implementation which is to be removed. Drop it and LCD_OUTPUT_BPP also. Signed-off-by: Simon Glass --- include/configs/at91sam9261ek.h | 7 --- include/configs/at91sam9263ek.h | 7 --- include/configs/at91sam9m10g45ek.h | 5 -

Re: [u-boot][PATCH v2 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-19 Thread Tom Rini
On Wed, Oct 19, 2022 at 11:17:35AM +0300, Roger Quadros wrote: > > > On 18/10/2022 20:40, Tom Rini wrote: > > On Thu, Oct 06, 2022 at 04:23:58PM +0300, Roger Quadros wrote: > >> We will need ti-gpmc driver for SPL. Allow memory drivers > >> do be built for SPL. > >> > >> Signed-off-by: Roger

Re: imx patches pending

2022-10-19 Thread Frieder Schrempf
Hi Stefano, On 19.10.22 09:56, Stefano Babic wrote: > Hi Tim, > > On 14.10.22 18:38, Tim Harvey wrote: >> Stefano, >> >> With the merge window for v2023.01 closing in about a week (10/24), >> can you please look at the pending patches for imx? I'm afraid you may >> have some merge conflicts due

Re: [PATCH v2 11/12] rockchip: lion-rk3368: migrate to u-boot-rockchip.bin

2022-10-19 Thread quentin . schulz
Hi Kever, On 10/19/22 2:47 PM, Kever Yang wrote: Hi Quentin,     This is report by the  denx ci system:

[PATCH v19 1/4] net: Add TCP protocol

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The current standard is TCP with selective acknowledgment. Signed-off-by: Duncan Hare Signed-off-by: Duncan Hare Signed-off-by: Ying-Chun Liu (PaulLiu)

[PATCH v19 3/4] doc: cmd: wget: add documentation

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
Add documentation for the wget command. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Simon Glass --- doc/usage/cmd/wget.rst | 61 ++ doc/usage/index.rst| 1 + 2 files changed, 62 insertions(+) create mode 100644 doc/usage/cmd/wget.rst diff --git

[PATCH v19 4/4] test: cmd: add test for wget command.

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
Simulate a TCP HTTP server's response for testing wget command. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Simon Glass --- test/cmd/Makefile | 1 + test/cmd/wget.c | 206 ++ 2 files changed, 207 insertions(+) create mode 100644 test/cmd/wget.c

Re: [PATCH 1/4] riscv: dts: update memory configuration

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 08:23:19PM +0530, Padmarao Begari wrote: > In the v2022.10 Icicle reference design, the seg registers are going to be > changed, resulting in a required change to the memory map. > A small 4MB reservation is made at the end of 32-bit DDR to provide some > memory for the HSS

Re: [PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Tudor.Ambarus
On 10/19/22 17:53, Padmarao Begari wrote: > + flash0: spi-nand@0 { the node should have generic name according to the dt specification, so please s/spi-nand/flash. -- Cheers, ta

Re: [PATCH 3/4] riscv: Update Microchip MPFS Icicle Kit support

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 08:23:21PM +0530, Padmarao Begari wrote: > This patch updates Microchip MPFS Icicle Kit support. For now, > add Microchip QSPI driver and a small 4MB reservation is > made at the end of 32-bit DDR to provide some memory for > the HSS to use. > > Signed-off-by: Padmarao

Re: [PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Tudor.Ambarus
Hi! On 10/19/22 17:53, Padmarao Begari wrote: > drivers/spi/microchip_qspi.c | 504 +++ The name is too generic, there are multiple QSPI IPs inside mchp. I would suggest to create an mchp directory and rename your c file to maybe something like mpfs-qspi? --

[PATCH v19 0/4] add TCP and HTTP for downloading images

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
This patch is a refresh from previous patches made by Duncan Hare . I've contacted him and continue to work on this patch. This patch introduce a TCP stack with SACK. And a simple wget command to download images from http server. v1-v12: Made by Duncan, didn't tracked. v13: Fix some issues which

Re: [PATCH 00/39] lcd: Drop old LCD support

2022-10-19 Thread Tim Harvey
On Wed, Oct 19, 2022 at 4:58 AM Simon Glass wrote: > > The conversion to DM_VIDEO was completed some years ago. The old video > code has been removed but the LCD code remains. This series removes it, > to complete the driver model migration. > > > Simon Glass (39): > video: Split

Re: [PATCH 00/39] lcd: Drop old LCD support

2022-10-19 Thread Simon Glass
Hi Tim, On Wed, 19 Oct 2022 at 11:07, Tim Harvey wrote: > > On Wed, Oct 19, 2022 at 4:58 AM Simon Glass wrote: > > > > The conversion to DM_VIDEO was completed some years ago. The old video > > code has been removed but the LCD code remains. This series removes it, > > to complete the driver

[PATCH v2] riscv: ae350: Check firmware_fdt_addr header

2022-10-19 Thread Rick Chen
Check firmware_fdt_addr header to see if it is a valid fdt blob. Signed-off-by: Rick Chen Reviewed-by: Leo Yu-Chi Liang --- board/AndesTech/ax25-ae350/ax25-ae350.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c

Re: [PATCH v14 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-10-19 Thread Ilias Apalodimas
Hi Sughosh [...] > + * > + * Read both the metadata copies from the storage media, verify their > checksum, > + * and ascertain that both copies match. If one of the copies has gone bad, > + * restore it from the good copy. > + * > + * Return: 0 if OK, -ve on error > + * > + */ > +int

[GIT PULL] clk changes for v2023.01

2022-10-19 Thread Sean Anderson
The following changes since commit d3ccdc0fce206c1d54fbdc607333de6184e19e75: Merge tag 'efi-2022-10-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-30 08:30:38 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-clk.git

Re: [PATCH v2 2/5] Makefile: Correct a missing FORCE on the binman rule

2022-10-19 Thread Simon Glass
Hi Pali, On Sun, 16 Oct 2022 at 04:16, Pali Rohár wrote: > > On Tuesday 11 October 2022 23:35:22 Masahiro Yamada wrote: > > On Tue, Oct 11, 2022 at 11:16 PM Simon Glass wrote: > > > > > > This is required for if_changed to work correctly. Add it. > > > > > > Signed-off-by: Simon Glass > > >

Re: [PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-19 Thread Sughosh Ganu
hi Ilias, On Thu, 20 Oct 2022 at 01:31, Ilias Apalodimas wrote: > > Hi Sughosh, > > On Tue, Oct 18, 2022 at 05:13:31PM +0530, Sughosh Ganu wrote: > > The FWU Multi Bank Update specification requires the Update Agent to > > carry out certain checks at the time of platform boot. The Update > >

Re: [PATCH v14 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-10-19 Thread Sughosh Ganu
hi Ilias, On Thu, 20 Oct 2022 at 01:26, Ilias Apalodimas wrote: > > Hi Sughosh > > > [...] > > > + * > > + * Read both the metadata copies from the storage media, verify their > > checksum, > > + * and ascertain that both copies match. If one of the copies has gone bad, > > + * restore it from

Re: [PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Padmarao.Begari
Hi Conor, > On Wed, 2022-10-19 at 16:59 +0100, Conor Dooley wrote: > > On Wed, Oct 19, 2022 at 08:23:20PM +0530, Padmarao Begari wrote: > > > riscv: dts: Add QSPI NAND device node > > I didn't notice this on 1/3, but I think we need to mention which > board > that this is being added for in

[PATCH 1/1] imx8m: ddr_init: fix reading of DDR4 MR registers

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
Accorting to commit 290ffe57886271a6 we need to read more significant bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes it by accident. Thus we add the changes back. This is needed to let imx8mm-cl-iot-gate to boot correctly. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Fabio

[PATCH 0/1] imx8m: ddr_init: fix reading of DDR4 MR registers

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
Accorting to commit 290ffe57886271a6 we need to read more significant bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes it by accident. Thus we add the changes back. This is needed to let imx8mm-cl-iot-gate to boot correctly. Ying-Chun Liu (PaulLiu) (1): imx8m: ddr_init:

Re: [PATCH 1/4] riscv: dts: update memory configuration

2022-10-19 Thread Padmarao.Begari
Hi Conor, > On Wed, 2022-10-19 at 16:57 +0100, Conor Dooley wrote: > > On Wed, Oct 19, 2022 at 08:23:19PM +0530, Padmarao Begari wrote: > > In the v2022.10 Icicle reference design, the seg registers are > > going to be > > changed, resulting in a required change to the memory map. > > A small

Re: [PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Padmarao.Begari
Hi Tudor, > On Wed, 2022-10-19 at 15:28 +, Tudor Ambarus - M18064 wrote: > On 10/19/22 17:53, Padmarao Begari wrote: > > + flash0: spi-nand@0 { > > the node should have generic name according to the dt specification, > so please s/spi-nand/flash. > Ok, will use "flash" Regards

Re: [PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Padmarao.Begari
Hi Conor, > On Wed, 2022-10-19 at 17:20 +0100, Conor Dooley wrote: > > On Wed, Oct 19, 2022 at 08:23:22PM +0530, Padmarao Begari wrote: > > Add QSPI driver code for the Microchip PolarFire SoC. > > This driver supports the qspi standard, dual and quad > > mode interfaces. > > > > Signed-off-by:

Re: [PATCH 1/1] imx8m: ddr_init: fix reading of DDR4 MR registers

2022-10-19 Thread Fabio Estevam
Hi Paul, On 19/10/2022 23:33, Ying-Chun Liu (PaulLiu) wrote: Accorting to commit 290ffe57886271a6 we need to read more significant bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes it by accident. Thus we add the changes back. This is needed to let imx8mm-cl-iot-gate to

Re: [PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Padmarao.Begari
Hi Conor, > On Wed, 2022-10-19 at 16:47 +0100, Conor Dooley wrote: > > On Wed, Oct 19, 2022 at 03:16:01PM +, tudor.amba...@microchip.com > wrote: > > Hi! > > > > On 10/19/22 17:53, Padmarao Begari wrote: > > > drivers/spi/microchip_qspi.c | 504 > > > +++ >

Re: [PATCH] clk: change return type of clk_get_parent_rate from long long to ulong

2022-10-19 Thread Sean Anderson
On Wed, 28 Sep 2022 12:37:57 +0200, Michal Suchanek wrote: > All functions getting and setting clock rate use ulong for rate, only > clk_get_parent_rate is an exception. Change the return value to match > other clock rate funcrions. > > Most users directly assign the rate to unsigned long anyway,

Re: [PATCH v2] clk: update clk_clean_rate_cache to use private clk struct

2022-10-19 Thread Sean Anderson
On Mon, 20 Jun 2022 15:37:25 +0200, Patrick Delaunay wrote: > In clk_clean_rate_cache, clk->rate should update the private clock > struct, in particular when CCF is activated, to save the cached > rate value. > > When clk_get_parent_rate is called, the cached information > is read from

Re: [PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 03:16:01PM +, tudor.amba...@microchip.com wrote: > Hi! > > On 10/19/22 17:53, Padmarao Begari wrote: > > drivers/spi/microchip_qspi.c | 504 +++ > > The name is too generic, there are multiple QSPI IPs inside mchp. > I would suggest to

Re: [PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 08:23:22PM +0530, Padmarao Begari wrote: > Add QSPI driver code for the Microchip PolarFire SoC. > This driver supports the qspi standard, dual and quad > mode interfaces. > > Signed-off-by: Padmarao Begari > Signed-off-by: Naga Sureshkumar Relli > --- >

Re: [PATCH] Makefile: fix u-boot-initial-env target if lto is enabled

2022-10-19 Thread Pali Rohár
On Wednesday 19 October 2022 14:59:49 Max Krummenacher wrote: > Hi Tom > > On Tue, Oct 18, 2022 at 7:57 PM Tom Rini wrote: > > > > On Tue, Oct 18, 2022 at 07:48:27PM +0200, Max Krummenacher wrote: > > > From: Max Krummenacher > > > > > > With LTO enabled the U-Boot initial environment is no

[PATCH v19 2/4] net: Add wget application

2022-10-19 Thread Ying-Chun Liu (PaulLiu)
This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} Signed-off-by: Duncan Hare Signed-off-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass Cc: Christian Gmeiner Cc: Joe Hershberger Cc: Michal Simek Cc: Ramon Fried

Re: [PATCH] rockchip: clk: pll: Fix constant typo

2022-10-19 Thread Sean Anderson
On Wed, 28 Sep 2022 12:41:29 +0200, Michal Suchanek wrote: > Applied, thanks! [1/1] rockchip: clk: pll: Fix constant typo commit: fe45c6d714a00ff4ce69d73350efe28b6dea87b0 Best regards, -- Sean Anderson

  1   2   >