[PATCH] ARM: imx: Reinstate decode ECSPI env location from i.MX8M ROMAPI tables

2022-12-09 Thread Marek Vasut
Decode ECSPI boot device in env_get_location() from i.MX8M ROMAPI tables. This is necessary to correctly identify env is in SPI NOR when the system boots from SPI NOR attached to ECSPI. This reinstates change from commit: e26d0152d61 ("ARM: imx: Decode ECSPI env location from i.MX8M ROMAPI

Re: [PATCH] Nokia RX-51: Use ENTRY/ENDPROC for save_boot_params

2022-12-09 Thread Tom Rini
On Thu, Nov 24, 2022 at 12:45:00AM +0100, Pali Rohár wrote: > ENTRY/ENDPROC macros from linux/linkage.h will make code more readable and > also will properly mark assembly symbol in ELF binary as function symbol. > > Signed-off-by: Pali Rohár Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v4 2/2] rtc: Add fallbacks for dm functions

2022-12-09 Thread Tom Rini
On Tue, Nov 22, 2022 at 12:54:52PM -0500, Sean Anderson wrote: > This adds fallbacks for the various dm_rtc_* functions. This allows > common code to use these functions without ifdefs. > > Fixes: c8ce7ba87d1 ("misc: Add support for nvmem cells") > Reviewed-by: Simon Glass > Signed-off-by: Sean

Re: [PATCH v4 1/2] x86: fsp: Only compile fsp_save_s3_stack if (SPL_)DM_RTC is enabled

2022-12-09 Thread Tom Rini
On Tue, Nov 22, 2022 at 12:54:51PM -0500, Sean Anderson wrote: > This function calls rtc_write32, which has a different signature > depending on if (SPL_)DM_RTC is enabled or not. This could result in a > mismatch in SPL if DM_RTC was enabled but SPL_DM_RTC, as the non-DM > declaration would

Re: [PATCH 8/8] configs: introduce configs for the am62a

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:58PM -0500, Bryan Brattlof wrote: > Introduce the minimum configs, only SD-MMC and UART boot related > settings, to serve as a good starting point for the am62a as we add more > functionality. > > Signed-off-by: Bryan Brattlof Applied to u-boot/next, thanks! --

Re: [PATCH 7/8] board: ti: introduce the basic files needed to support the am62a

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:57PM -0500, Bryan Brattlof wrote: > Introduce the bare minimum SD and UART support for the am62a sk. > > Signed-off-by: Bryan Brattlof > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 6/8] arm: mach-k3: am62a: introduce auto-generated SoC data

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:56PM -0500, Bryan Brattlof wrote: > Introduce the auto-generated clock tree and power domain data needed to > attach the am62a into the power-domain and clock frameworks of uboot > > Signed-off-by: Bryan Brattlof Applied to u-boot/next, thanks! -- Tom

Re: [PATCH 5/8] arm: mach-k3: introduce basic files to support the am62a

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:55PM -0500, Bryan Brattlof wrote: > Introduce the mach-k3 files needed to properly boot TI's am62a SoC > family of devices > > Signed-off-by: Bryan Brattlof Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/8] soc: ti: k3-socinfo: add am62a SoC entry

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:54PM -0500, Bryan Brattlof wrote: > Add identification support for TI's am62ax family of SoCs > > Signed-off-by: Bryan Brattlof > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/8] ram: k3-ddrss: add am62a controller support

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:53PM -0500, Bryan Brattlof wrote: > TI's am62a family of SoCs uses a new 32bit DDR controller that shares > much of the same functionality with the existing am64 and j721e > controllers. > > Select this controller by default when u-boot is build for the am62a > >

Re: [PATCH 1/8] arm: dts: introduce am62a7 dtbs from linux kernel

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:51PM -0500, Bryan Brattlof wrote: > Introduce the basic am62a7 SoC dtbs from the v6.1-rc3 tag of the linux > kernel along with the new am62a specific pinmux definition that we will > use to generate the dtbs for the u-boot-spl and u-boot binaries > >

Re: [PATCH 2/8] arm: dts: introduce am62a7 u-boot dtbs

2022-12-09 Thread Tom Rini
On Thu, Nov 03, 2022 at 07:13:52PM -0500, Bryan Brattlof wrote: > Introduce the base dts files needed for u-boot or to augment the > linux dtbs for use in the u-boot-spl and u-boot binaries > > Signed-off-by: Vignesh Raghavendra > Signed-off-by: Bryan Brattlof Applied to u-boot/next, thanks!

Re: [PATCH 3/3] configs: enable OSPI related configs in AM62x

2022-12-09 Thread Tom Rini
On Thu, Oct 27, 2022 at 08:23:11PM +0530, Dhruva Gole wrote: > Add am62x_evm_r5_defconfig for OSPI Flash support in R5 SPL > and am62x_evm_a53_defconfig for A53 SPL and U-Boot > support. > These configs enable OSPI Flash boot functionality in the board as well > as the usage of OSPI Flash from

Re: [PATCH 2/3] arm: dts: Add OSPI support for AM62-SK

2022-12-09 Thread Tom Rini
On Thu, Oct 27, 2022 at 08:23:10PM +0530, Dhruva Gole wrote: > Add OSPI Support such that this device can boot up using OSPI Flash. > Also can use the flash for other purposes if required from uboot. > > Signed-off-by: Dhruva Gole Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH 1/3] arm: dts: k3-am62x: sync dt with linux kernel

2022-12-09 Thread Tom Rini
On Thu, Oct 27, 2022 at 08:23:09PM +0530, Dhruva Gole wrote: > Sync the DT Files with linux kernel (tag v6.0.3) > > Signed-off-by: Dhruva Gole Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] ram: k3-ddrss: add auto-generated macros for am62a support

2022-12-09 Thread Tom Rini
On Mon, Oct 24, 2022 at 04:53:28PM -0500, Bryan Brattlof wrote: > The new 32bit DDR controller for TI's am62a family of SoCs shares much > of the same functionality with the existing 16bit (am64) and 32bit > (j721e) controllers, so this patch reorganizes the existing > auto-generated macros for

Re: [PATCH] spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY

2022-12-09 Thread Tom Rini
On Fri, Dec 09, 2022 at 01:58:26PM +0100, Michael Nazzareno Trimarchi wrote: > Hi > > On Fri, Dec 9, 2022 at 1:55 PM Michael Nazzareno Trimarchi > wrote: > > > > Hi > > > > On Fri, Dec 9, 2022 at 1:52 PM Dai Okamura > > wrote: > > > > > > This fixes the header offset calculation. > > > > > >

Re: [PATCH 1/4] riscv: spl: Introduce SPL_OPENSBI_OS_BOOT

2022-12-09 Thread Tom Rini
On Fri, Dec 09, 2022 at 08:48:37AM -0500, Sean Anderson wrote: > On 12/7/22 01:23, Rick Chen wrote: > > In RISC-V, it only provide normal mode booting currently. > > To speed up the booting process, here provide SPL_OPENSBI_OS_BOOT > > to achieve this feature which will be call Fast-Boot mode. By

[PATCH v3 1/1] arm: mvebu: Espressobin: Fix default env variables

2022-12-09 Thread Derek LaHousse
Default env variables on Espressobin boards are broken since commit c4df0f6f315c ("arm: mvebu: Espressobin: Set default value for $fdtfile env variable") as well as the 'env default -a' command. The algorithm to find free space in the default_environment[] array returns after the first env

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-09 Thread Tony Dinh
On Thu, Dec 8, 2022 at 10:56 PM Stefan Roese wrote: > > Hi Tony, > > On 12/9/22 04:55, Tony Dinh wrote: > > Hi Simon et al, > > > > (Resend to include u-boot mailing list) > > > > I'm in the process of converting Kirkwood boards to use DM SERIAL. I > > could not seem to get it to work, having

Re: [PATCH v1] test: env: add test for u-boot-initial-env creation

2022-12-09 Thread Simon Glass
On Sat, 10 Dec 2022 at 01:10, Max Krummenacher wrote: > > From: Max Krummenacher > > Checks that `make u-boot-initial-env` creates the text file > u-boot-initial-env and checks that it at least contains > `board=`. > > Signed-off-by: Max Krummenacher > > --- > > Changes in v1: > I assume every

Re: [PATCH 2/2] dts: synquacer: Drop unused and undocumented GPIO 'base' property

2022-12-09 Thread Jassi Brar
On Thu, 8 Dec 2022 at 23:10, Masahisa Kojima wrote: > > + Jassi > > On Fri, 9 Dec 2022 at 11:45, Rob Herring wrote: > > > > The 'base' GPIO controller property is unused in u-boot and Linux. It is > > also not documented in the binding. So drop it. > > > > Signed-off-by: Rob Herring > > --- > >

Re: [PATCH 1/2] dts: synquacer: Drop unused and undocumented SPI properties

2022-12-09 Thread Jassi Brar
On Thu, 8 Dec 2022 at 23:09, Masahisa Kojima wrote: > > + Jassi > > On Fri, 9 Dec 2022 at 11:45, Rob Herring wrote: > > > > 'active_clk_edges' and 'chipselect_num' SPI controller properties are > > unused in u-boot and Linux. They are also not documented in the binding. > > So drop them. > > > >

[PATCH 2/2] ARM: imx: Remove PMIC reset configuration from board files

2022-12-09 Thread Marek Vasut
The PCA9450 reset configuration can now be performed by the PCA9450 PMIC driver itself, remove the hard-coded variant from board code and let the PMIC driver perform this task using one-liner: ``` $ sed -i '/set WDOG_B_CFG to cold reset/,+2 d' $(git grep -l PCA9450_RESET_CTRL.*0xA1 board/) ```

[PATCH 1/2] pmic: pca9450: Make warm reset on WDOG_B assertion

2022-12-09 Thread Marek Vasut
The default configuration of the PMIC behavior makes the PMIC power cycle most regulators on WDOG_B assertion. This power cycling causes the memory contents of OCRAM to be lost. Some systems neeeds some memory that survives reset and reboot, therefore this patch is created. The implementation is

Re: [PATCH] Makefile: link with --no-warn-rwx-segments

2022-12-09 Thread Ilias Apalodimas
On Wed, Dec 07, 2022 at 03:49:43PM -0500, Tom Rini wrote: > We borrow from the Linux Kernel 0d362be5b142 ("Makefile: link with -z > noexecstack --no-warn-rwx-segments") here to disable the RWX segment > linking warnings. We do not also bring in -z noexecstack as that > requires auditing and using

Re: [PATCH] Makefile: link with --no-warn-rwx-segments

2022-12-09 Thread Nick Desaulniers
On Wed, Dec 07, 2022 at 03:49:43PM -0500, Tom Rini wrote: > We borrow from the Linux Kernel 0d362be5b142 ("Makefile: link with -z > noexecstack --no-warn-rwx-segments") here to disable the RWX segment Reviewed-by: Nick Desaulniers > linking warnings. We do not also bring in -z noexecstack as

Re: DDR timing for vendor board

2022-12-09 Thread Daniel Schwierzeck
Hi Rob, On 12/9/22 12:10, Rob Kramer wrote: Hi Jack, Thanks for your suggestion, I hadn't thought of using just the rkbin ddr file together with u-boot SPL. My biggest objection was the rkbin miniloader that makes assumptions on partition layout. It seems to work, but now I'm in for some DT

[PATCH v3] rtc: add ht1380 driver

2022-12-09 Thread Sergei Antonov
Support Holtek HT1380/HT1381 Serial Timekeeper Chip. It provides seconds , minutes, hours, day of the week, date, month and year information. Datasheet: https://www.holtek.com.tw/documents/10179/11842/ht1380_1v130.pdf Signed-off-by: Sergei Antonov --- v3: Suggested by Simon Glass: * remove

R: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-12-09 Thread Pegorer Massimo
Hi Sean, > Da: Sean Anderson > Inviato: lunedì 28 novembre 2022 16:46 > > On 11/22/22 21:09, Simon Glass wrote: > > Hi Pegorer, > > > > On Sat, 19 Nov 2022 at 11:01, Pegorer Massimo > wrote: > >> > >> Commit 87b0af9317cb4105f3f29cb0a4c28c7cd87ea65f added support for > signing auto-generated

Re: [PATCH v4 2/2] arm: rk3399: usb2phy: phy-rockchip-inno-usb2.c: Implement operations for the 480MHz usb2phy clock in rk3399.

2022-12-09 Thread Xavier Drudis Ferran
This clock has no users but appears in a phandle list used by ehci-generic.c to bulk enable it. The phandle list comes from linux, where it is needed for suspend/resume to work [1]. My tests give the same results with or without this patch, but Marek Vasut found it weird to declare an empty

R: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-12-09 Thread Pegorer Massimo
Hi, > Da: Simon Glass > Inviato: domenica 4 dicembre 2022 22:17 > > ()Hi Sean, > > On Tue, 29 Nov 2022 at 04:45, Sean Anderson > wrote: > > > > On 11/22/22 21:09, Simon Glass wrote: > > > Hi Pegorer, > > > > > > On Sat, 19 Nov 2022 at 11:01, Pegorer Massimo > wrote: > > >> > > >> Commit

Re: [PATCH v4 1/2] arm: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2022-12-09 Thread Xavier Drudis Ferran
arch/arm/dts/rk3399.dtsi has a node usb_host0_ehci: usb@fe38 { compatible = "generic-ehci"; with clocks: clocks = < HCLK_HOST0>, < HCLK_HOST0_ARB>, <>; The first 2 refer to nodes with class UCLASS_CLK, but has class UCLASS_PHY. u2phy0: usb2phy@e450 {

Re: [PATCH v4 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2022-12-09 Thread Xavier Drudis Ferran
arch/arm/dts/rk3399.dtsi has a node usb_host0_ehci: usb@fe38 { compatible = "generic-ehci"; with clocks: clocks = < HCLK_HOST0>, < HCLK_HOST0_ARB>, <>; The first 2 refer to nodes with class UCLASS_CLK, but has class UCLASS_PHY. u2phy0: usb2phy@e450 {

[PATCH] net: zynq_gem: Add support for new compatible str with xlnx prefix

2022-12-09 Thread Michal Simek
cdns prefix was deprecated and replaced by xlnx one. Signed-off-by: Michal Simek --- Link: https://lore.kernel.org/r/20220726070802.26579-1-krzysztof.kozlow...@linaro.org --- drivers/net/zynq_gem.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c

[PATCH v1] arch/arm: sm: introduce efusedump command

2022-12-09 Thread Alexey Romanov
Using this command user can print efuse memory: $ sm efusedump 0 10 : ff 00 31 00 00 ff 66 00 00 00 ..1...f... Signed-off-by: Alexey Romanov --- arch/arm/mach-meson/sm.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git

Re: [SPAM] [PATCH v5 4/7] rockchip: Support building the all output files in binman

2022-12-09 Thread Jerome Forissier
On 12/9/22 15:24, Quentin Schulz wrote: > Hi Simon, > > On 12/8/22 18:32, Simon Glass wrote: >> Hi Xavier, >> >> On Fri, 9 Dec 2022 at 03:25, Xavier Drudis Ferran wrote: >>> >>> El Thu, Dec 08, 2022 at 08:56:57AM +1300, Simon Glass deia: + @tee-SEQ { +

[PATCH 1/1] doc: update Sphinx requirements for certifi

2022-12-09 Thread Heinrich Schuchardt
Upgrade to version 2022.12.7. Signed-off-by: Heinrich Schuchardt --- doc/sphinx/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/requirements.txt b/doc/sphinx/requirements.txt index 5baec4d93e..f9f6cc6e92 100644 --- a/doc/sphinx/requirements.txt

Re: [SPAM] [PATCH v5 4/7] rockchip: Support building the all output files in binman

2022-12-09 Thread Quentin Schulz
Hi Simon, On 12/8/22 18:32, Simon Glass wrote: Hi Xavier, On Fri, 9 Dec 2022 at 03:25, Xavier Drudis Ferran wrote: El Thu, Dec 08, 2022 at 08:56:57AM +1300, Simon Glass deia: + @tee-SEQ { + fit,operation = "split-elf"; +

Re: [PATCH 1/4] riscv: spl: Introduce SPL_OPENSBI_OS_BOOT

2022-12-09 Thread Sean Anderson
On 12/7/22 01:23, Rick Chen wrote: In RISC-V, it only provide normal mode booting currently. To speed up the booting process, here provide SPL_OPENSBI_OS_BOOT to achieve this feature which will be call Fast-Boot mode. By Can you name this something different. We already have something called

Re: [PATCH v2] imx6: Re-add mmc aliases

2022-12-09 Thread Detlev Casanova
On Friday, December 9, 2022 6:01:13 A.M. EST Peter Robinson wrote: > On Thu, Dec 8, 2022 at 3:23 PM Detlev Casanova > > wrote: > > In commit d0399a46e7cda63c07e3eb8558bef84cfb068028, the device tree was > > synchronized from linux and the aliases were dropped. > > Is there a reason not to get

Re: [PATCH] spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY

2022-12-09 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 9, 2022 at 1:55 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Fri, Dec 9, 2022 at 1:52 PM Dai Okamura wrote: > > > > This fixes the header offset calculation. > > > > This issue was found on uniphier v7 SoCs with SPL. > > > > Fixes: 06377c5a1f ("spl: spl_legacy: Fix NAND

[PATCH 4/5] arm64: zynqmp: Align gpio-key node names with dtschema

2022-12-09 Thread Michal Simek
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). It is based on kernel commit (228e8a88b1915a2b467c83d8d0976605f1272fae). Signed-off-by: Michal Simek --- Link: https://lore.kernel.org/r/20220616005333.18491-30-krzysztof.kozlow...@linaro.org

[PATCH 5/5] arm64: zynqmp: Remove id from usb node name

2022-12-09 Thread Michal Simek
There is no reason to have number in usb node name. This is also sync up patch with upstream kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index

[PATCH 3/5] arm64: zynqmp: Fix AMS device tree node

2022-12-09 Thread Michal Simek
Aligned node description with the Linux kernel. Node has been added by kernel commit (271c1fa01c2307cf74f4656390d621119c3e). Signed-off-by: Robert Hancock Signed-off-by: Michal Simek --- Link: https://lore.kernel.org/r/20220120010246.3794962-2-robert.hanc...@calian.com Signed-off-by:

[PATCH 2/5] arm64: zynqmp: Added GEM reset definitions

2022-12-09 Thread Michal Simek
The Cadence GEM/MACB driver now utilizes the platform-level reset on the ZynqMP platform. Add reset definitions to the ZynqMP platform device tree to allow this to be used. Linux upstream commit (e461bd6f43f4e568f7436a8b6bc21c4ce6914c36). Signed-off-by: Robert Hancock Signed-off-by: Michal Simek

[PATCH 1/5] arm64: zynqmp: Sync #dma-cells property location

2022-12-09 Thread Michal Simek
Sync property location with Linux kernel done by Linux commit (1ff2d58e60c8093e9be935b1f191341c0cda957a). Signed-off-by: Michal Simek --- Link: https://lore.kernel.org/r/20220112151541.1328732-3-m.tret...@pengutronix.de --- arch/arm/dts/zynqmp.dtsi | 32 1

[PATCH 0/5] arm64: zynqmp: DT sync with Linux kernel

2022-12-09 Thread Michal Simek
Hi, I found some differences between kernel and u-boot that's why do small sync up. Thanks, Michal Michal Simek (5): arm64: zynqmp: Sync #dma-cells property location arm64: zynqmp: Added GEM reset definitions arm64: zynqmp: Fix AMS device tree node arm64: zynqmp: Align gpio-key node

Re: [PATCH] spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY

2022-12-09 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 9, 2022 at 1:52 PM Dai Okamura wrote: > > This fixes the header offset calculation. > > This issue was found on uniphier v7 SoCs with SPL. > > Fixes: 06377c5a1f ("spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard") > Signed-off-by: Dai Okamura > --- > common/spl/spl_legacy.c |

[PATCH] spl: spl_legacy: fix invalid offset in SPL_COPY_PAYLOAD_ONLY

2022-12-09 Thread Dai Okamura
This fixes the header offset calculation. This issue was found on uniphier v7 SoCs with SPL. Fixes: 06377c5a1f ("spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard") Signed-off-by: Dai Okamura --- common/spl/spl_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] i2c: uniphier-f: correct error recovery

2022-12-09 Thread Dai Okamura
The uniphier i2c block can recognize some handshake errors. But driver handles all error detections as no error if no timeout. So this makes unrecoverable state. This replaces the return values with the right ones to tell the i2c framework the errors: - EDEADLK for arbitration lost error -

[PATCH 3/3] arm: uniphier: use DM_TIMER of arm a9 global timer

2022-12-09 Thread Dai Okamura
All uniphier v7 SoCs have cortex-a9 and use cortex-a9 global timer in a simple implementation. Now DM_TIMER of it is available on 35751c7f3f ("timer: sti: convert sti-timer to arm a9 global timer"), so let's switch to it. The old driver reads the lower 32bits of counter field and sets the

[PATCH 1/3] pinctrl: uniphier: add check if pins are valid

2022-12-09 Thread Dai Okamura
The pinctrl datas of uniphier SoCs are the minimal subsets of kernel's one, and some tables has no data to save the footprint size. If the board dts tries to match a pin name on no pins defined SoC, the footprint magic code causes "Synchronous Abort". This checks if the 'pins' data is valid, and

[PATCH 0/3] uniphier: solve some issues and update

2022-12-09 Thread Dai Okamura
This is a series of corrections for uniphier SoCs. - Fix boot failure on PXs3 Ref board - Migrate to DM_TIMER of arm a9 global timer, and remove CONFIG_SYS_TIMER_RATE (to meet the deadline 2023.01 just in time!) Dai Okamura (3): pinctrl: uniphier: add check if pins are valid pinctrl:

[PATCH 2/3] pinctrl: uniphier: add ethernet TX pin data for PXs3

2022-12-09 Thread Dai Okamura
PXs3 Ref boards need to change the strength of ethernet ports for stability, like LD20's one. This adds the table data and fixes the boot issue on PXs3 Ref board. Fixes: 0852033309 ("ARM: uniphier: sync with Linux 5.8-rc4") Signed-off-by: Dai Okamura ---

[PATCH 0/1] cmd: change the return value when argc error

2022-12-09 Thread Shenlin Liang
When the number of parameters is wrong, the return value should be processed in the same way as other cmds, return CMD_RET_USAGE so that it can print the information. Shenlin Liang (1): cmd: change the return value when arguments missing cmd/mvebu/comphy_rx_training.c | 2 +- 1 file

[PATCH 1/1] cmd: change the return value when argc error

2022-12-09 Thread Shenlin Liang
When the number of parameters is wrong, the return value should be processed in the same way as other cmds, return CMD_RET_USAGE so that it can print the information. Signed-off-by: Shenlin Liang --- cmd/mvebu/comphy_rx_training.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] net: dw_eth_qos: Add 64-bit addressing

2022-12-09 Thread Ley Foon Tan
Set upper 32bit address for DMA descriptors and buffer address to support 64-bit addressing. Signed-off-by: Ley Foon Tan --- drivers/net/dwc_eth_qos.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/net/dwc_eth_qos.c

[PATCH v1] test: env: add test for u-boot-initial-env creation

2022-12-09 Thread Max Krummenacher
From: Max Krummenacher Checks that `make u-boot-initial-env` creates the text file u-boot-initial-env and checks that it at least contains `board=`. Signed-off-by: Max Krummenacher --- Changes in v1: I assume every board has a board environment variable but I don't test its value. I.e. the

Re: [PATCH] dm: pmic: ignore disabled node in pmic_bind_children

2022-12-09 Thread Patrick DELAUNAY
Hi Jaehoon, On 10/26/22 15:05, Patrick Delaunay wrote: Ignore the disabled children node in pmic_bind_children() so the disabled regulators in device tree are not registered. This patch is based on the dm_scan_fdt_node() code - only the activated nodes are bound - and it solves possible issue

Re: [PATCH v2] usb: gadget: rndis: Prevent InformationBufferOffset manipulation

2022-12-09 Thread Szymon Heidrich
On 09/12/2022 02:56, Marek Vasut wrote: > On 12/5/22 10:28, Szymon Heidrich wrote: >> Prevent access to arbitrary memory locations in gen_ndis_set_resp >> via manipulation of buf->InformationBufferOffset. Original >> implementation permits manipulation of InformationBufferOffset to >> exploit

Re: DDR timing for vendor board

2022-12-09 Thread Rob Kramer
Hi Jack, Thanks for your suggestion, I hadn't thought of using just the rkbin ddr file together with u-boot SPL. My biggest objection was the rkbin miniloader that makes assumptions on partition layout. It seems to work, but now I'm in for some DT pain :) Cheers,     Rob 9 Dec 2022 00:49:30

Re: [PATCH v2] imx6: Re-add mmc aliases

2022-12-09 Thread Peter Robinson
On Thu, Dec 8, 2022 at 3:23 PM Detlev Casanova wrote: > > In commit d0399a46e7cda63c07e3eb8558bef84cfb068028, the device tree was > synchronized from linux and the aliases were dropped. Is there a reason not to get this change upstreamed in to Linux and then this wouldn't be a problem moving

[PATCH] engicam: imx6: migrate to DM_SERIAL

2022-12-09 Thread Suniel Mahesh
From: Michael Trimarchi Add the needed DT overrides and configs to enable UART in SPL. Cc: Fabio Estevam Signed-off-by: Michael Trimarchi Tested-by: Suniel Mahesh --- Note: Tested this patch on Engicam Starter Kit with I.CORE - M6 (MCIMX6Q7CVT08AC) SOM. ---

Re: [PATCH] efi_loader: Measure the loaded DTB

2022-12-09 Thread Heinrich Schuchardt
On 12/9/22 08:31, Etienne Carriere wrote: Hello Heinrich and all, Thanks for the feedback. On Thu, 8 Dec 2022 at 10:10, Heinrich Schuchardt wrote: Am 8. Dezember 2022 09:01:26 MEZ schrieb Ilias Apalodimas : Hi Heinrich On Thu, Dec 08, 2022 at 05:12:26AM +0100, Heinrich Schuchardt wrote: