Re: [PATCH 1/2] sunxi: add H2+ config option

2021-10-09 Thread Andre Przywara
On Sat, 9 Oct 2021 14:18:58 +0200 Angelo Dureghello wrote: Hi Angelo, > Add H2+ Kconfig oiption to display proper cpu at boot time, > and for other future uses, if needed, to differentiate against H3. > > The patch does not change any board defconfig at this stage, > so that nothing is broken.

Please pull u-boot-video

2021-10-09 Thread Anatolij Gustschin
0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20211009 for you to fetch changes up to 79c05335a9c101f0b54f2f378d0b08c9b765e1a3: video: move MXS to Kconfig (2021-10-09 19:5

[PATCH 1/1] mmc: Fix mmc_switch excessive timeout

2021-10-09 Thread Kirill Kapranov
Fix branching to avoid premature falling back on a long timeout instead of continuation of the initialization attempt. Clear of the comment to avoid the ambiguity. Signed-off-by: Kirill Kapranov Cc: Pantelis Antoniou Cc: Ye Li --- drivers/mmc/mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v6 00/11] board: toradex: verdin-imx8mm: target refresh

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler An assortment of fixes and improvements like an Ethernet PHY configuration fix, DEK blob encapsulation preparation, migration to using binman to pack images, SLEEP_MOCI# enablement, dropping of V1.0 hardware support [1], renaming kernel image variable, using preboot for fdt

[PATCH v6 09/11] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-10-09 Thread Marcel Ziswiler
From: Oleksandr Suvorov Variable "kernel_image" is used in boot.scr script only, that sets its own default value to the constant string @@KERNEL_IMAGETYPE@@ in case "kernel_image" is not set. The default name of the kernel image shipped with BSP 5.x is "Image.gz". Setting kernel_image="Image" as

[PATCH v6 05/11] verdin-imx8mm: switch to use binman to pack images

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Use binman to pack images. Signed-off-by: Marcel Ziswiler Reviewed-by: Heiko Thiery Reviewed-by: Fabio Estevam Reviewed-by: Heiko Schocher --- (no changes since v4) Changes in v4: - Add Heiko Schocher's reviewed-by tag. - Fix copyright periods. Changes in v3: - Case

[PATCH v6 10/11] verdin-imx8mm: use preboot for fdtfile evaluation

2021-10-09 Thread Marcel Ziswiler
From: Igor Opaniuk Enable and set preboot var with fdtfile evaluation. It will be checked and run immediately before starting the CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp. entering interactive mode. This provides possibility to use different boot cmds in interactive m

[PATCH v6 06/11] verdin-imx8mm: enable sleep_moci output

2021-10-09 Thread Marcel Ziswiler
From: Max Krummenacher This powers some peripherals on the carrier board e.g. the USB hub. Related-to: ELB-3206 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 18 ++ confi

[PATCH v6 11/11] verdin-imx8mm: fix watchdog pinctrl issue

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Finally, found the root cause of the issue already once mentioned back here [2] which caused the following error message during boot: imx_wdt watchdog@3028: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 Turns out while the watchdog node itself wa

[PATCH v6 08/11] verdin-imx8mm: drop support for v1.0 hardware

2021-10-09 Thread Marcel Ziswiler
From: Max Krummenacher We drop support for Verdin iMX8M Mini V1.0B. Related-to: ELB-3551 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v5) Changes in v5: - Re-based on top of u-boot-imx, master yet again. Changes in v4: - R

[PATCH v6 07/11] verdin-imx8mm: clean-up include order

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Alphabetically order includes. While at it also update copyright year resp. period. Signed-off-by: Marcel Ziswiler --- (no changes since v3) Changes in v3: - New patch cleaning up include order. board/toradex/verdin-imx8mm/verdin-imx8mm.c | 4 ++-- 1 file changed, 2 in

[PATCH v6 04/11] arm64: dts: imx8mm-verdin-u-boot.dtsi: alphabetically re-order

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Alphabetically re-order nodes and properties. Signed-off-by: Marcel Ziswiler --- Changes in v6: - New patch. arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/imx8mm-verdin-u-boot.

[PATCH v6 03/11] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receives the DEK and

[PATCH v6 01/11] imx8m: clean-up kconfig indentation

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Replace spurious spaces with proper tabs. Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v1) arch/arm/mach-imx/imx8m/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx/im

[PATCH v6 02/11] verdin-imx8mm: fix ethernet

2021-10-09 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out Microship (formerly Micrel) meanwhile integrated proper support for the DLL setup on their KSZ9131. Unfortunately, this conflicts with our previous board code doing that. Fix this by getting rid of our board code and just relying on the generic implementation relyi

Re: [PATCH] lz4: Use a private header for U-Boot

2021-10-09 Thread Tom Rini
On Sat, Oct 09, 2021 at 09:28:21AM -0600, Simon Glass wrote: > At present U-Boot has a header file called lz4.h for its own use. If the > host has its own lz4 header file installed (e.g. from the 'liblz4-dev' > package) then host builds will use that instead. > > Move the U-Boot file into its own

[PATCH u-boot-marvell 12/12] arm: mvebu: turris_omnia: Move CONFIG_SPL_DRIVERS_MISC to Kconfig

2021-10-09 Thread Marek Behún
From: Marek Behún Instead of declaring CONFIG_SPL_DRIVERS_MISC in board config header, select it in Kconfig. Signed-off-by: Marek Behún --- arch/arm/mach-mvebu/Kconfig| 1 + include/configs/turris_omnia.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mve

[PATCH u-boot-marvell 11/12] arm: mvebu: turris_omnia: Move SPL's SYS_MALLOC_SIMPLE to Kconfig

2021-10-09 Thread Marek Behún
From: Marek Behún Instead of declaring CONFIG_SYS_MALLOC_SIMPLE dependant on CONFIG_SPL_BUILD in board config header, select CONFIG_SPL_SYS_MALLOC_SIMPLE in Kconfig. Signed-off-by: Marek Behún --- arch/arm/mach-mvebu/Kconfig| 1 + include/configs/turris_omnia.h | 4 2 files changed, 1

[PATCH u-boot-marvell 10/12] arm: mvebu: turris_omnia: Use show_board_info()

2021-10-09 Thread Marek Behún
From: Marek Behún We are printing board information in checkboard() function, which is called from the default weak implementation of show_board_info(). Rename checkboard() to show_board_info(). This throws away the weak implementation of show_board_info(). Signed-off-by: Marek Behún --- boar

[PATCH u-boot-marvell 09/12] arm: mvebu: turris_omnia: Overwrite ethaddr only if invalid

2021-10-09 Thread Marek Behún
From: Marek Behún Currently we always overwrite ethaddrs with those from EEPROM. In order to allow user to use a cloned MAC address in U-Boot, change the code so that it sets ethaddr variables only if they aren't set or are invalid. Signed-off-by: Marek Behún --- board/CZ.NIC/turris_omnia/tur

[PATCH u-boot-marvell 08/12] arm: mvebu: turris_mox: Better check for valid ethernet addresses in env

2021-10-09 Thread Marek Behún
From: Marek Behún Currently we overwrite ethaddr and eth1addr only if these variables don't exist. Better overwrite them even if the env variable exists, but is invalid - eth_env_get_enetaddr_by_index() checks for validity. Refactor the code to use a for cycle. Signed-off-by: Marek Behún ---

[PATCH u-boot-marvell 07/12] arm: mvebu: turris_mox: Always handle reset button

2021-10-09 Thread Marek Behún
From: Marek Behún Handle reset button even if we can't configure modules. This happens if we fail retrieving reset GPIO with which we can reset the modules. (Note that this GPIO is different from reset button GPIO.) Signed-off-by: Marek Behún --- board/CZ.NIC/turris_mox/turris_mox.c | 3 ++-

[PATCH u-boot-marvell 06/12] arm: mvebu: turris_mox: Use show_board_info()

2021-10-09 Thread Marek Behún
From: Marek Behún We are printing board information in last_stage_init(), but U-Boot has dedicated function, show_board_info(), for this. Move code which prints board information (board version, serial number, module topology, ...) to show_board_info(). Signed-off-by: Marek Behún --- board/CZ

[PATCH u-boot-marvell 05/12] arm: mvebu: turris_mox: Cosmetic update for board config header

2021-10-09 Thread Marek Behún
From: Marek Behún Reorder the definitions in Turris MOX' board config header, drop the comment relics from when this file was copied, fix indentation. Signed-off-by: Marek Behún --- include/configs/turris_mox.h | 61 +--- 1 file changed, 22 insertions(+), 39 del

[PATCH u-boot-marvell 03/12] arm: mvebu: a3720: Create Kconfig option for I2C_MV

2021-10-09 Thread Marek Behún
From: Marek Behún Move the config option CONFIG_I2C_MV to a Kconfig option CONFIG_SYS_I2C_MV and move the default definition from config header files into defconfigs. Signed-off-by: Marek Behún --- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig |

[PATCH u-boot-marvell 04/12] arm: kirkwood, mvebu: Remove CONFIG_SYS_RESET_ADDRESS option

2021-10-09 Thread Marek Behún
From: Marek Behún This option is not used anywhere. Signed-off-by: Marek Behún --- include/configs/SBx81LIFKW.h| 5 - include/configs/SBx81LIFXCAT.h | 5 - include/configs/edminiv2.h | 6 -- include/configs/mv-common.h | 1 - include/configs/mvebu_arma

[PATCH u-boot-marvell 02/12] arm: mvebu: turris_mox: Move options to defconfig

2021-10-09 Thread Marek Behún
From: Marek Behún Move config options CONFIG_LAST_STAGE_INIT and CONFIG_DISPLAY_BOARDINFO_LATE to turris_mox_defconfig. Signed-off-by: Marek Behún --- configs/turris_mox_defconfig | 2 ++ include/configs/turris_mox.h | 7 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/c

[PATCH u-boot-marvell 01/12] arm: mvebu: turris_mox: Drop SF_DEFAULT_MODE from defconfig

2021-10-09 Thread Marek Behún
From: Marek Behún This config option defaults to 0, so it is redundant in defconfig. Signed-off-by: Marek Behún --- configs/turris_mox_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig index 82ad68b6a1..6ff551e477 100644 --

[PATCH u-boot-marvell 00/12] Small Turris MOX and Omnia changes

2021-10-09 Thread Marek Behún
From: Marek Behún Hi Stefan, these are some small changes for Turris Omnia and MOX, mainly moving options from board config header to Kconfig, but also some other. Two patchs are touching other mvebu boards. Marek Marek Behún (12): arm: mvebu: turris_mox: Drop SF_DEFAULT_MODE from defconfig

Re: [PATCH v5 08/10] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-10-09 Thread Wolfgang Denk
Dear Marcel Ziswiler, In message <20211008002815.870313-9-mar...@ziswiler.com> you wrote: > From: Oleksandr Suvorov > > Variable "kernel_image" is used in boot.scr script only, that sets its > own default value to the constant string @@KERNEL_IMAGETYPE@@ in case > "kernel_image" is not set. > The

Re: [PATCH v4 08/10] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-10-09 Thread Wolfgang Denk
Dear Marcel Ziswiler, In message <20211006212757.464740-9-mar...@ziswiler.com> you wrote: > From: Oleksandr Suvorov > > Variable "kernel_image" is used in boot.scr script only, that sets its > own default value to the constant string @@KERNEL_IMAGETYPE@@ in case > "kernel_image" is not set. > The

[PATCH] lz4: Use a private header for U-Boot

2021-10-09 Thread Simon Glass
At present U-Boot has a header file called lz4.h for its own use. If the host has its own lz4 header file installed (e.g. from the 'liblz4-dev' package) then host builds will use that instead. Move the U-Boot file into its own directory, as is done with various other headers with the same problem.

Re: [PATCH v1 3/3] rockchip: rk3568: add arch_cpu_init()

2021-10-09 Thread Kever Yang
Hi Philipp, On 2021/10/9 上午1:33, Philipp Tomsich wrote: On Fri, 8 Oct 2021 at 04:01, Nico Cheng wrote: We configured the drive strength and security of EMMC in arch_cpu_init(). Could you point me to a public version of the TRM (and ideally also of the datasheet), so I can review this series?

Re: [PATCH v1 3/3] rockchip: rk3568: add arch_cpu_init()

2021-10-09 Thread Kever Yang
On 2021/10/8 上午10:21, Nico Cheng wrote: We configured the drive strength and security of EMMC in typo: drive/driver. EMMC and sdmmc arch_cpu_init(). Signed-off-by: Nico Cheng --- arch/arm/mach-rockchip/rk3568/rk3568.c | 19 +++ 1 file changed, 19 insertions(+) diff -

Re: [PATCH v1 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node

2021-10-09 Thread Kever Yang
On 2021/10/8 上午10:20, Nico Cheng wrote: Enable sdhci and sdmmc0 node in rk3568-u-boot.dtsi Signed-off-by: Nico Cheng Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3568-u-boot.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/rk3568

Re: [PATCH v1 1/3] rockchip: Kconfig: Enable SPL support for rk3568

2021-10-09 Thread Kever Yang
On 2021/10/8 上午10:20, Nico Cheng wrote: Enable SPL support in Kconfig and add some related option in rk3568_common.h Signed-off-by: Nico Cheng Signed-off-by: Jason Zhu Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/mach-rockchip/Kconfig | 2 ++ configs/evb-rk3568_defconfig

Re: [PATCH v1] clk: rockchip: rk3568: update clks

2021-10-09 Thread Kever Yang
Hi Elaine, On 2021/9/26 下午6:19, Elaine Zhang wrote: fix up ppll init freq. support tclk_emmc. add freq (26M) for mmc device. fix up the sfc clk rate unit error. Change-Id: I41daa2c1daf55ab07229c1513c6be51b90125cfd Please remove this change-id for upstream. Thanks, - Kever Signed-off-by:

Re: [PATCH v3 2/2] spi: rockchip_sfc: Using read_poll

2021-10-09 Thread Kever Yang
On 2021/9/17 下午9:14, Jon Lin wrote: Using read_poll logic. Tested-by: Chris Morgan Signed-off-by: Jon Lin Reviewed-by: Kever Yang Thanks, - Kever --- (no changes since v2) Changes in v2: - Fix assigned but never used return error codes drivers/spi/rockchip_sfc.c | 67 +

Re: [PATCH v3 1/2] spi: rockchip_sfc: Implement set_speed logic

2021-10-09 Thread Kever Yang
On 2021/9/17 下午9:14, Jon Lin wrote: Set clock related processing into set_speed logic. And Optimize printing format. Tested-by: Chris Morgan Signed-off-by: Jon Lin Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v3: - Remove useless headfile - Fix misspelling drivers/spi/roc

Re: [PATCH 0/4] arm64: dts: rockchip: px30: Linux-5.14-rc3 Sync

2021-10-09 Thread Kever Yang
Hi Jagan,     I'm sorry, I think I have miss this patch set, I can't find it in my mailbox, and this also not delegate to me in patchwork for unknown reason.     Who is the original author, and it's possible to send this again? Thanks, - Kever On 2021/10/9 上午5:10, Jagan Teki wrote: Hi Ke

[PATCH v5 2/2] board: kontron: pitx-imx8m: Add Kontron pitx-imx8m board support

2021-10-09 Thread Heiko Thiery
The Kontron pitx-imx8m is an NXP i.MX8MQ based board in the pITX form factor. Signed-off-by: Heiko Thiery --- v5: - save env in eMMC boot partition 0 instead of user partition v4: update board integration - migrate to IMX_CONFIG - convert config options to Kconfig - CONFIG_POWER_I2C - CO

[PATCH 4/4] Convert CONFIG_USB_EHCI_IS_TDI to Kconfig

2021-10-09 Thread Marek Behún
From: Marek Behún On mvebu this is defined if and only if !ARM64. Otherwise it is defined for boards with ARCH_MX23, ARCH_TEGRA and ARCH_ZYNQ, and also for SOC_AR934X (tplink_wdr4300). Signed-off-by: Marek Behún --- arch/arm/mach-kirkwood/include/mach/config.h | 7 --- arch/mips/mach-ath7

[PATCH 3/4] Drop CONFIG_USB_EHCI_KIRKWOOD

2021-10-09 Thread Marek Behún
From: Marek Behún This config option doesn't do anything. nas220 uses USB_EHCI_MARVELL. Signed-off-by: Marek Behún --- include/configs/nas220.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/nas220.h b/include/configs/nas220.h inde

[PATCH 2/4] Convert CONFIG_USB_EHCI_MXS to Kconfig

2021-10-09 Thread Marek Behún
From: Marek Behún This option is only used for mx23evk_defconfig mx23_olinuxino_defconfig which are the only i.MX23 boards. Add depend on ARCH_MX23 and default to y. Signed-off-by: Marek Behún --- drivers/usb/host/Kconfig | 7 +++ include/configs/mxs.h| 1 - scripts/config

[PATCH 1/4] Rename CONFIG_EHCI_IS_TDI to CONFIG_USB_EHCI_IS_TDI

2021-10-09 Thread Marek Behún
From: Marek Behún In preparation for moving this option to Kconfig, rename it to be consistent with other USB EHCI Kconfig options. Signed-off-by: Marek Behún --- arch/arm/mach-kirkwood/include/mach/config.h | 2 +- drivers/usb/host/ehci-hcd.c | 2 +- include/configs/clearfog.

[PATCH 1/2] sunxi: add H2+ config option

2021-10-09 Thread Angelo Dureghello
Add H2+ Kconfig oiption to display proper cpu at boot time, and for other future uses, if needed, to differentiate against H3. The patch does not change any board defconfig at this stage, so that nothing is broken. Tested this CONFIG_MACH_SUN8I_H2_PLUS to work properly on banana pi m2 zero. Sign

[PATCH 2/2] sunxi: fix non working console on uart2

2021-10-09 Thread Angelo Dureghello
Fix non working console on uart2, that seems releated to both Allwinner H2+ and H3. Signed-off-by: Angelo Dureghello --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 10 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/

[PATCH v5 1/2] arm: dts: imx8mq: Add Kontron pitx-imx8m

2021-10-09 Thread Heiko Thiery
This adds the device tree for the Kontron pitx-imx8m Board. It is a copy of the device tree from the linux kernel sources. Signed-off-by: Heiko Thiery --- v5: - no change v4: - no change v3: - no change v2: - no change arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-09 Thread Pali Rohár
On Saturday 09 October 2021 12:09:28 Robert Marko wrote: > On Sat, Oct 9, 2021 at 11:42 AM Marek Behún wrote: > > > > > > > > +config MVEBU_MAC_HW_INFO_OFFSET > > > > > > + hex "Marvell hw_info (mac) SPI flash offset" > > > > > > + depends on MVEBU_MAC_HW_INFO > > > > > > + default 0x3

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-09 Thread Robert Marko
On Sat, Oct 9, 2021 at 11:42 AM Marek Behún wrote: > > > > > > +config MVEBU_MAC_HW_INFO_OFFSET > > > > > + hex "Marvell hw_info (mac) SPI flash offset" > > > > > + depends on MVEBU_MAC_HW_INFO > > > > > + default 0x3E > > > > > + help > > > > > + This option defines the

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-09 Thread Marek Behún
> > > > +config MVEBU_MAC_HW_INFO_OFFSET > > > > + hex "Marvell hw_info (mac) SPI flash offset" > > > > + depends on MVEBU_MAC_HW_INFO > > > > + default 0x3E > > > > + help > > > > + This option defines the SPI flash offset of the Marvell > > > > + hw_info area. This

Re: [PATCH] mtd: Add SPI Nor Flash chip GD25LQ256D ID

2021-10-09 Thread Jagan Teki
Hi Bin, On Fri, Oct 8, 2021 at 8:43 PM Bin Meng wrote: > > HI Jagan, > > On Fri, Oct 8, 2021 at 8:58 PM Jagan Teki wrote: > > > > On Thu, Sep 30, 2021 at 4:24 PM wrote: > > > > > > From: "yanhong.wang" > > > > > > Signed-off-by: yanhong.wang > > > --- > > > > Applied to u-boot-spi/master > >