Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread neil . armstrong
On 14/12/2023 21:15, Tom Rini wrote: On Thu, Dec 14, 2023 at 01:48:42PM -0600, Rob Herring wrote: On Thu, Dec 14, 2023 at 12:23 PM Tom Rini wrote: On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: Hi, On 14/12/2023 14:50, Sumit Garg wrote: Prerquisite

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Krzysztof Kozlowski
On 14/12/2023 20:48, Rob Herring wrote: >> >> I think some of the important questions to ask are, how often / likely >> are the breakages to occur? It seems like these days it's either: >> - U-Boot had an early version of the binding and we already state we >> don't support backwards

Re: [PATCH v1 1/1] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking

2023-12-14 Thread Michal Simek
Hi Neal, On 12/14/23 18:11, Frager, Neal wrote: Hi Michal, This patch corrects the k24 som clocking configuration such that the serdes Corrects the ... Ok. clocks are correctly enabled and the usb0 is configured to use the psgtr refclk2 for usb3 mode. I sort of have no problem

[PATCH v2 1/1] arm64: zynqmp: Enable usb3 for k24 som

2023-12-14 Thread Neal Frager
Currently, the u-boot zynqmp psgtr driver is not connected to the usb dwc3 driver. Without this, the only way for u-boot to be able to use usb3 is if the psgtr serdes clocking is already enabled in the psu_init_gpl.c. This patch enables the psgtr serdes for usb3 use, so the u-boot dwc3 driver

[PATCH] arm: dts: agilex: Increase reserved memory size to 32MB

2023-12-14 Thread dinesh . maniyam
From: Dinesh Maniyam The reserved space is extended to 32MB in Linux kernel because additional space is needed for authorization execution of JIC/RBF file. U-Boot required to align with Linux. Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2

[PATCH] clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0)

2023-12-14 Thread dinesh . maniyam
From: Dinesh Maniyam MEMCLKMGR_EXTCNTRST_C0CNTRST register defined as BIT[0] in documentation but it is wrongly defined as BIT[7] in u-boot code. This register is used to hold associated pingpong counter in reset while PLL and 5:1 mux configuration is changed. Signed-off-by: Dinesh Maniyam ---

Re: [PATCH 00/17] video: dw_hdmi: Support Vendor PHY

2023-12-14 Thread Kever Yang
Hi Jagan, On 2023/12/15 14:36, Jagan Teki wrote: Hi Heiko/Kerver/Anatoloj, On Mon, Dec 11, 2023 at 2:30 PM Jagan Teki wrote: Unlike RK3399, Sunxi/Meson DW HDMI the new Rockchip SoC Rk3328 would support external vendor PHY with DW HDMI chip. Support this vendor PHY by adding new platform PHY

RE: [PATCH v2 05/21] riscv: Add a reset_cpu() function

2023-12-14 Thread Chanho Park
> -Original Message- > From: Simon Glass > Sent: Friday, December 15, 2023 1:50 AM > To: U-Boot Mailing List > Cc: Tom Rini ; Simon Glass ; Chanho > Park ; Heinrich Schuchardt ; > Leo ; Nikita Shubin ; Rick Chen > > Subject: [PATCH v2 05/21] riscv: Add a reset_cpu() function > > The

Re: [PATCH 00/17] video: dw_hdmi: Support Vendor PHY

2023-12-14 Thread Jagan Teki
Hi Heiko/Kerver/Anatoloj, On Mon, Dec 11, 2023 at 2:30 PM Jagan Teki wrote: > > Unlike RK3399, Sunxi/Meson DW HDMI the new Rockchip SoC Rk3328 would > support external vendor PHY with DW HDMI chip. > > Support this vendor PHY by adding new platform PHY ops via DW HDMI > driver and call the

Re: [PATCH v3] board: ti: common: board_detect: Fix EEPROM offset read for 1-byte

2023-12-14 Thread Prasanth Mantena
On 15:15-20231107, Neha Malcom Francis wrote: > Hi Prasanth, > > On 30/10/23 22:34, Prasanth Babu Mantena wrote: > > EEPROM detection logic in ti_i2c_eeprom_get() involves reading > > the total size and the 1-byte size with an offset 1. The commit > > 9f393a2d7af8 ("board: ti: common:

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Sumit Garg
On Fri, 15 Dec 2023 at 01:45, Tom Rini wrote: > > On Thu, Dec 14, 2023 at 01:48:42PM -0600, Rob Herring wrote: > > On Thu, Dec 14, 2023 at 12:23 PM Tom Rini wrote: > > > > > > On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: > > > > Hi, > > > > > > > > On 14/12/2023

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Sumit Garg
On Thu, 14 Dec 2023 at 23:53, Tom Rini wrote: > > On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: > > Hi, > > > > On 14/12/2023 14:50, Sumit Garg wrote: > > > Prerquisite > > > > s/Prerquisite/Prerequisite/ > > Ack. > > > --- > > > > > > This patch series

[PATCH v2 16/16] x86: Drop message about features being missing with 64-bit

2023-12-14 Thread Simon Glass
At this point most things work, including booting a distro, so drop this message. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/spl.c | 2 +- doc/board/emulation/qemu-x86.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 15/16] pxe: Allow booting without CMDLINE for the zboot method

2023-12-14 Thread Simon Glass
Use zboot_run() to boot rather than the command line. This allows extlinux to be used (on x86) without CMDLINE being enabled. Collect any error but do not return it, to match the existing code. Signed-off-by: Simon Glass --- (no changes since v1) boot/pxe_utils.c | 19 --- 1

[PATCH v2 14/16] pxe: Allow booting without CMDLINE for bootm methods

2023-12-14 Thread Simon Glass
Use bootm_run() and booti_run() to boot rather than the command line. This allows extlinux to be used without CMDLINE being enabled. Collect any error but do not return it, to match the existing code. Signed-off-by: Simon Glass --- Changes in v2: - Update commit message to mention booti - Use

[PATCH v2 13/16] pxe: Move calculation of FDT file into a function

2023-12-14 Thread Simon Glass
This code undertakes a separate task from the main logic of label_run_boot() so move it into its own function. Signed-off-by: Simon Glass --- (no changes since v1) boot/pxe_utils.c | 112 +++ 1 file changed, 64 insertions(+), 48 deletions(-) diff

[PATCH v2 12/16] pxe: Refactor to avoid over-using bootm_argv

2023-12-14 Thread Simon Glass
The bootm_argv[3] expression is used in many places. It is the FDT address, so use that name throughout. Assign it to bootm_argv[3] only at the end, when all the conditions are resolved. Signed-off-by: Simon Glass --- (no changes since v1) boot/pxe_utils.c | 22 -- 1 file

[PATCH v2 11/16] pxe: Refactor to reduce the size of label_boot()

2023-12-14 Thread Simon Glass
This function is far too long and complicated. Split out the part which actually calls the boot commands into a separate function. Change a strncpy() to strlcpy() to keep checkpatch happy. No functional change is intended. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 10/16] pxe: Use strlcpy() instead of strcpy() in label_boot()

2023-12-14 Thread Simon Glass
The intention here is to nul-terminate the result string, so use the correct function for that. Signed-off-by: Simon Glass --- Changes in v2: - Split out the strlcpy() change into its own patch boot/pxe_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 09/16] doc: Mention fastboot dependency on CMDLINE

2023-12-14 Thread Simon Glass
The fastboot 'boot' command only supports running a U-Boot command if CONFIG_CMDLINE is enabled. Mention this in the documentation. Signed-off-by: Simon Glass Suggested-by: Tom Rini --- (no changes since v1) doc/android/fastboot.rst | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 08/16] fastboot: Remove dependencies on CMDLINE

2023-12-14 Thread Simon Glass
It is possible to boot a kernel without CMDLINE being enabled. Update the implementation to handle this, and drop the condition from the FASTBOOT config. Signed-off-by: Simon Glass --- Changes in v2: - Avoid changing the logic when a command is not set drivers/fastboot/Kconfig | 1 -

[PATCH v2 07/16] bootm: Make cmdline optional with bootm_boot_start()

2023-12-14 Thread Simon Glass
Allow the default command line to be used when booting the OS. This is needed by fastboot. Signed-off-by: Simon Glass --- Changes in v2: - Drop check for NULL with env_set() include/bootm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bootm.h b/include/bootm.h

[PATCH v2 06/16] fastboot: Change fastboot_buf_addr to an address

2023-12-14 Thread Simon Glass
Given the name of this variable, it should be an address, not a pointer. Update this, to make it easier to use with sandbox. Signed-off-by: Simon Glass Reviewed-by: Dmitrii Merkurev Reviewed-by: Mattijs Korpershoek Tested-by: Mattijs Korpershoek # on vim3 --- Changes in v2: - Use

[PATCH v2 05/16] boot: Update SYS_BOOTM_LEN to depend on BOOTM

2023-12-14 Thread Simon Glass
Use the new CONFIG_BOOTM symbol to determine whether SYS_BOOT_LEN is visible or not, since we want to support decompression when CMDLINE is disabled. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 04/16] treewide: Make arch-specific bootm code depend on BOOTM

2023-12-14 Thread Simon Glass
Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass --- (no changes since v1) arch/arc/lib/Makefile| 2 +- arch/arm/lib/Makefile| 2 +- arch/m68k/lib/Makefile | 2 +-

[PATCH v2 03/16] bootm: Make OS booting dependent on BOOTM

2023-12-14 Thread Simon Glass
Booting an OS does not require the 'bootm' command, so change the condition for these options. Move them into boot/ so they don't depend on CMDLINE Note that CMD_BOOTM_PRE_LOAD has been put directly into the bootm code so will need some additional refactoring (and a test!) to allow it to change

[PATCH v2 02/16] bootm: Add a Kconfig option for bootm functionality

2023-12-14 Thread Simon Glass
Create a separate Kconfig option which enables the bootm logic, separate from the 'bootm' command. This will eventually allow booting without CMDLINE enabled. Update boards which disable CMD_BOOTM to disable BOOTM instead, since CMD_BOOTM now depends on BOOTM Signed-off-by: Simon Glass --- (no

[PATCH v2 01/16] boot: Reorder FIT and BOOTSTD to be first

2023-12-14 Thread Simon Glass
The boot menu shows Android first and then a timestamp option. Move these later since they are less commonly used. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

Re: [PATCH] mtd: spi-nor: Add support for Macronix flash part

2023-12-14 Thread Dragan Simic
On 2023-12-14 17:36, Tejas Bhumkar wrote: Added support for Macronix OSPI flash parts MX25UM51345G and MX66UM2G45G, with initial testing conducted on the Tenzing-se1 board using STR mode for basic erase, write, and readback operations. Signed-off-by: Tejas Bhumkar ---

Re: [PATCH 1/2] ARM: imx: Force DRAM regulators into FPWM mode on Data Modul i.MX8M Plus eDM SBC

2023-12-14 Thread Fabio Estevam
On Thu, Dec 7, 2023 at 2:51 PM Marek Vasut wrote: > > In case the Buck5 and Buck6 regulators which supply DRAM Vdd1 and Vdd2/Vddq > respectively operate in automatic PWM/PFM mode, the DRAM EDAC detects more > correctable errors than if the regulators operate in forced PWM only mode. > Force DRAM

Re: [PATCH] ARM: imx: Enable CAAM on DH i.MX8M Plus DHCOM

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:58 PM Marek Vasut wrote: > > Enable CAAM in U-Boot to make crypto available early in the boot process. > > This has a side-effect that in case an older kernel version contains a > broken CAAM initialization timeout code, initialization in bootloader > will help that old

Re: [PATCH] ARM: imx: Enable CAAM on Data Modul i.MX8M Mini/Plus eDM SBC

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:56 PM Marek Vasut wrote: > > Enable CAAM in U-Boot to make crypto available early in the boot process. > > This has a side-effect that in case an older kernel version contains a > broken CAAM initialization timeout code, initialization in bootloader > will help that old

Re: [PATCH] ddr: imx: Add 3600 MTps rate support

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:49 PM Marek Vasut wrote: > > Add PLL settings for DDR 3600 MTps . This is very similar to 3200 MTps > PLL setting, except the divider is not 9 but 8 . > > Signed-off-by: Marek Vasut Applied to u-boot-imx master, thanks.

Re: [PATCH] ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:48 PM Marek Vasut wrote: > > The new MX8M DDR tool 3.31 now generates a programming file which uses > data rate 3734 instead of 3733 or 3732 . Handle another rounding option . > > Signed-off-by: Marek Vasut Applied to u-boot-imx master, thanks.

Re: [PATCH] arm64: imx8mp: Inhibit DTC warning on DH i.MX8MP DHCOM rev.100 DTO

2023-12-14 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 9:04 PM Marek Vasut wrote: > > Inhibit DTC warning in imx8mp-dhcom-pdk3-overlay-rev100.dts: > " > arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dtbo: Warning (reg_format): > /fragment@0/__overlay__:reg: property has invalid length (4 bytes) > (#address-cells == 2,

Re: [PATCH 1/3] board: gateworks: venice: remove extra file

2023-12-14 Thread Fabio Estevam
On Thu, Dec 14, 2023 at 1:22 PM Tim Harvey wrote: > > Remove lpddr4_timing_imx8mm_512mb.c mistakenly committed > > Fixes: a1c711046b0d "(board: gateworks: venice: add imx8mm-gw7903 support)" > Signed-off-by: Tim Harvey Applied all to u-boot-imx master, thanks.

[PATCH v2] board: rockchip: Add the Turing RK1 SoM

2023-12-14 Thread Joshua Riek
The Turing RK1 is a Rockchip RK3588 based SoM from Turing Machines. Specifications: Rockchip RK3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16/32GB memory LPDDR4x Mali G610MC4 GPU 32GB eMMC HS400 2x USB 2.0, 2x USB 3.0 2x MIPI CSI 4x lanes 1x MIPI-DSI DPHY 2x

Re: [PATCH v4 1/8] binman: ti-secure: Add support for firewalling entities

2023-12-14 Thread Jon Cormier
Hi Manorit, This commit added a possibly unintentional dependency on python 3.9+. I ran into this while trying to build the soon-to-be-released 09.01.00.008. Build failure on ubuntu 20.04 which uses python 3.8: "binman: 'type' object is not subscriptable" This can be fixed by: diff --git

Re: [PATCH 1/7] doc: Update documentation URL

2023-12-14 Thread Simon Glass
Hi Heinrich, On Thu, 14 Dec 2023 at 00:21, Heinrich Schuchardt wrote: > > > > Am 13. Dezember 2023 21:39:12 MEZ schrieb Simon Glass : > >Update to use the new docs.u-boot.org URL for documentation. > > Who owns that domain? Can we let http://www.u-boot.org forward to > https://docs.u-boot.org?

Re: [PATCH RFC] dt-bindings: nvmem: u-boot, env: add any-name MAC cells compatible

2023-12-14 Thread Simon Glass
Hi Rafał, On Thu, 14 Dec 2023 at 08:36, Rafał Miłecki wrote: > > From: Rafał Miłecki > > So far we had a property for "ethaddr" NVMEM cell containing base > Ethernet MAC address. The problem is vendors often pick non-standard > names for storing MAC(s) (other than "ethaddr"). A few names were >

Re: Proposal: FIT support for extension boards / overlays

2023-12-14 Thread Simon Glass
+Masahiro Yamada too On Wed, 13 Dec 2023 at 01:22, Geert Uytterhoeven wrote: > > Hi, > > On Tue, Dec 12, 2023 at 4:52 PM Andrew Davis wrote: > > On 12/12/23 8:05 AM, Simon Glass wrote: > > > The devicetree files for a board can be quite large, perhaps around > > > 60KB. To boot on any supported

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2023-12-14 Thread Simon Glass
Hi Rob, On Thu, 14 Dec 2023 at 10:27, Rob Herring wrote: > > On Fri, Dec 08, 2023 at 03:58:10PM -0700, Simon Glass wrote: > > Hi Rob, > > > > On Fri, 8 Dec 2023 at 14:56, Rob Herring wrote: > > > > > > On Fri, Dec 8, 2023 at 11:47 AM Simon Glass wrote: > > > > > > > > Hi Rob, > > > > > > > >

Re: [GIT PULL] xilinx patches for v2024.04-rc1

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 04:50:53PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these patches to your next branch. There is nothing > controversial from my point of view. The biggest change is to create new > kria defconfig to target couple of boards based on ZynqMP. There is going to >

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-14 Thread Andrew Davis
On 12/14/23 2:10 PM, b...@ti.com wrote: On December 14, 2023 thus sayeth Marcel Ziswiler: Hi Apurva Thanks! On Wed, 2023-12-06 at 18:07 +0530, Apurva Nandan wrote: Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. For the

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 01:48:42PM -0600, Rob Herring wrote: > On Thu, Dec 14, 2023 at 12:23 PM Tom Rini wrote: > > > > On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: > > > Hi, > > > > > > On 14/12/2023 14:50, Sumit Garg wrote: > > > > Prerquisite > > > > > >

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-14 Thread b...@ti.com
On December 14, 2023 thus sayeth Marcel Ziswiler: > Hi Apurva > > Thanks! > > On Wed, 2023-12-06 at 18:07 +0530, Apurva Nandan wrote: > > Hello Everyone! > > > > This series will introduce basic support (SD and UART) support for Texas > > Instruments J784S4 EVM. > > For the whole series: > >

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Rob Herring
On Thu, Dec 14, 2023 at 12:23 PM Tom Rini wrote: > > On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: > > Hi, > > > > On 14/12/2023 14:50, Sumit Garg wrote: > > > Prerquisite > > > > s/Prerquisite/Prerequisite/ > > > > > --- > > > > > > This patch series requires

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-14 Thread Ilias Apalodimas
Hi Mark, Abdellatif On Thu, 14 Dec 2023 at 18:47, Mark Kettenis wrote: > > > Date: Thu, 14 Dec 2023 15:53:46 + > > From: Abdellatif El Khlifi > > Hi Abdellatif, > > > Hi guys, > > > > I'd like to ask for advice regarding adding EFI RT support to the Arm's > > FF-A bus > > in U-Boot. > > >

Re: [PATCH] spi: cadence-quadspi: Fix error message on stuck busy state

2023-12-14 Thread Jagan Teki
On Mon, Oct 30, 2023 at 9:50 PM Jan Kiszka wrote: > > From: Jan Kiszka > > We are not iterating CQSPI_REG_RETRY, we are waiting 'timeout' ms, since > day 1. > > Signed-off-by: Jan Kiszka > --- Applied to u-boot-spi/master

Re: [PATCH] mtd: spi-nor-ids: add support for xtx XT55Q02G

2023-12-14 Thread Jagan Teki
On Wed, Oct 18, 2023 at 9:08 AM Bruce Suen wrote: > > Add support for XTX XT55Q02G(1.8V,2Gbit). > > Signed-off-by: Bruce Suen > --- Applied to u-boot-spi/master

[PATCH V2] board: rockchip: add Powkiddy X55

2023-12-14 Thread Chris Morgan
From: Chris Morgan The Powkiddy X55 is a Rockchip RK3566 based handheld gaming device. UART, ADC, eMMC, and SDMMC are tested to work in U-Boot and this successfully boots mainline Linux. Changes since V1: - Built on top of this patch series [1] which makes the ADC detect function more

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote: > Hi, > > On 14/12/2023 14:50, Sumit Garg wrote: > > Prerquisite > > s/Prerquisite/Prerequisite/ > > > --- > > > > This patch series requires devicetree-rebasing git repo to be added as a > > subtree to the main

Re: [PATCH v2 1/1] mtd: spinand: add support for ESMT F50x1G41LB

2023-12-14 Thread Jagan Teki
On Wed, Oct 18, 2023 at 12:59 AM Igor Prusov wrote: > > Adaptation of Linux commit d74c36480a67 > > This patch adds support for ESMT F50L1G41LB and F50D1G41LB. > It seems that ESMT likes to use random JEDEC ID from other vendors. > Their 1G chips uses 0xc8 from GigaDevice and 2G/4G chips uses

[v2 16/16] lib: Remove inclusion from these files

2023-12-14 Thread Tom Rini
After some header file cleanups to add missing include files, remove common.h from all files in the lib directory. This primarily means just dropping the line but in a few cases we need to add in other header files now. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- lib/abuf.c

[v2 15/16] include: Further cleanup includes

2023-12-14 Thread Tom Rini
Add some missing headers such as or or to header files that make direct usage of things provided by these headers. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- include/atmel_lcd.h | 2 ++ include/getopt.h| 2 ++ include/mapmem.h| 2 ++ include/memalign.h | 1 +

[v2 13/16] efi_loader: Remove

2023-12-14 Thread Tom Rini
We largely do not need in these files, so drop it. The only exception here is that efi_freestanding.c needs and had been getting that via . Signed-off-by: Tom Rini --- lib/efi_loader/dtbdump.c | 1 - lib/efi_loader/efi_acpi.c | 1 -

[v2 14/16] display_options: Clean up headers

2023-12-14 Thread Tom Rini
In include/display_options.h we cannot include ourself, but do need directly. Then in lib/display_options.c we further clean the list to remove common.h. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- lib/display_options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[v2 12/16] rmobile: Add to cpu_info-rzg2l.c

2023-12-14 Thread Tom Rini
In order for RMOBILE_CPU_TYPE_R9A07G044L to be defined we need to include here. Signed-off-by: Tom Rini Reviewed-by: Marek Vasut --- arch/arm/mach-rmobile/cpu_info-rzg2l.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rmobile/cpu_info-rzg2l.c

[v2 11/16] lib/sha*.c: Update header list

2023-12-14 Thread Tom Rini
Cleanup the list of headers we include here. For the tools build we only need to exclude as that's used by the target build for the prototype for schedule(), and we don't need to get that via . We can also make use of our intentionally existing as a redirection to to reduce ifdef'd lines.

[v2 09/16] m68k: Rework asm/global_data.h slightly

2023-12-14 Thread Tom Rini
In the architecture global data, replace the one case of u32 with unsigned long. Now, we can drop config.h here but then do need to add it in two m68k-centric spaces. Signed-off-by: Tom Rini Acked-by: Angelo Dureghello --- arch/m68k/include/asm/cache.h | 2 ++

[v2 10/16] global: Rework architecture global_data.h to include

2023-12-14 Thread Tom Rini
In most cases, the architecture global data currently makes use of assorted linux types, but does not include to provide them. Add instead of relying on indirect inclusion. Signed-off-by: Tom Rini --- Changes in v2: - Update include/system-constraints.h and board/cssi/cmpc885/sdram.c ---

[v2 08/16] sandbox: Add to asm/global_data.h and asm/io.h

2023-12-14 Thread Tom Rini
We need in these files as we reference Linux types. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/sandbox/include/asm/global_data.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h index

[v2 07/16] arm: Remove from asm/global_data.h

2023-12-14 Thread Tom Rini
We need and include and this in turn already includes , so drop it here. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/include/asm/global_data.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index

[v2 03/16] arm: Partial cleanup and audit usage of

2023-12-14 Thread Tom Rini
We need to include directly when a file needs to have something such as CFG_SYS_SDRAM_SIZE referenced as this file is not automatically globally included and is most commonly indirectly included via common.h. Remove most cases of arm including config.h directly, but add it where needed. This

[v2 06/16] global: Remove duplicate common.h inclusions

2023-12-14 Thread Tom Rini
These files include twice. Start by removing the second inclusion of the file. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- board/data_modul/common/common.c | 1 - board/grinn/liteboard/board.c | 1 - board/toradex/colibri_imx7/colibri_imx7.c | 1 -

[v2 05/16] global: Drop common.h inclusion

2023-12-14 Thread Tom Rini
In order to make it easier to move on to dropping common.h from code directly, remove common.h inclusion from the rest of the header file which had been including it. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- board/BuR/common/br_resetc.h | 1 -

[v2 04/16] sandbox: Audit config.h and common.h usage

2023-12-14 Thread Tom Rini
Remove and replace common.h and config.h in sandbox when it's not needed and add some explicit includes where needed. Signed-off-by: Tom Rini --- Changes in v2: - Drop from arch/sandbox/cpu/state.c as it's also not needed and leads to unrelated build failures with CMDLINE=n ---

[v2 02/16] arc: Cleanup and audit usage of

2023-12-14 Thread Tom Rini
We need to include directly when a file needs to have something such as CFG_SYS_SDRAM_SIZE referenced as this file is not automatically globally included and is most commonly indirectly included via common.h. Remove most cases of arc including config.h directly, but add it where needed. Further

[v2 01/16] qe: Add to linux/immap_qe.h

2023-12-14 Thread Tom Rini
Given how we define QE_MURAM_SIZE today, this header needs to have added to it. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- include/linux/immap_qe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/immap_qe.h b/include/linux/immap_qe.h index

Re: [PATCH v1] drivers: mtd: spi: Add support for GD55LB02GEBIR SPI NOR flash

2023-12-14 Thread Jagan Teki
On Fri, Aug 4, 2023 at 7:56 AM Jit Loon Lim wrote: > > From: Teik Heng Chong > > Add Support for GigaDevice GD55LB02GEBIR SPI NOR flash as QSPI > configuration flash > > Signed-off-by: Teik Heng Chong > --- Applied to u-boot-spi/master

Re: [PATCH v1] drivers: spi: Add MT25U01G part number for SPI NOR Flash

2023-12-14 Thread Jagan Teki
On Fri, Aug 4, 2023 at 7:57 AM Jit Loon Lim wrote: > > MT25QU01 OPN with 4B OPCODE support is currently not supported in > source code and the driver reuses the definition for "n25q00a" > which has the same silicon ID but is a slower part. > > Adding mt25u01g definition to the source code to

Re: [PATCH] drivers: mtd: Add MT25QU128AB params

2023-12-14 Thread Jagan Teki
On Sat, Aug 5, 2023 at 2:05 AM wrote: > > From: Godfrey Mwangi > > Add Micron MT25QU128AB flash. > > Signed-off-by: Godfrey Mwangi > --- Applied u-boot-spi/master

Re: [PATCH v2] spi: cadence_qspi: Select flash subnode at runtime

2023-12-14 Thread Jagan Teki
On Tue, Sep 12, 2023 at 3:20 PM Udit Kumar wrote: > > Currently spi driver gets flash parameter from first subnode. > > Few boards have more than one flash with different parameters > and selection of flash is done by on board switch settings. > In such case, uboot needs to be recompiled with

Re: [PATCH v1] spi: spi-nor-ids: add flash model w25q01/02 support

2023-12-14 Thread Jagan Teki
On Tue, Sep 26, 2023 at 2:40 PM Jim Liu wrote: > > add flash w25q01jv, w25q01jvfim and w25q02jv support > > Signed-off-by: Jim Liu > --- Applied to u-boot-spi/master

Re: [patch v1] arm add initial support for the Phytium Pe2201 Board board:phytium:add pe2201 folder,It initializes pcie, ddr and other aspects of phytium pe2201 board dts:add phytium_pe2201.dts,it is

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 11:06:58AM +0800, tracymg...@outlook.com wrote: > From: TracyMg_Li > > Signed-off-by: TracyMg_Li Please rework your commit message. > --- > arch/arm/Kconfig | 8 ++ > arch/arm/dts/Makefile| 1 + > arch/arm/dts/phytium-pe2201.dts | 43

Re: [PATCH] spi: cadence-quadspi: Fix error message on stuck busy state

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 06:36:37PM +0100, Jan Kiszka wrote: > On 31.10.23 08:14, Stefan Roese wrote: > > On 10/30/23 17:20, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> We are not iterating CQSPI_REG_RETRY, we are waiting 'timeout' ms, since > >> day 1. > >> > >> Signed-off-by: Jan Kiszka >

Re: [PATCH] lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 05:54:17PM +0100, Csókás Bence wrote: > Signed-off-by: Csókás Bence Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] arm: spl: Use separate fault handlers instead of a single common one

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 05:29:31PM +0100, Csókás Bence wrote: > It may be necessary to set breakpoints etc. on a specific fault handler in > SPL. > Add a Kconfig option to separate the different handlers into their own > individual infinite loops. > > Signed-off-by: Csókás Bence > --- >

Re: [PATCH v2 17/21] bootm: Create a function to run through the bootm states

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:26AM -0700, Simon Glass wrote: > In quite a few places, the bootm command is used to handle a boot. We > want these to be done without needing CONFIG_CMDLINE, so add a new > bootm_run() function to handle this. > > Signed-off-by: Simon Glass [snip] > +int

Re: [PATCH v2 16/21] bootm: Tidy up boot_selected_os()

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:25AM -0700, Simon Glass wrote: > Use struct bootm_info with this function, to avoiding needing to > create a new one. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 15/21] bootm: Rename do_bootm_states() to bootm_run_states()

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:24AM -0700, Simon Glass wrote: > Rename the function to bootm_run_states() to better indicate ts > purpose. The 'do_' prefix is used to indicate a command processor, > which this is now not. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom

Re: [PATCH v2 10/21] bootm: Add more fields to bootm_info

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:19AM -0700, Simon Glass wrote: > Add fields for the three bootm parameters and other things needed for > booting. Also add a helper to set up the struct correctly. > > Signed-off-by: Simon Glass [snip] > diff --git a/include/bootm.h b/include/bootm.h > index

Re: [PATCH v2 14/21] bootm: Drop arguments from do_bootm_states()

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:23AM -0700, Simon Glass wrote: > Use the bootm_info struct to hold the information required by bootm. > > Now that none of the functions called from do_bootm_states() needs an > argv[] list, change the arguments of do_bootm_states() as well. Take > care to use the

Re: [PATCH v2 13/21] bootz: Avoid use of #ifdef

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:22AM -0700, Simon Glass wrote: > Use the compiler to get the set of states, instead of the preprocessor. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 11/21] bootm: Move do_bootm_states() comment to header file

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:20AM -0700, Simon Glass wrote: > This is an exported function, so move the function comment to the > bootm.h header file. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 12/21] booti: Avoid use of #ifdef

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:21AM -0700, Simon Glass wrote: > Use the compiler to get the set of states, instead of the preprocessor. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 09/21] bootm: Adjust arguments of boot_os_fn

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:18AM -0700, Simon Glass wrote: > Adjust boot_os_fn to use struct bootm_info instead of the separate > argc, argv and image parameters. Update the handlers accordingly. Few > of the functions make use of the arguments, so this improves code size > slightly. > >

Re: [PATCH v2 08/21] bootm: Create a struct for argument information

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 09:50:17AM -0700, Simon Glass wrote: > Some OS functions require the arguments to the 'bootm' command. This is > inconvenient for two reasons. > > Firstly, there may not be any actual command, if CMDLINE is not enabled > and programmatic boot is being used. > > Secondly,

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-14 Thread Marcel Ziswiler
Hi Apurva Thanks! On Wed, 2023-12-06 at 18:07 +0530, Apurva Nandan wrote: > Hello Everyone! > > This series will introduce basic support (SD and UART) support for Texas > Instruments J784S4 EVM. For the whole series: Tested-by: Marcel Ziswiler However, one thing I noticed is that with

Re: [PATCH] spi: cadence-quadspi: Fix error message on stuck busy state

2023-12-14 Thread Jan Kiszka
On 31.10.23 08:14, Stefan Roese wrote: > On 10/30/23 17:20, Jan Kiszka wrote: >> From: Jan Kiszka >> >> We are not iterating CQSPI_REG_RETRY, we are waiting 'timeout' ms, since >> day 1. >> >> Signed-off-by: Jan Kiszka > > Reviewed-by: Stefan Roese > > Thanks, > Stefan > >> --- >> >> We are

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2023-12-14 Thread Rob Herring
On Fri, Dec 08, 2023 at 03:58:10PM -0700, Simon Glass wrote: > Hi Rob, > > On Fri, 8 Dec 2023 at 14:56, Rob Herring wrote: > > > > On Fri, Dec 8, 2023 at 11:47 AM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Fri, 8 Dec 2023 at 08:00, Rob Herring wrote: > > > > > > > > On Thu, Nov 16,

Re: [PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Fabio Estevam
Hi Tim, On Thu, Dec 14, 2023 at 2:09 PM Tim Harvey wrote: > Fabio, > > Thanks for asking. I suppose I should have put a Fixes on "[2/3] > imx8mp-venice: fix DRAM bus configuration" as that one does resolve a > real issue (patch 1 just removes a bogus file and patch 3 is a memory > speed

RE: [PATCH v1 1/1] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking

2023-12-14 Thread Frager, Neal
Hi Michal, > >> This patch corrects the k24 som clocking configuration such that the serdes > >> Corrects the ... > > Ok. > >> clocks are correctly enabled and the usb0 is configured to use the psgtr >> refclk2 for usb3 mode. > >> I sort of have no problem with this patch but it should be

Re: [PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Tim Harvey
On Thu, Dec 14, 2023 at 8:29 AM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Dec 14, 2023 at 1:22 PM Tim Harvey wrote: > > > > The imx8mp venice boards can support 2000Mhz DRAM. > > Update the DRAM config to support this. > > > > Signed-off-by: Tim Harvey > > Do you consider this series

Re: [PATCH v1 1/1] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking

2023-12-14 Thread Michal Simek
Hi Neal, On 12/14/23 17:30, Frager, Neal wrote: Hi Michal, This patch corrects the k24 som clocking configuration such that the serdes Corrects the ... Ok. clocks are correctly enabled and the usb0 is configured to use the psgtr refclk2 for usb3 mode. I sort of have no problem with

[PATCH] lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure

2023-12-14 Thread Csókás Bence
Signed-off-by: Csókás Bence --- lib/rsa/rsa-sign.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index d20bdb58a5..0d67a80b82 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -317,7 +317,8 @@ static int

[PATCH v2 00/21] Complete decoupling of bootm logic from commands

2023-12-14 Thread Simon Glass
This series continues refactoring the bootm code to allow it to be used with CONFIG_COMMAND disabled. The OS-handling code is refactored and a new bootm_run() function is created to run through the bootm stages. This completes the work. A booti_go() function is created also, in case it proves

[PATCH] arm: spl: Use separate fault handlers instead of a single common one

2023-12-14 Thread Csókás Bence
It may be necessary to set breakpoints etc. on a specific fault handler in SPL. Add a Kconfig option to separate the different handlers into their own individual infinite loops. Signed-off-by: Csókás Bence --- arch/arm/Kconfig | 10 ++ arch/arm/lib/vectors.S | 18

[PATCH v2 21/21] bootm: Create a function to run through the booti states

2023-12-14 Thread Simon Glass
In a few places, the booti command is used to handle a boot. We want these to be done without needing CONFIG_CMDLINE, so add a new booti_run() function to handle this. So far this is not used. Signed-off-by: Simon Glass --- Changes in v2: - Rework series to allow OS access to cmdline arguments

[PATCH v2 20/21] stm32: Use bootm_run() and bootz_run()

2023-12-14 Thread Simon Glass
Use the new bootm/z_run() functions to avoid having to create an argument list for the stm32prog code. Signed-off-by: Simon Glass --- (no changes since v1) .../cmd_stm32prog/cmd_stm32prog.c | 20 ++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git

  1   2   >