Re: [PATCH 1/4] arm: dts: am335x-boneblack: Extract common config

2021-07-12 Thread Lokesh Vutla
On 12/07/21 9:53 pm, Paul Barker wrote: > On Thu, 17 Jun 2021 12:27:55 + > Tom Rini wrote: > >> On Thu, Jun 17, 2021 at 11:31:56AM +0100, Paul Barker wrote: >>> On Thu, 17 Jun 2021 11:05:46 +0100 >>> Peter Robinson wrote: >>> On Thu, Jun 17, 2021 at 10:03 AM Paul Barker wrote:

Re: [PATCH 1/4] phy: phy-imx8mq-usb: Add USB PHY driver for i.MX8MQ

2021-07-12 Thread Stefano Babic
Hi Fabio, On 12.07.21 23:31, Fabio Estevam wrote: Hi Patrick, On Mon, Jul 12, 2021 at 11:27 AM Patrick Wildt wrote: Am Sun, Feb 21, 2021 at 08:26:21AM -0800 schrieb Ye Li: Add the USB PHY driver for i.MX8MQ to work with DWC3 USB controller. Signed-off-by: Ye Li Reviewed-by: Patrick

Re: [PATCH 1/2 v2] tpm2: Introduce TIS tpm core

2021-07-12 Thread Ilias Apalodimas
Hi Simon, > > > [...] > > > Yes, but I hope you see my point, that you have added a new interface. > > > It is definitely better than adding a new driver and duplicating all > > > the code, but it is still one more copy and in fact, the code is > > > duplicated. > > > > > > > I get the point but

Re: zynqmpbif - sample

2021-07-12 Thread Michal Simek
Hi, On 7/12/21 7:40 PM, Jorge Ramirez-Ortiz, Foundries wrote: > hi Michal, > > Would you have some sample/reference code to generate a SPL boot image > using zynqmpbif instead of zynqmpimage? I cant find any documentation > and I see no option to enable it (I was expecting to find some config >

Pull request for efi-2021-10-rc1

2021-07-12 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 490101a5e5df65238b900b21b81361bc4b13da2e: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi (2021-07-09 21:08:52 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git

Re: Convert mvebu_mmc driver to driver model

2021-07-12 Thread Tony Dinh
Hi Jaehoon, Indeed! I did run the test using the u-boot-master (2021.07 version) source tree. Thanks, Tony On Mon, Jul 12, 2021 at 4:59 PM Jaehoon Chung wrote: > On 7/12/21 2:11 PM, Tony Dinh wrote: > > In reference to: > > >

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Bin Meng
On Tue, Jul 13, 2021 at 12:01 AM Alex G. wrote: > > On 7/12/21 10:15 AM, Tom Rini wrote: > > On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > >> On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: > >>> > >>> I submitted an almost identical patch. See > >>>

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Bin Meng
On Mon, Jul 12, 2021 at 11:15 PM Tom Rini wrote: > > On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > > On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: > > > > > > I submitted an almost identical patch. See > > >

Re: [PATCH] mips: mt7688: gardena-smart-gateway: Adjust to production values

2021-07-12 Thread Daniel Schwierzeck
Am Donnerstag, den 17.06.2021, 18:09 +0200 schrieb Reto Schneider: > From: Reto Schneider > > This commit updates the default config with the values that will > be used soon on the MediaTek MT7688 based GARDENA smart gateway. > > CONFIG_SPL_SYS_MALLOC_F_LEN had to be increased due to the more >

Re: [PATCH 5/6] MIPS: malta: add support for PCI driver model

2021-07-12 Thread Daniel Schwierzeck
Hi Simon, Am Samstag, den 10.07.2021, 18:00 -0600 schrieb Simon Glass: > () Hi Daniel, > > On Tue, 6 Jul 2021 at 08:22, Daniel Schwierzeck > wrote: > > As almost all peripherals are connected via PCI dependent on the > > used core card, PCI setup is always required. Thus run pci_init() > >

imx8qm uboot-imx custom images load

2021-07-12 Thread rkohli2000 gmail
Hi all, Sorry if this is the wrong list for this. I have 2 custom images (elf or bin) stored in predefined addresses in flash that are to be loaded based on some criteria I can test for on bootup. Can someone please suggest a method to programmatically launch either image using uboot's tools

Re: Convert mvebu_mmc driver to driver model

2021-07-12 Thread Jaehoon Chung
On 7/12/21 2:11 PM, Tony Dinh wrote: > In reference to: > https://protect2.fireeye.com/v1/url?k=1452a2ce-4bc99bdf-14532981-0cc47a31cdbc-34fa0f17adf3f490=1=2aa912e1-bdc3-418f-872f-8870c46bcb15=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2021-April%2F446664.html > AFAIK, Those patchset had

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-12 Thread Heinrich Schuchardt
Am 12. Juli 2021 21:43:53 MESZ schrieb Simon Glass : >Hi Heinrich, > >On Mon, 12 Jul 2021 at 13:19, Heinrich Schuchardt >wrote: >> >> On 7/12/21 8:22 PM, Ilias Apalodimas wrote: >> > Hi Simon, >> > On Sat, Jul 10, 2021 at 06:00:59PM -0600, Simon Glass wrote: >> >> Hi Ilias, >> >> >> >> On Wed, 7

Re: [PATCH 1/4] phy: phy-imx8mq-usb: Add USB PHY driver for i.MX8MQ

2021-07-12 Thread Fabio Estevam
Hi Patrick, On Mon, Jul 12, 2021 at 11:27 AM Patrick Wildt wrote: > > Am Sun, Feb 21, 2021 at 08:26:21AM -0800 schrieb Ye Li: > > Add the USB PHY driver for i.MX8MQ to work with DWC3 USB controller. > > > > Signed-off-by: Ye Li > > Reviewed-by: Patrick Wildt > Tested-by: Patrick Wildt It

Re: [PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-07-12 Thread Tim Harvey
On Mon, Jul 12, 2021 at 12:44 PM Simon Glass wrote: > > Hi Tim, > > On Mon, 12 Jul 2021 at 10:42, Tim Harvey wrote: > > > > On Sat, Jul 10, 2021 at 5:23 AM Heiko Schocher wrote: > > > > > > Hello Tim, > > > > > > On 09.07.21 16:47, Tim Harvey wrote: > > > > On Wed, Jul 7, 2021 at 5:58 AM Teresa

[PATCH v2 2/5] arm: dts: Resync BeagleBone device trees

2021-07-12 Thread Paul Barker
These device trees are updated to match the versions in Linux 5.13.1. The tick-timer entry in am335x-bone-common.dtsi is preserved. Signed-off-by: Paul Barker --- arch/arm/dts/am335x-bone-common.dtsi | 185 +- arch/arm/dts/am335x-bone.dts | 7 +-

[PATCH v2 3/5] arm: dts: Import am335x-sancloud-bbe devicetree

2021-07-12 Thread Paul Barker
This device tree is imported from Linux 5.13.1 and enabled via the am335x board file and the am335x evm defconfig. Signed-off-by: Paul Barker --- arch/arm/dts/Makefile| 1 + arch/arm/dts/am335x-sancloud-bbe.dts | 137 +++ board/ti/am335x/board.c

[PATCH v2 4/5] configs: am335x_evm: Support GbE PHYs

2021-07-12 Thread Paul Barker
The SanCloud BeagleBone Enhanced (BBE) includes a Gigabit Ethernet PHY. Signed-off-by: Paul Barker --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index dcda15e6bf..1c8093ae6a 100644 ---

[PATCH v2 5/5] configs: am335x_evm: Fix BeagleBone Green DTB selection

2021-07-12 Thread Paul Barker
The function board_is_bone_lt() returns true for the BeagleBone Green, the BeagleBone Enhanced and the BeagleBone Black. Therefore when selecting which devicetree to use we must ensure that the more specific functions board_is_bbg1() and board_is_bben() are checked first otherwise all three

[PATCH v2 1/5] dt-bindings: Resync omap & am33xx pinctrl bindings

2021-07-12 Thread Paul Barker
These headers are updated to match the versions in Linux 5.13.1. Signed-off-by: Paul Barker --- include/dt-bindings/pinctrl/am33xx.h | 131 ++- include/dt-bindings/pinctrl/omap.h | 11 +-- 2 files changed, 135 insertions(+), 7 deletions(-) diff --git

[PATCH v2 0/5] Resync BeagleBone dtbs, add SanCloud BBE support & minor fixups

2021-07-12 Thread Paul Barker
This updated patch series takes the approach of copying the device trees for the BeagleBone Black, BeagleBone Green & BeagleBone enhanced from the latest stable Linux kernel (v5.13.1). To support this we also need to port over a couple of changes to the relevant dt-bindings headers. I considered

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Simon Glass
Hi Alex, On Mon, 12 Jul 2021 at 10:01, Alex G. wrote: > > On 7/12/21 10:15 AM, Tom Rini wrote: > > On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > >> On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: > >>> > >>> I submitted an almost identical patch. See > >>>

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-12 Thread Simon Glass
Hi Heinrich, On Mon, 12 Jul 2021 at 13:19, Heinrich Schuchardt wrote: > > On 7/12/21 8:22 PM, Ilias Apalodimas wrote: > > Hi Simon, > > On Sat, Jul 10, 2021 at 06:00:59PM -0600, Simon Glass wrote: > >> Hi Ilias, > >> > >> On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas > >> wrote: > >>> > >>> Add

Re: [PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-07-12 Thread Simon Glass
Hi Tim, On Mon, 12 Jul 2021 at 10:42, Tim Harvey wrote: > > On Sat, Jul 10, 2021 at 5:23 AM Heiko Schocher wrote: > > > > Hello Tim, > > > > On 09.07.21 16:47, Tim Harvey wrote: > > > On Wed, Jul 7, 2021 at 5:58 AM Teresa Remmet wrote: > > >> > > >> Factor out the common node settings for

Re: [PATCH 1/2 v2] tpm2: Introduce TIS tpm core

2021-07-12 Thread Simon Glass
Hi Ilias, On Mon, 12 Jul 2021 at 08:03, Ilias Apalodimas wrote: > > > > > > TPM_STS_SELF_TEST_DONE = 1 << 2, > > [...] > > > > > > TPM_STS_RESPONSE_RETRY = 1 << 1, > > > > > + TPM_STS_READ_ZERO = 0x23 > > > > > > > > Does this below in

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-12 Thread Simon Glass
Hi Ilias, On Mon, 12 Jul 2021 at 12:22, Ilias Apalodimas wrote: > > Hi Simon, > On Sat, Jul 10, 2021 at 06:00:59PM -0600, Simon Glass wrote: > > Hi Ilias, > > > > On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas > > wrote: > > > > > > Add support for devices that expose a TPMv2 though MMIO. > > >

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-12 Thread Heinrich Schuchardt
On 7/12/21 8:22 PM, Ilias Apalodimas wrote: Hi Simon, On Sat, Jul 10, 2021 at 06:00:59PM -0600, Simon Glass wrote: Hi Ilias, On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas wrote: Add support for devices that expose a TPMv2 though MMIO. Apart from those devices, we can use the driver in our

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-12 Thread Ilias Apalodimas
Hi Simon, On Sat, Jul 10, 2021 at 06:00:59PM -0600, Simon Glass wrote: > Hi Ilias, > > On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas > wrote: > > > > Add support for devices that expose a TPMv2 though MMIO. > > Apart from those devices, we can use the driver in our QEMU setups and > > test TPM

Re: [PATCH] efi_loader: Fix to set bootdev_root correctly if bootdev found

2021-07-12 Thread Ilias Apalodimas
Acked-by: Ilias Apalodimas On Mon, 12 Jul 2021 at 20:40, Heinrich Schuchardt wrote: > > On 7/12/21 11:05 AM, Masami Hiramatsu wrote: > > Fix find_boot_device() to set bootdev_root if it finds the > > bootdev from BootNext. Currently it sets the bootdev_root only > > when it finds bootdev from

zynqmpbif - sample

2021-07-12 Thread Jorge Ramirez-Ortiz, Foundries
hi Michal, Would you have some sample/reference code to generate a SPL boot image using zynqmpbif instead of zynqmpimage? I cant find any documentation and I see no option to enable it (I was expecting to find some config in Makefile.spl but I see none). What is the expected way of building

Re: [PATCH] efi_loader: Fix to set bootdev_root correctly if bootdev found

2021-07-12 Thread Heinrich Schuchardt
On 7/12/21 11:05 AM, Masami Hiramatsu wrote: Fix find_boot_device() to set bootdev_root if it finds the bootdev from BootNext. Currently it sets the bootdev_root only when it finds bootdev from BootOrder. Fixes: c74cd8bd08d1 ("efi_loader: capsule: add capsule_on_disk support") Signed-off-by:

Re: [PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-07-12 Thread Tim Harvey
On Sat, Jul 10, 2021 at 5:23 AM Heiko Schocher wrote: > > Hello Tim, > > On 09.07.21 16:47, Tim Harvey wrote: > > On Wed, Jul 7, 2021 at 5:58 AM Teresa Remmet wrote: > >> > >> Factor out the common node settings for dm-spl and dm-pre-reloc > >> and move them to imx8mp-u-boot.dtsi > >> > >>

[PATCH 4/5] m68k: Remove M54451EVB board

2021-07-12 Thread Tom Rini
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. As this is also the last in family remove the related support as well. Cc: Angelo Durgehello Signed-off-by: Tom Rini --- arch/m68k/Kconfig | 15 - arch/m68k/Makefile

[PATCH 5/5] m68k: Remove M52277EVB board

2021-07-12 Thread Tom Rini
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. As this is also the last in family remove the related support as well. Cc: Angelo Durgehello Cc: TsiChung Liew Signed-off-by: Tom Rini --- arch/m68k/Kconfig | 9 - arch/m68k/dts/M52277EVB.dts

[PATCH 3/5] m68k: Remove M54418TWR board

2021-07-12 Thread Tom Rini
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Angelo Durgehello Signed-off-by: Tom Rini --- arch/m68k/Kconfig | 5 - arch/m68k/dts/M54418TWR.dts | 34 --- arch/m68k/dts/M54418TWR_nand_mii.dts | 34

[PATCH 2/5] m68k: Remove M54455EVB board

2021-07-12 Thread Tom Rini
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Angelo Durgehello Cc: TsiChung Liew Signed-off-by: Tom Rini --- arch/m68k/Kconfig | 9 - arch/m68k/cpu/mcf5445x/speed.c| 19 - arch/m68k/dts/M54455EVB.dts |

[PATCH 1/5] vinco: Enable DM_USB and DM_SPI_FLASH support

2021-07-12 Thread Tom Rini
As this platform already enables CONFIG_DM and CONFIG_OF_CONTROL, migrating to DM_USB and DM_SPI_FLASH is just a matter of enabling the correct options. Cc: Gregory CLEMENT u-boot@lists.denx.de (open list) Reported-by: Marek Behun Signed-off-by: Tom Rini --- Aside, the MAINTAINERS entry still

Re: [PATCH 1/4] arm: dts: am335x-boneblack: Extract common config

2021-07-12 Thread Paul Barker
On Thu, 17 Jun 2021 12:27:55 + Tom Rini wrote: > On Thu, Jun 17, 2021 at 11:31:56AM +0100, Paul Barker wrote: > > On Thu, 17 Jun 2021 11:05:46 +0100 > > Peter Robinson wrote: > > > > > On Thu, Jun 17, 2021 at 10:03 AM Paul Barker > > > wrote: > > > > > > > > Configuration which is shared

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Marek Vasut
On 7/12/21 6:02 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 05:51:29PM +0200, Marek Vasut wrote: On 7/12/21 5:43 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 05:38:33PM +0200, Marek Vasut wrote: On 7/12/21 5:15 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: On

Re: rock960c

2021-07-12 Thread Trevor Woerner
On Mon 2021-07-12 @ 07:54:44 AM, Peter Robinson wrote: > On Tue, Jul 6, 2021 at 8:03 AM Trevor Woerner wrote: > > > > Hi, > > > > I was hoping that one day support would be added for the rockchip rock960c > > board (from the 96boards series, > > https://www.96boards.org/product/rock960c/). > >

Re: IMX8M Mini HAB secure boot - working?

2021-07-12 Thread Tim Harvey
On Sat, Jul 10, 2021 at 5:24 AM Heiko Schocher wrote: > > Hi Tim, Stefano, > > On 10.07.21 11:14, Stefano Babic wrote: > > Hi Tim, > > > > On 10.07.21 02:05, Tim Harvey wrote: > >> Greetings, > >> > >> Has anyone successfully used secure boot with IMX8M Mini or other > >> IMX8M? Peng's recent

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Tom Rini
On Mon, Jul 12, 2021 at 05:51:29PM +0200, Marek Vasut wrote: > On 7/12/21 5:43 PM, Tom Rini wrote: > > On Mon, Jul 12, 2021 at 05:38:33PM +0200, Marek Vasut wrote: > > > On 7/12/21 5:15 PM, Tom Rini wrote: > > > > On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > > > > > On Mon, Jul 12,

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Alex G.
On 7/12/21 10:15 AM, Tom Rini wrote: On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: I submitted an almost identical patch. See https://github.com/u-boot/u-boot/commit/eb39d8ba5f0d1468b01b89a2a464d18612d3ea76 This patch

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Marek Vasut
On 7/12/21 5:43 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 05:38:33PM +0200, Marek Vasut wrote: On 7/12/21 5:15 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: I submitted an almost identical patch. See

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Tom Rini
On Mon, Jul 12, 2021 at 05:38:33PM +0200, Marek Vasut wrote: > On 7/12/21 5:15 PM, Tom Rini wrote: > > On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > > > On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: > > > > > > > > I submitted an almost identical patch. See > > > >

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Marek Vasut
On 7/12/21 5:15 PM, Tom Rini wrote: On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: I submitted an almost identical patch. See https://github.com/u-boot/u-boot/commit/eb39d8ba5f0d1468b01b89a2a464d18612d3ea76 This patch

Re: [PATCH] spl: Align device tree blob address at 8-byte boundary

2021-07-12 Thread Tom Rini
On Mon, Jul 12, 2021 at 01:36:14PM +0800, Bin Meng wrote: > On Mon, Jul 12, 2021 at 1:21 PM Reuben Dowle wrote: > > > > I submitted an almost identical patch. See > > https://github.com/u-boot/u-boot/commit/eb39d8ba5f0d1468b01b89a2a464d18612d3ea76 > > > > This patch eventually had to be reverted

Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-07-12 Thread Patrick Wildt
Am Sun, Feb 21, 2021 at 08:26:24AM -0800 schrieb Ye Li: > Setup USB clock in board codes, and enable the DWC3 XHCI and > PHY drivers to make USB3.0 host port working on i.MX8MQ EVK. > > Signed-off-by: Ye Li The same change works on the MNT Reform 2 as well. Reviewed-by: Patrick Wildt >

Re: [PATCH 3/4] arm: imx8mq: Add USB clock init function

2021-07-12 Thread Patrick Wildt
Am Sun, Feb 21, 2021 at 08:26:23AM -0800 schrieb Ye Li: > Add clock function to setup relevant clocks for USB3.0 controllers and > PHYs on i.MX8MQ > > Signed-off-by: Ye Li Reviewed-by: Patrick Wildt Tested-by: Patrick Wildt > --- > arch/arm/include/asm/arch-imx8m/clock.h | 1 + >

Re: [PATCH 2/4] arm: dts: imx8mq: Add alias for two usb controllers

2021-07-12 Thread Patrick Wildt
Am Sun, Feb 21, 2021 at 08:26:22AM -0800 schrieb Ye Li: > Add alias for two DWC3 usb controllers to fix the seq index. > > Signed-off-by: Ye Li > --- > arch/arm/dts/imx8mq.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/dts/imx8mq.dtsi b/arch/arm/dts/imx8mq.dtsi >

Re: [PATCH 1/4] phy: phy-imx8mq-usb: Add USB PHY driver for i.MX8MQ

2021-07-12 Thread Patrick Wildt
Am Sun, Feb 21, 2021 at 08:26:21AM -0800 schrieb Ye Li: > Add the USB PHY driver for i.MX8MQ to work with DWC3 USB controller. > > Signed-off-by: Ye Li Reviewed-by: Patrick Wildt Tested-by: Patrick Wildt > --- > drivers/phy/Kconfig | 7 ++ > drivers/phy/Makefile | 1 + >

Re: non-DM SPI_FLASH removal?

2021-07-12 Thread Tom Rini
On Mon, Jul 12, 2021 at 04:15:10PM +0200, Marek Behun wrote: > On Mon, 12 Jul 2021 10:10:14 -0400 > Tom Rini wrote: > > > On Mon, Jul 12, 2021 at 04:01:13PM +0200, Marek Behun wrote: > > > > > Tom, > > > > > > there are 16 boards left with CONFIG_SPI_FLASH > > > (git grep CONFIG_SPI_FLASH=y) >

Re: [EXT] Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-07-12 Thread Patrick Wildt
Am Mon, Jul 12, 2021 at 10:28:25AM -0300 schrieb Fabio Estevam: > Hi Patrick, > > On Sat, Jul 10, 2021 at 8:35 PM Patrick Wildt wrote: > > > is this patchset still being reviewed? I think the discussion has moved > > to some SD card problem, which is fixed now? Would be nice if USB 3.0 > > I

Re: non-DM SPI_FLASH removal?

2021-07-12 Thread Marek Behun
On Mon, 12 Jul 2021 10:10:14 -0400 Tom Rini wrote: > On Mon, Jul 12, 2021 at 04:01:13PM +0200, Marek Behun wrote: > > > Tom, > > > > there are 16 boards left with CONFIG_SPI_FLASH > > (git grep CONFIG_SPI_FLASH=y) > > and Makefile says this was supposed to be deprecated in v2019.07. > > > >

Re: non-DM SPI_FLASH removal?

2021-07-12 Thread Marek Behun
On Mon, 12 Jul 2021 16:01:13 +0200 Marek Behun wrote: > Tom, > > there are 16 boards left with CONFIG_SPI_FLASH > (git grep CONFIG_SPI_FLASH=y) > and Makefile says this was supposed to be deprecated in v2019.07. > > Are we going to remove them so that we can simplify the SPI subsystem? > >

Re: non-DM SPI_FLASH removal?

2021-07-12 Thread Tom Rini
On Mon, Jul 12, 2021 at 04:01:13PM +0200, Marek Behun wrote: > Tom, > > there are 16 boards left with CONFIG_SPI_FLASH > (git grep CONFIG_SPI_FLASH=y) > and Makefile says this was supposed to be deprecated in v2019.07. > > Are we going to remove them so that we can simplify the SPI subsystem?

[PATCH] armv8: Initialize CNTFRQ if at highest exception level

2021-07-12 Thread Peter Hoyes
From: Peter Hoyes CNTFRQ_EL0 is only writable from the highest supported exception level on the platform. For Armv8-A, this is typically EL3, but technically EL2 and EL3 are optional so it may need to be initialized at EL2 or EL1. For Armv8-R, the highest exception level is always EL2. This

Re: [PATCH 1/2 v2] tpm2: Introduce TIS tpm core

2021-07-12 Thread Ilias Apalodimas
> > > > TPM_STS_SELF_TEST_DONE = 1 << 2, [...] > > > > TPM_STS_RESPONSE_RETRY = 1 << 1, > > > > + TPM_STS_READ_ZERO = 0x23 > > > > > > Does this below in another patch? > > > > > > > It's a general tpm2 update. I can move it to the driver

non-DM SPI_FLASH removal?

2021-07-12 Thread Marek Behun
Tom, there are 16 boards left with CONFIG_SPI_FLASH (git grep CONFIG_SPI_FLASH=y) and Makefile says this was supposed to be deprecated in v2019.07. Are we going to remove them so that we can simplify the SPI subsystem? Marek

Re: [EXT] Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-07-12 Thread Fabio Estevam
Hi Patrick, On Sat, Jul 10, 2021 at 8:35 PM Patrick Wildt wrote: > is this patchset still being reviewed? I think the discussion has moved > to some SD card problem, which is fixed now? Would be nice if USB 3.0 I think you are referring to

Re: [PATCH] board: sifive: remove the command for setting serial number

2021-07-12 Thread Leo Liang
On Fri, Jul 09, 2021 at 04:26:35PM +0800, Zong Li wrote: > We wouldn't like to allow user to change the serial number, so remove > the command for changing serial number in EEPROM. > > Signed-off-by: Zong Li > Suggested-by: David Abdurachmanov > --- > .../unmatched/hifive-platform-i2c-eeprom.c

Re: [PATCH] board: sifive: drop stuff related to unmatched revision 1

2021-07-12 Thread Leo Liang
On Fri, Jul 09, 2021 at 04:06:01PM +0800, Zong Li wrote: > This patch reverts the following commits: > - 4b4159d0f3 ("riscv: dts: add dts for unmatched rev1") > - ffe9a394df ("board: sifive: support spl multi-dtb on unmatched board") > > We won't plan to support unmatched that the revision

Re: [PATCH 3/3] arm: a37xx: pci: Fix typo in comment

2021-07-12 Thread Stefan Roese
On 08.07.21 20:19, Pali Rohár wrote: Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/pci/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index

Re: [PATCH 2/3] arm: a37xx: pci: Optimize a3700_fdt_fix_pcie_regions() when fixup offset is zero

2021-07-12 Thread Stefan Roese
On 08.07.21 20:18, Pali Rohár wrote: If fixup offset is zero then there is nothing to fix. All calculation in this case just increase addresses by value zero which results in identity. So in this case skip whole fixup re-calculation as it is not needed. This is just an optimization for special

Re: [PATCH 1/3] arm: a37xx: pci: Extend validation for PCIe resources and oubound windows

2021-07-12 Thread Stefan Roese
On 08.07.21 20:18, Pali Rohár wrote: Remapped address of PCIe outbound window may have set only bits from the mask. Add additional check that remapped address which is calculated from PCIe bus address specified in DTS file is valid. Remove also useless clearing of low 16 bits in win_mask. As

Re: [PATCH u-boot-mvebu v2] arm: mvebu: armada-3720: remove unused config option

2021-07-12 Thread Stefan Roese
On 09.07.21 17:40, Marek Behún wrote: The config option CONFIG_DEBUG_UART_CLOCK is not used by Armada 3720's serial driver (it wasn't even before the recent update of that driver). Even if it was used, the value was incorrect (the frequency of the clock is 25 MHz, not 25.8048 MHz). Remove it

Re: [PATCH] spi: mxc_spi: fix warnings if CLK_ENABLED not set

2021-07-12 Thread Frieder Schrempf
On 10.07.21 16:51, Stefano Babic wrote: > Following warnings (unused variables) are raised: > > drivers/spi/mxc_spi.c: In function 'mxc_spi_probe': > drivers/spi/mxc_spi.c:595:14: error: unused variable 'blob' > [-Werror=unused-variable] > 595 | const void *blob = gd->fdt_blob; > |

[PATCH v3] dm: core: fix no null pointer detection in ofnode_get_addr_size_index()

2021-07-12 Thread chenguanqiao
From: Chen Guanqiao Fixed a defect of a null pointer being discovered by Coverity Scan: CID 331544: Null pointer dereferences (REVERSE_INULL) Null-checking "size" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. Signed-off-by: Chen

Re: [RESEND PATCH v2 2/3] sunxi: eMMC: Improve automatic boot source detection

2021-07-12 Thread Andre Przywara
On Mon, 12 Jul 2021 19:57:04 +0900 Jaehoon Chung wrote: > Hi Andre, > > On 7/12/21 7:06 PM, Andre Przywara wrote: > > When the Allwinner BROM loads the SPL from an eMMC boot partition, it > > sets the boot source byte to the same value as when booting from the > > user data partition. This

Re: [PATCH 1/2 v2] tpm2: Introduce TIS tpm core

2021-07-12 Thread Simon Glass
Hi Ilias, On Mon, 12 Jul 2021 at 00:24, Ilias Apalodimas wrote: > > On Sat, Jul 10, 2021 at 06:00:57PM -0600, Simon Glass wrote: > > Hi Ilias, > > > > On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas > > wrote: > > > > > > There's a lot of code duplication in U-Boot right now. All the TPM TIS > >

Re: [PATCH v3 0/6] This patch set fixes minor issues related to tapdelays

2021-07-12 Thread Michal Simek
On 7/9/21 1:53 PM, Ashok Reddy Soma wrote: > This patch set fixes below issues in zynq_sdhc driver > - Fix issues in tap delay functions where it returns uninitialized values > - Allow configuring zero tap delay values > - Split tapdelay functions to set input and output tap delay's

Re: [PATCH] clk: zynqmp: Add support for enabling clock on lpd_lsbus

2021-07-12 Thread Michal Simek
st 7. 7. 2021 v 8:45 odesílatel Michal Simek napsal: > > lpd_lsbus is clock which is used by many IPs like dmas, gems, gpio, sdhcis, > spis, ttcs, uarts, watchdog that's why make sense to also enable access to > change this clock. For this clock you already get the rate. > > Signed-off-by: Michal

Re: [PATCH] arm64: dts: zynqmp: Enable USB2.0 for zc1751-xm016-dc2

2021-07-12 Thread Michal Simek
st 7. 7. 2021 v 8:21 odesílatel Michal Simek napsal: > > From: Piyush Mehta > > The board zynqmp-zc1751-xm016-dc2 support only USB2.0. > This patch removes USB3.0 DT configuration for DC2 board. > > Signed-off-by: Piyush Mehta > Signed-off-by: Michal Simek > --- > >

Re: [PATCH 1/3] smegw01: Allow booting the Yocto image by default

2021-07-12 Thread Stefano Babic
Hi, just for the note because there is an open comment and I applied it: On 16.06.21 05:17, Tom Rini wrote: On Tue, Jun 15, 2021 at 08:38:38PM -0300, Fabio Estevam wrote: On the Yocto image there is a single partition and the kernel and dtb are present in the 'boot' directory. Change it

Re: [RESEND PATCH v2 2/3] sunxi: eMMC: Improve automatic boot source detection

2021-07-12 Thread Jaehoon Chung
Hi Andre, On 7/12/21 7:06 PM, Andre Przywara wrote: > When the Allwinner BROM loads the SPL from an eMMC boot partition, it > sets the boot source byte to the same value as when booting from the > user data partition. This prevents us from determining the boot source > to load U-Boot proper from

[PATCH v3 8/8] configs: synquacer: Ignore OsIndications on DeveloperBox

2021-07-12 Thread Masami Hiramatsu
Since we can not set OsIndications from Runtime Services SetVariables at this moment, it is better to ignore the OsIndications if there is any capsule file in the correct place. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig |1 + 1 file changed, 1 insertion(+)

[PATCH v3 7/8] configs: synquacer: Use RAW capsule image instead of FIT

2021-07-12 Thread Masami Hiramatsu
Since the recent commit; commit b891ff18f899 ("efi_loader: Force a single FMP instance per hardware store") forces a single FMP instances for a storage, we can not enable both RAW and FIT capsule image support at once. Since RAW capsule image support is simpler than FIT, enable RAW capsule

[PATCH v3 6/8] configs: synquacer: Enable UEFI secure boot

2021-07-12 Thread Masami Hiramatsu
Enable UEFI secure boot on synquacer. Note that unless user setup their keys, the secure boot will not work. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix configs with savedefconfig. --- configs/synquacer_developerbox_defconfig |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 5/8] configs: synquacer: Drop Ext2/4 support by default

2021-07-12 Thread Masami Hiramatsu
Since the U-Boot for the SynQuacer DeveloperBox is designed for compatible with EDK2 boot, we don't need to support Ext2/4 fs support by default. Drop it. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix configs with savedefconfig. --- configs/synquacer_developerbox_defconfig |2

[PATCH v3 4/8] configs: synquacer: Remove mtdparts settings and update DFU setting

2021-07-12 Thread Masami Hiramatsu
Since MTD partitions are based on the devicetree name, remove unneeded mtdparts settings and update DFU setting. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix configs with savedefconfig. --- configs/synquacer_developerbox_defconfig |2 -- include/configs/synquacer.h

[PATCH v3 3/8] dts: synquacer: Add partition information to the spi-nor

2021-07-12 Thread Masami Hiramatsu
Add partition information to the spi-nor flash. This is required for accessing NOR flash via mtdparts. Signed-off-by: Masami Hiramatsu Reviewed-by: Marek Behún --- Changes in v3: - Add Marek's Reviewed-by. Changes in v2: - Add new lines to separate the partitions. ---

[PATCH v3 2/8] configs: synquacer: Make U-Boot binary position independent

2021-07-12 Thread Masami Hiramatsu
Make the U-Boot binary for SynQuacer position independent so that the previous bootloader (SCP firmware or BL2) can load the U-Boot anywhere. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix configs with savedefconfig. Changes in v2: - Fix a typo in the changelog. ---

[PATCH v3 1/8] board: synquacer: Initialize SCBM SMMU at board_init()

2021-07-12 Thread Masami Hiramatsu
Since the SCBM SMMU is not only connected to the NETSEC but also shared with the F_SDH30 (eMMC controller), that should be initialized at board level instead of NETSEC. Move the SMMU initialization code into board support and call it from board_init(). Without this fix, if the NETSEC is

[PATCH v3 0/8] arm64: synquacer: DeveloperBox updates

2021-07-12 Thread Masami Hiramatsu
Hi, Here is the 3rd version of the series to update the DeveloperBox support. I found that the latest master branch update defconfigs with savedefconfig by; commit 2bba78076b03 ("configs: Resync with savedefconfig") So I decided to update the patches for the defconfig so that those can be

Re: [PATCH v2 0/6] arm64: synquacer: DeveloperBox updates

2021-07-12 Thread Masami Hiramatsu
Hi, I found that the latest master had defconfig cleanup by commit 2bba78076b03 ("configs: Resync with savedefconfig") including configs/synquacer_developerbox_defconfig. So the configs patch must be updated. Also, when testing capsule update on U-Boot, I need to change some options, so I will

[RESEND PATCH v2 3/3] sunxi: defconfig: enable eMMC boot partition support

2021-07-12 Thread Andre Przywara
Now that the SPL can safely detect whether it was loaded from an eMMC boot partition or the normal user data partition, let's enable this feature on some boards that feature eMMC storage. That covers the boards where I could test this on, and allows the same build to be written to an SD card,

[RESEND PATCH v2 2/3] sunxi: eMMC: Improve automatic boot source detection

2021-07-12 Thread Andre Przywara
When the Allwinner BROM loads the SPL from an eMMC boot partition, it sets the boot source byte to the same value as when booting from the user data partition. This prevents us from determining the boot source to load U-Boot proper from the proper partition for sure. The generic SPL MMC code

[RESEND PATCH v2 1/3] spl: mmc: extend spl_mmc_boot_mode() to take mmc argument

2021-07-12 Thread Andre Przywara
Platforms can overwrite the weak definition of spl_mmc_boot_mode() to determine where to load U-Boot proper from. For most of them this is a trivial decision based on Kconfig variables, but it might be desirable the probe the actual device to answer this question. Pass the pointer to the mmc

[RESEND PATCH v2 0/3] sunxi: Improve automatic eMMC boot partition support

2021-07-12 Thread Andre Przywara
(resent to also include forgotten U-Boot list) The Allwinner BootROM supports loading the SPL from eMMC boot partitions, but so far the SPL support for this case was a bit lacking, as it was a compile time decision, and even required a manual config change. This actually got accidentally fixed in

[v4 17/17] arm: socfpga: Enable Intel N5X device build

2021-07-12 Thread Siew Chin Lim
Add defconfig for N5X to support legacy, ATF and VAB boot flow. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Kconfig | 21 +++- arch/arm/mach-socfpga/Makefile | 28 ++ ...lex_vab_defconfig =>

[v4 16/17] include: configs: Add Intel N5X device CONFIGs

2021-07-12 Thread Siew Chin Lim
Add CONFIGs for N5X. Signed-off-by: Siew Chin Lim --- include/configs/socfpga_n5x_socdk.h | 45 + 1 file changed, 45 insertions(+) create mode 100644 include/configs/socfpga_n5x_socdk.h diff --git a/include/configs/socfpga_n5x_socdk.h

[v4 15/17] arm: dts: Add base dtsi and devkit dts for Intel N5X device

2021-07-12 Thread Siew Chin Lim
Add device tree for N5X. Signed-off-by: Siew Chin Lim Signed-off-by: Tien Fong Chee --- v4: - Reuse socfpga_n5x_socdk.dts from Linux and add U-boot specifc dts to u-boot.dtsi. Linux socfpga_n5x_socdk.dts:

[v4 12/17] ddr: altera: Add SDRAM driver for Intel N5X device

2021-07-12 Thread Siew Chin Lim
From: Tien Fong Chee The DDR subsystem in Diamond Mesa is consisted of controller, PHY, memory reset manager and memory clock manager. Configuration settings of controller, PHY and memory reset manager is come from DDR handoff data in bitstream, which contain the register base addresses and

[v4 14/17] board: intel: Add socdk board support for Intel N5X device

2021-07-12 Thread Siew Chin Lim
Add N5X SoC devkit board. Signed-off-by: Siew Chin Lim --- board/intel/n5x-socdk/MAINTAINERS | 7 +++ board/{altera/stratix10-socdk => intel/n5x-socdk}/Makefile | 2 +- board/{altera/stratix10-socdk => intel/n5x-socdk}/socfpga.c | 2 +- 3 files changed, 9

[v4 13/17] arm: socfpga: Add SPL for Intel N5X device

2021-07-12 Thread Siew Chin Lim
Add SPL for N5X. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/{spl_agilex.c => spl_n5x.c} | 37 ++- 1 file changed, 22 insertions(+), 15 deletions(-) copy arch/arm/mach-socfpga/{spl_agilex.c => spl_n5x.c} (83%) diff --git a/arch/arm/mach-socfpga/spl_agilex.c

[v4 11/17] ddr: socfpga: Enable memory test on memory size less than 1GB

2021-07-12 Thread Siew Chin Lim
From: Tien Fong Chee Minimum 1GB memory size is required in current memory test, so this patch improves the memory test for processing memory size less than 1GB, and the size in power of two. Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/sdram_soc64.c | 24 +--- 1

[v4 09/17] arm: socfpga: Add clock manager for Intel N5X device

2021-07-12 Thread Siew Chin Lim
Add clock manager for N5X. Signed-off-by: Siew Chin Lim --- ...{clock_manager_agilex.c => clock_manager_n5x.c} | 32 ++ arch/arm/mach-socfpga/include/mach/clock_manager.h | 2 ++ .../mach-socfpga/include/mach/clock_manager_n5x.h | 12 3 files changed, 29

[v4 10/17] arm: socfpga: Changed misc_s10.c to misc_soc64.c

2021-07-12 Thread Siew Chin Lim
Rename to common file name to used by all SOC64 devices. No functionality change. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Makefile | 4 ++-- arch/arm/mach-socfpga/{misc_s10.c => misc_soc64.c} | 12 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)

[v4 08/17] arm: socfpga: Move cm_get_mpu_clk_hz function declaration to clock_manager.h

2021-07-12 Thread Siew Chin Lim
Move cm_get_mpu_clk_hz function declaration from individual device's clock manager header file to common clock_manager.h. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/include/mach/clock_manager.h | 1 + arch/arm/mach-socfpga/include/mach/clock_manager_agilex.h | 2 --

[v4 07/17] drivers: clk: Add memory clock driver for Intel N5X device

2021-07-12 Thread Siew Chin Lim
Add memory clock manager driver for N5X. Provides memory clock initialization and enable functions. Signed-off-by: Siew Chin Lim --- drivers/clk/altera/Makefile | 1 + drivers/clk/altera/clk-mem-n5x.c | 136 +++ drivers/clk/altera/clk-mem-n5x.h | 84

  1   2   >