RE: [PATCH] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-05-31 Thread Biju Das
Hi Adam, Thanks for the patch. > -Original Message- > From: Adam Ford > Sent: 28 May 2021 01:31 > To: u-boot@lists.denx.de > Cc: Biju Das ; Adam Ford > Subject: [PATCH] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash > > There is a QSPI NOR flash part on the board. Because this ch

Re: [PATCHv2] drivers: tpm2: update reset gpio semantics

2021-05-31 Thread Michal Simek
On 6/1/21 8:09 AM, Jorge Ramirez-Ortiz wrote: > Use the more generic reset-gpios propery name. > > Signed-off-by: Jorge Ramirez-Ortiz > --- > v2: kept gpio-reset as legacy > > .../tpm2/tis-tpm2-spi.txt | 2 +- > drivers/tpm/tpm2_tis_spi.c| 21 ++

[PATCHv2] drivers: tpm2: update reset gpio semantics

2021-05-31 Thread Jorge Ramirez-Ortiz
Use the more generic reset-gpios propery name. Signed-off-by: Jorge Ramirez-Ortiz --- v2: kept gpio-reset as legacy .../tpm2/tis-tpm2-spi.txt | 2 +- drivers/tpm/tpm2_tis_spi.c| 21 --- 2 files changed, 14 insertions(+), 9 deletions(-)

[PATCH] cmd:Elaborate ‘blkcache’ cmd HELP statement

2021-05-31 Thread opensource . kab
From: Adarsh Babu Kalepalli "HELP description is provided for ‘configure’ sub-command of ‘blkcache’. Signed-off-by: Adarsh Babu Kalepalli --- cmd/blkcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/blkcache.c b/cmd/blkcache.c index 25f252e455..89ae52150a 100644 --- a/cmd/blkcac

[BUG] network is broken on Orange Pi PC

2021-05-31 Thread Heinrich Schuchardt
Dear all, network is broken in U-Boot on orangepi_pc_defconfig: U-Boot 2021.07-rc3-00059-gd8729a114e (May 31 2021 - 21:26:56 +) Allwinner Technology eth0: ethernet@1c3 => dhcp sun8i_emac_eth_start: Timeout Best regards Heinrich

[PATCH] board: sama5d3_xplained: add Falcon boot support

2021-05-31 Thread Michael Opdenacker
This supports Falcon boot support for Microchip SAMA5D3 Xplained, tested on raw MMC, and on raw NAND. spl_start_uboot() is has the simplest possible implementation. It doesn't test the environment because enabling environment support currently causes the SPL to exceed its maximum size (64 KiB). It

Re: U-Boot "lib: Add support for ECDSA image signing" commit breaks socfpga_*_atf_defconfig compilation

2021-05-31 Thread Alex G.
On 4/24/21 2:43 AM, Lim, Elly Siew Chin wrote: Add this discussion to denx mailing list. [snip] I can think of two enhancement to fix this: (1) Add separate CONFIG to gate ECDSA algorithm. This enhancement benefits all use cases. I assume not all user need ECDSA algorithm when FIT_SIGNATU

Re: [PULL] u-boot-riscv/master

2021-05-31 Thread Tom Rini
On Mon, May 31, 2021 at 06:16:19PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit ffd810487ec2ff6095edf3f3d058d7ed6eb85ff3: > > Merge tag 'u-boot-stm32-20210528' of > https://source.denx.de/u-boot/custodians/u-boot-stm (2021-05-28 14:11:06 > -0400) > > are availabl

Re: Pull request: u-boot-sunxi/master for v2021.07

2021-05-31 Thread Tom Rini
On Mon, May 31, 2021 at 01:23:45AM +0100, Andre Przywara wrote: > Hi Tom, > > please pull the master branch from u-boot-sunxi, containing the fix > to bring back the SD card as MMC0. In the long run we are looking into a > more robust solution, but for now we need to fix this, as this breaks > th

[PATCH v4 4/5] stm32mp1: spl: Configure TrustZone controller for OP-TEE

2021-05-31 Thread Alexandru Gagniuc
OP-TEE is very particular about how the TZC should be configured. When booting an OP-TEE payload, an incorrect TZC configuration will result in a panic. Most information can be derived from the SPL devicetree. The only information we don't have is the split between TZDRAM and shared memory. This h

[PATCH v4 3/5] arm: stm32mp: Implement support for TZC 400 controller

2021-05-31 Thread Alexandru Gagniuc
The purpose of this change is to allow configuring TrustZone (TZC) memory permissions. For example, OP-TEE expects TZC regions to be configured in a very particular way. The API presented here is intended to allow exactly that. UCLASS support is not implemented, because it would not be too useful.

[PATCH v4 5/5] ARM: dts: stm32mp: Add OP-TEE reserved memory to SPL dtb

2021-05-31 Thread Alexandru Gagniuc
Add the "/reserved-memory/optee" node to the SPL devicetree. The purpose is to allow configuring TZC regions when booting OP-TEE. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/ar

[PATCH v4 2/5] spl: Introduce spl_board_prepare_for_optee() hook

2021-05-31 Thread Alexandru Gagniuc
OP-TEE requires some particular setup, which is not needed for linux or other payloads. Add a hook for platform-specific code to perform any OP-TEE related configuration and initialization. A weak function is used because it is symmetrical to other spl_board_prepare_for_*() implementations. A solu

[PATCH v4 1/5] spl: mmc: Support OP-TEE payloads in Falcon mode

2021-05-31 Thread Alexandru Gagniuc
In general, Falcon mode means we're booting a linux kernel directly. With FIT images, however, an OP-TEE secure kernel can be booted before linux. Thus, if the next stage is an IH_OS_TEE, this isn't necessarily a problem. Of course, a general solution would involve mmc_load_image_raw_os() only loa

[PATCH v4 0/5] stm32mp: Enable OP-TEE and TZC support in SPL

2021-05-31 Thread Alexandru Gagniuc
The purpose of this series is to allow booting an OP-TEE image from SPL, by corectly configuring the TrustZone (TZC) memory regions. Although TZC400 is a generic silicon logic that could apply to other mach- families, support is currently restricted to stm32mp. I have neither a feasible way nor in

Re: [PATCH v3 4/5] stm32mp1: spl: Configure TrustZone controller for OP-TEE

2021-05-31 Thread Alex G.
On 5/28/21 5:22 AM, Patrick DELAUNAY wrote: Hi, On 4/15/21 6:48 PM, Alexandru Gagniuc wrote: [snip] +    fdt_start = ofnode_get_addr_size(node, "reg", size); warning here because size is 'fdt_size_t *' not 'u32*' arch/arm/mach-stm32mp/spl.c:122:48: warning: passing argument 3 of ‘ofnode_

Re: [PATCH v3 3/5] arm: stm32mp: Implement support for TZC 400 controller

2021-05-31 Thread Alex G.
Hi Patrick, On 5/28/21 4:59 AM, Patrick DELAUNAY wrote: Hi, Any reason to prefer  uint16_t and uint32_t ? I use standard C types. u32, _u32, and __u32 are non-standard, and they have different meanings depending on how they're used. I avoid them for this reason. Alex See checkpatch warn

Re: [PATCH] rk3399: Add basic support for helios64【请注意,邮件由cglom...@redhat.com代发】

2021-05-31 Thread Patrick Wildt
Any news on this? Uwe, Christian? Am Tue, Mar 30, 2021 at 03:21:32PM +0800 schrieb Kever Yang: > Hi > > Could you send new patch set if everything is ready. > > > Thanks, > > - Kever > > On 2021/3/9 上午12:29, Christian Glombek wrote: > > I've looked into this a bit over the weekend - my curre

[PATCH] net: e1000: Fix Unchecked return value coverity

2021-05-31 Thread Zhiqiang Hou
From: Hou Zhiqiang Added check for return value of e1000_read_phy_reg(). Signed-off-by: Hou Zhiqiang --- drivers/net/e1000.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 694114eca7..1f0d559415 100644 --- a/driv

Re: [[PATCH] colibri_imx6: add board_fit_config_name_match to support FIT in SPL

2021-05-31 Thread Sean Anderson
On 5/31/21 3:06 AM, liu.min...@gmail.com wrote: From: Ming Liu Only one dtb is currently supported, so match with imx6-colibri. Signed-off-by: Ming Liu --- board/toradex/colibri_imx6/colibri_imx6.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/toradex/colibri_imx6/c

[PATCH v7] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
Add i.MX8QM qmx8 congatec board support U-Boot 2021.07-rc3-00528-gc9a966d9dd (May 31 2021 - 15:21:25 +0200) CPU: NXP i.MX8QM RevB A53 at 1200 MHz Model: Congatec QMX8 Qseven series Board: conga-QMX8 Build: SCFW 494c97f3, SECO-FW d63fdb21, ATF 09c5cc9 Boot: SD2 DRAM: 6 GiB MMC: FSL_SDHC: 0,

Re: [PATCH v6] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
On 02/03/21, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Mar 2, 2021 at 5:30 PM Stefano Babic wrote: > > > I get now an error with CI for htmldocs: > > > > /builds/u-boot/custodians/u-boot-imx/doc/board/congatec/index.rst:document > > isn't included in any toctree > > Does this fix it? > >

Re: [PATCH v6] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
On 08/04/21, Stefano Babic wrote: > Hi Oliver, > > I was quite convinced this was the right one and I could merge it. Most > builds were okl, until...x86 is built ! > > In fact, there are congatec boards based on intel, they are using the common > path (../common), and due to your changes some i.

Re: [[PATCH] colibri_imx6: add board_fit_config_name_match to support FIT in SPL

2021-05-31 Thread Marcel Ziswiler
Hi Ming On Mon, 2021-05-31 at 09:06 +0200, liu.min...@gmail.com wrote: > From: Ming Liu > > Only one dtb is currently supported, so match with imx6-colibri. Looks similar to commit 6f8ef051c5dd ("apalis_imx6: add board_fit_config_name_match to support FIT in SPL") to me. I guess as we are cur

Re: [PATCH] drivers: tpm2: update reset gpio semantics

2021-05-31 Thread Michal Simek
On 5/31/21 3:17 PM, Jorge Ramirez-Ortiz, Foundries wrote: > On 31/05/21, Michal Simek wrote: >> >> >> On 5/28/21 6:18 PM, Bruno Thomsen wrote: >>> Den tor. 27. maj 2021 kl. 09.15 skrev Michal Simek >>> : On 5/26/21 9:57 PM, Jorge Ramirez-Ortiz wrote: > Use the more gener

Re: [PATCH] drivers: tpm2: update reset gpio semantics

2021-05-31 Thread Jorge Ramirez-Ortiz, Foundries
On 31/05/21, Michal Simek wrote: > > > On 5/28/21 6:18 PM, Bruno Thomsen wrote: > > Den tor. 27. maj 2021 kl. 09.15 skrev Michal Simek > > : > >> > >> > >> > >> On 5/26/21 9:57 PM, Jorge Ramirez-Ortiz wrote: > >>> Use the more generic reset-gpios propery name. > >>> > >>> Signed-off-by: Jorge Ra

[PATCH] zynqmp: Remove u-boot,dm-pre-reloc for uart instances

2021-05-31 Thread Michal Simek
Uarts already have u-boot,dm-pre-reloc via zynqmp.dtsi that's why there is no need to have them in platform DT files too. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-a2197-revA.dts | 1 - arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 1 - arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 1 -

RE: [v2 04/17] arm: socfpga: Add handoff data support for Intel N5X device

2021-05-31 Thread Chee, Tien Fong
Hi Ley Foon, > -Original Message- > From: Ley Foon Tan > Sent: Friday, 14 May, 2021 5:13 PM > To: Lim, Elly Siew Chin > Cc: ZY - u-boot ; Marek Vasut ; > Tan, Ley Foon ; See, Chin Liang > ; Simon Goldschmidt > ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai > S

[PATCH] test/py:Update python tests for ‘gpio’ cmd

2021-05-31 Thread opensource . kab
From: Adarsh Babu Kalepalli Generic Python Test cases are developed to verfiy 'gpio' command. Signed-off-by: Adarsh Babu Kalepalli --- test/py/tests/test_gpio.py | 175 - 1 file changed, 174 insertions(+), 1 deletion(-) diff --git a/test/py/tests/test_gpio

[PULL] u-boot-riscv/master

2021-05-31 Thread Leo Liang
Hi Tom, The following changes since commit ffd810487ec2ff6095edf3f3d058d7ed6eb85ff3: Merge tag 'u-boot-stm32-20210528' of https://source.denx.de/u-boot/custodians/u-boot-stm (2021-05-28 14:11:06 -0400) are available in the Git repository at: g...@source.denx.de:u-boot/custodians/u-boot-ris

[PATCH 3/3] zynqmp: Pass bl32 entry to TF-A via xilinx handoff structure

2021-05-31 Thread Michal Simek
There is need to pass entry about secure OS when bl32_entry is defined. Currently only 64bit support is added but /fit-images node have been extended to also record if this is 32bit or 64bit secure OS. When this is tested the code will be update to support this configuration too. Signed-off-by: Mi

[PATCH 2/3] zynqmp: Generate u-boot.its also with TEE dynamically

2021-05-31 Thread Michal Simek
The first change is to trying to find out TF-A load address based on reading elf file. Expectation is that bl31.bin is in the same folder as bl31.elf. It brings new flexibility to place TF-A to any address (DDR included). And also enable TEE generation also with TEE configuration. Expecation is th

[PATCH 1/3] zynqmp: Do not place u-boot to reserved memory location

2021-05-31 Thread Michal Simek
TF-A and SecureOS can allocate the part of DDR for self but U-Boot is not handling this configuration that the part of memory is reserved and shouldn't be used by U-Boot. That's why read all reserved memory locations and don't use it. The code was taken from commit 4a1b975dac02 ("board: stm32mp1: r

[PATCH 0/3] zynqmp: Add support for secure OS loading

2021-05-31 Thread Michal Simek
Hi, this series is adding support for working with TEE in much easier and flexible way. TF-A can be placed to any location. When it is placed to DDR you should enable DT support which reserve location where TF-A is https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/10131 The similar

[PATCH] spl: fit: Also record architecture in /fit-images

2021-05-31 Thread Michal Simek
On ARM64 secure OS can run as 64bit or 32bit that's why it is necessary to record information about architecture that other code can read it and properly pass it to TF-A and start in 64bit or 32bit mode. Signed-off-by: Michal Simek --- common/fdt_support.c | 4 +++- common/spl/spl_fit.c | 3 +

Re: [PATCH v2] drivers: pci: pcie_dw_common: fix Werror compilation error

2021-05-31 Thread Neil Armstrong
On 19/05/2021 13:16, Green Wan wrote: > Fix compilation error when Werror is turned on. The warning could > possible break some CI builds. > > Signed-off-by: Green Wan > --- > drivers/pci/pcie_dw_common.c | 54 +++- > 1 file changed, 29 insertions(+), 25 deletions

Re: [PATCHv2 3/3] pci: pcie_dw_rockchip: Use mleep macro to fix below error

2021-05-31 Thread Neil Armstrong
On 21/05/2021 18:59, Anand Moon wrote: > Define msleep macro to fix below error. > > drivers/pci/pcie_dw_rockchip.c:254:3: warning: implicit > declaration of function 'msleep' [-Wimplicit-function-declaration] > > Cc: Patrick Wildt > Cc: Neil Armstrong > Cc: Kever Yang > Signed-off-by: Ana

Re: [PATCHv2 2/3] pci: pcie_dw_rockchip: Drop the unused variable warning

2021-05-31 Thread Neil Armstrong
On 21/05/2021 18:59, Anand Moon wrote: > Drop the unused variable warning below. > > drivers/pci/pcie_dw_rockchip.c:161:6: warning: unused variable > 'val' [-Wunused-variable] > 161 | u32 val; > | ^~~ > > Cc: Patrick Wildt > Cc: Neil Armstrong > Cc: Kever Yan

Re: [PATCHv2 1/3] pci: pcie_dw_rockchip: Fixed the below compilation error

2021-05-31 Thread Neil Armstrong
On 21/05/2021 18:59, Anand Moon wrote: > Use the generic error number instead of specific error number. > Changes fix the below error. > > drivers/pci/pcie_dw_rockchip.c: In function 'rk_pcie_read': > drivers/pci/pcie_dw_rockchip.c:70:10: error: 'PCIBIOS_UNSUPPORTED' > undecl

[PATCH] zynqmp: Enable regulators

2021-05-31 Thread Michal Simek
Enable command and fixed regulators. XDP platform is using them. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_virt_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig index 1df0ef66c22c..8191b7f73

Re: [PATCH] arm64: zynqmp: Add psu_init_gpl for k26 boards

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 13:05 odesílatel Michal Simek napsal: > > Add psu_init_gpl file for getting SPL to work directly from the tree. > > Signed-off-by: Michal Simek > --- > > .../zynqmp/zynqmp-sm-k26-revA/psu_init_gpl.c | 673 ++ > board/xilinx/zynqmp/zynqmp-smk-k26-revA | 1

Re: [PATCH] ARM: zynq: Rename bus to be align with simple-bus yaml

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 12:59 odesílatel Michal Simek napsal: > > Rename amba to AXI. Based on Xilinx Zynq TRM (Chapter 5) chip is "AXI > point-to-point channels for communicating addresses, data, and response > transactions between master and slave clients. This ARM AMBA 3.0..." > > Issues are reported

Re: [PATCH] arm64: zynqmp: Enable gpio driver for zcu1275/zcu1285

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 11:56 odesílatel Michal Simek napsal: > > Enable gpio driver on these boards. GPIOs can be used on any board. > > Signed-off-by: Michal Simek > --- > > arch/arm/dts/zynqmp-zcu1275-revA.dts | 4 > arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 > arch/arm/dts/zynqmp-zcu1285-r

Re: [PATCH] arm64: zynqmp: Enable EFI secure boot

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 12:28 odesílatel Michal Simek napsal: > > Enabling EFI secure boot which is required for EBBR specification. > Enabling this will fix > "RT.SetVariable - Create one Time Base Auth Variable, the expect return > status should be EFI_SUCCESS" > > Signed-off-by: Michal Simek > --- >

Re: [PATCH] arm64: zynqmp: Add support for SVD devices

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 10:45 odesílatel Michal Simek napsal: > > SVD (Software Virtual Devices) are using different name which can't be > handled via zynqmp_devices structure. That's why introduce > zynqmp_detect_svd_name() which checks ID code for these devices and show > proper name for them. > > Sign

Re: [PATCH] arm64: xilinx: Set CONFIG_ZYNQMP_FIRMWARE config for mini emmc

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 12:19 odesílatel Michal Simek napsal: > > From: T Karthik Reddy > > CONFIG_ZYNQMP_FIRMWARE enables zynqmp firmware driver. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > configs/xilinx_versal_mini_emmc0_defconfig | 1 + > configs/xilinx_versal_mini_

Re: [PATCH] arm64: zynqmp: Fix application loading on R5 core1

2021-05-31 Thread Michal Simek
st 19. 5. 2021 v 12:02 odesílatel Michal Simek napsal: > > From: Ashok Reddy Soma > > From U-Boot, loading application on RPU core 0 is fine but loading on > core 1 is not handled properly. Lock-step mode needs both the R5 cores > to be initialized and it is working fine. Whereas in SPLIT mode in

Re: [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013

2021-05-31 Thread Michal Simek
čt 27. 5. 2021 v 12:19 odesílatel Michal Simek napsal: > > The Linux commit f8f79fa6bb25 ("dt-bindings: at25: convert the binding > document to yaml") converted binding to yaml and 3 deprecated properties > pop up. > > The patch is fixing these warnings: > .../zynq-zc770-xm013.dt.yaml: eeprom@2: '

Re: [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702

2021-05-31 Thread Michal Simek
čt 27. 5. 2021 v 12:19 odesílatel Michal Simek napsal: > > The Linux commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to > json-schema") converted binding to yaml and some missing required > properties started to be reported. Align binding based on it. > > The patch is fixing these w

[PATCH 7/7] arm64: zynqmp: Update Copyright years to 2021

2021-05-31 Thread Michal Simek
Trivial change for all files I have touched recently. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1232-revA.dts | 2 +- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 2 +- arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts | 2 +- arch/arm/dts/

[PATCH 6/7] arm64: zynqmp: Add label for zynqmp_ipi

2021-05-31 Thread Michal Simek
Add label which is used by bootloader for adding bootloader specific flag. Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/3dc8416abdd3498e61edcd83830a12af295c5c6d.1611224800.git.michal.si...@xilinx.com --- arch/arm/dts/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 5/7] arm64: zynqmp: Move DP nodes to the end of file (zcu106)

2021-05-31 Thread Michal Simek
Just sync it with others for easier comparison. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu106-revA.dts | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts index e86fe

[PATCH 3/7] arm64: zynqmp: Add missing SMID for pcie to zynqmp.dtsi

2021-05-31 Thread Michal Simek
From: Stefano Stabellini The SMMU is disabled in device tree so this change has no impact. The benefit is that this way it is in sync with xen.dtsi. Xen enables the SMMU and makes use of it. Signed-off-by: Stefano Stabellini Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1

[PATCH 2/7] arm64: zynqmp: Disable CCI by default

2021-05-31 Thread Michal Simek
There is no reason to have CCI no enabled by default. Enable it when your system configuration requires it. In Xilinx configuration flow this is work for Device Tree Generator which reads information from HW Design configuration. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1

[PATCH 1/7] arm64: zynqmp: Update psgtr clocks index for boards

2021-05-31 Thread Michal Simek
Update the psgtr clock indexing for couple of zynqmp boards. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu100-revC.dts | 18 +- arch/arm/dts/zynqmp-zcu106-revA.dts | 14 +++--- arch/arm/dts/zynqmp-zcu111-revA.dts | 14 +++--- arch/arm/dts/zynqmp-zcu208-

[PATCH 4/7] arm64: zynqmp: Add reset description for sata

2021-05-31 Thread Michal Simek
Sata needs to get reset before configuration that's why add property for it there. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 37ee9539801c..345ab97e269a 100644 --- a/arch/

[PATCH 0/7] arm64: zynqmp: DT syncup

2021-05-31 Thread Michal Simek
Hi, I am sending this series to align DT files with the latest description. Couple of changes are taken from Linux kernel and others from Xilinx trees. Thanks, Michal Michal Simek (6): arm64: zynqmp: Update psgtr clocks index for boards arm64: zynqmp: Disable CCI by default arm64: zynqmp:

[PATCH] arm64: zynqmp: Handle MMC seq number based on boot device

2021-05-31 Thread Michal Simek
K26 has EMMC and SD and default 0 is not working when system is booting out of SD which is controller 1. Add controller autodetection via mmc_get_env_dev(). The same code is used for distro_boot selection done in board_late_init(). bootseq variable can't be reused because this is called so late. S

[[PATCH] colibri_imx6: add board_fit_config_name_match to support FIT in SPL

2021-05-31 Thread liu . ming50
From: Ming Liu Only one dtb is currently supported, so match with imx6-colibri. Signed-off-by: Ming Liu --- board/toradex/colibri_imx6/colibri_imx6.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_

Re: [PATCH] drivers: tpm2: update reset gpio semantics

2021-05-31 Thread Michal Simek
On 5/28/21 6:18 PM, Bruno Thomsen wrote: > Den tor. 27. maj 2021 kl. 09.15 skrev Michal Simek : >> >> >> >> On 5/26/21 9:57 PM, Jorge Ramirez-Ortiz wrote: >>> Use the more generic reset-gpios propery name. >>> >>> Signed-off-by: Jorge Ramirez-Ortiz >>> --- >>> doc/device-tree-bindings/tpm2/tis

[[PATCH] tools: image-host: fix wrong return value

2021-05-31 Thread liu . ming50
From: Ming Liu The return value '-ENOSPC' of fit_set_timestamp function does not match the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'. Fix it by not calling fit_set_timestamp, but call fdt_setprop instead. This fixes a following mkimage error: | Can't write signature for