[GIT PULL] xilinx patches for v2020.10-rc3

Michal Simek monstr at monstr.eu
Thu Aug 20 16:30:12 CEST 2020


Hi Tom,

here are patches I have collected so far. CI loops looks fine.
https://travis-ci.org/github/michalsimek/u-boot/builds/719527417
https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze/-/pipelines/4451

The most of that patches targets xilinx platforms with two exceptions.
i2c partitions handling and second two mmc patches which I found
independently of Faiz. Peng didn't reply to me that's why I pick them up.

Thanks,
Michal


The following changes since commit ba989cf1cac82f10efc749aaf2aaff1694894e71:

  Merge tag 'uniphier-v2020.10-2' of
https://gitlab.denx.de/u-boot/custodians/u-boot-uniphier (2020-08-18
21:28:49 -0400)

are available in the Git repository at:

  git at gitlab.denx.de:u-boot/custodians/u-boot-microblaze.git
tags/xilinx-for-v2020.10-rc3

for you to fetch changes up to 29af2ac48c8f910cc2efc8099323f9d619fb2bd5:

  clk: versal: Move pm_query_id out of clock driver (2020-08-20 10:57:46
+0200)

----------------------------------------------------------------
Xilinx changes for v2020.10-rc3

- Fix fdtfile variable setup
- Fix bootm_*/fdt_high/initrd_high variables handling
- Fix Kconfig dependencies for Xilinx drivers
- Fix booting u-boot from lowest memory
- Fix firmware payload argument count for Versal
- Fix dfu configurations
- Fix mio_bank property handling
- Fix and align code around ID detection
- Start to use ENV_VARS_UBOOT_RUNTIME_CONFIG
- Simplify logic around reading MAC from eeprom
- Decrease malloc length for zynqmp mini qspi
- Enable preboot for ZynqMP and Versal

i2c:
- Fix i2c eeprom partitions handling

mmc:
- Fix logic around HS mode enabling and use proper functions

----------------------------------------------------------------
Ashok Reddy Soma (1):
      arm64: zynqmp: Reduce malloc memory for mini QSPI configuration

Faiz Abbas (1):
      mmc: sdhci: Enable high speed conditional on the corresponding bit

Ibai Erkiaga (7):
      versal: fix versal PM ret payload size
      xilinx: zynqmp: synchronize firmware call return payload
      xilinx: zynqmp: merge firmware calls for EL2 and EL3
      xilinx: zynqmp: get chip ID using firmware driver
      xilinx: zynqmp: get chip ID at EL3
      xilinx: zynqmp: remove chip_id function
      xilinx: zynqmp: fix incorrect map not align with IPI HW

Igor Lantsman (1):
      arm64: zynqmp: Fix set_fdtfile() not to break u-boots DTB

Michal Simek (20):
      xilinx: Setup bootm variables
      xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers
      xilinx: Enable preboot feature for ZynqMP and Versal
      lib: fdt: Introduce fdtdec_setup_mem_size_base_lowest()
      lib: fdt: Convert fdtdes_setup_mem..() to livetree API
      xilinx: versal: Use lowest memory for U-Boot
      xilinx: Align dfu ram with booti command
      xilinx: zynqmp: Enable DFU tftp support
      i2c: eeprom: Use reg property instead of offset and size
      xilinx: Fix xlnx,mio_bank property
      mmc: zynq: Fix default value for xlnx,mio-bank
      xilinx: versal: Enable i2c misc eeprom driver
      xilinx: Add support for ENV_VARS_UBOOT_RUNTIME_CONFIG
      xilinx: Change logic around zynq_board_read_rom_ethaddr()
      xilinx: common: Get rid of fdt_high variable
      xilinx: common: Get rid of initrd_high variable setup
      xilinx: common: Check return value from variable setup
      xilinx: common: Change bootm_size variable setting
      mmc: sdhci: Use upper/lower_32_bits macros
      clk: versal: Move pm_query_id out of clock driver

T Karthik Reddy (1):
      xilinx: versal: Add new versal loadpdi command

 arch/arm/Kconfig                                              |   4 ++++
 arch/arm/dts/avnet-ultrazedev-cc-v1.0-ultrazedev-som-v1.0.dts |   2 +-
 arch/arm/dts/avnet-ultrazedev-som-v1.0.dtsi                   |   2 +-
 arch/arm/dts/imx53-ppd-uboot.dtsi                             |  12
++++++------
 arch/arm/dts/imx6q-bx50v3-uboot.dtsi                          |  10
+++++-----
 arch/arm/dts/versal-mini-emmc0.dts                            |   2 +-
 arch/arm/dts/versal-mini-emmc1.dts                            |   2 +-
 arch/arm/dts/zynqmp-e-a2197-00-revA.dts                       |   2 +-
 arch/arm/dts/zynqmp-g-a2197-00-revA.dts                       |   2 +-
 arch/arm/dts/zynqmp-m-a2197-01-revA.dts                       |   4 ++--
 arch/arm/dts/zynqmp-m-a2197-02-revA.dts                       |   4 ++--
 arch/arm/dts/zynqmp-m-a2197-03-revA.dts                       |   4 ++--
 arch/arm/dts/zynqmp-p-a2197-00-revA.dts                       |   4 ++--
 arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts         |   4 ++--
 arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts                      |   4 ++--
 arch/arm/dts/zynqmp-zcu100-revC.dts                           |   4 ++--
 arch/arm/dts/zynqmp-zcu102-revA.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu104-revA.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu104-revC.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu106-revA.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu111-revA.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu1275-revB.dts                          |   2 +-
 arch/arm/dts/zynqmp-zcu1285-revA.dts                          |   2 +-
 arch/arm/dts/zynqmp-zcu208-revA.dts                           |   2 +-
 arch/arm/dts/zynqmp-zcu216-revA.dts                           |   2 +-
 arch/arm/mach-versal/include/mach/sys_proto.h                 |   2 --
 arch/arm/mach-zynqmp/include/mach/sys_proto.h                 |   3 ---
 arch/sandbox/dts/test.dts                                     |  13
+++++++++++++
 board/xilinx/common/board.c                                   |  21
+++++++++++++--------
 board/xilinx/versal/Kconfig                                   |  14
++++++++++++++
 board/xilinx/versal/Makefile                                  |   1 +
 board/xilinx/versal/board.c                                   |   5 ++++-
 board/xilinx/versal/cmds.c                                    | 105
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/xilinx/zynq/board.c                                     |   9
+++++++++
 board/xilinx/zynqmp/zynqmp.c                                  | 116
+++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------
 configs/sandbox_defconfig                                     |   1 +
 configs/xilinx_versal_virt_defconfig                          |   4 ++++
 configs/xilinx_zynqmp_virt_defconfig                          |   2 ++
 drivers/clk/clk_versal.c                                      |  17
-----------------
 drivers/firmware/firmware-zynqmp.c                            |  84
+++++++++++++++++++++++++++++++++++++++++++-----------------------------------------
 drivers/fpga/versalpl.c                                       |   2 +-
 drivers/gpio/Kconfig                                          |   4 ++--
 drivers/i2c/Kconfig                                           |   2 +-
 drivers/mailbox/zynqmp-ipi.c                                  |  14
++++++++++----
 drivers/misc/i2c_eeprom.c                                     |  15
++++++++-------
 drivers/mmc/Kconfig                                           |   1 -
 drivers/mmc/sdhci.c                                           |  13
++++++++-----
 drivers/mmc/zynq_sdhci.c                                      |   2 +-
 drivers/net/Kconfig                                           |   6 +++---
 include/configs/xilinx_versal.h                               |   3 +--
 include/configs/xilinx_zynqmp.h                               |  11
+++++++----
 include/configs/xilinx_zynqmp_mini_qspi.h                     |   2 +-
 include/configs/zynq-common.h                                 |   1 -
 include/fdtdec.h                                              |  17
+++++++++++++++++
 include/zynqmp_firmware.h                                     |  26
++++++++++++++++++++++++++
 lib/fdtdec.c                                                  |  90
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
 test/dm/bootcount.c                                           |   8
++++++++
 57 files changed, 457 insertions(+), 241 deletions(-)
 create mode 100644 board/xilinx/versal/Kconfig
 create mode 100644 board/xilinx/versal/cmds.c

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200820/f9d17980/attachment.sig>


More information about the U-Boot mailing list