[GIT PULL] xilinx patches for v2024.01-rc1 v2
Michal Simek
monstr at monstr.eu
Thu Sep 21 14:56:59 CEST 2023
Hi Tom,
please pull these patches to your next branch.
I am sending it as v2 in spite of v1 didn't really went through. I created tag
but CI failed because of sandbox CI trace failure. After fixing it and reviewing
by Simon I am adding it to be able to extend ofnode functions for getting
functionality for our SOCs. All non Xilinx patches are reviewed mostly by Simon.
There are other pending changes which are still under review which should go to
v2024.01 but I wanted to get this part done because amount of patches is bigger
than I would like have.
I was thinking about sending cmd/flash_is_unloacked fix to 2023.07 but it looks
like none is actually using spi locking that's why it shouldn't be a problem to
fix in 2024.01. But feel free to pick it up to master if you like.
Thanks,
Michal
The following changes since commit c58ee1c9946a1550b1f6fee2b25da9ecc89baf71:
Merge branch '2023-09-19-tidy-up-some-kconfig-options' into next (2023-09-19
17:44:18 -0400)
are available in the Git repository at:
git at source.denx.de:u-boot/custodians/u-boot-microblaze.git
tags/xilinx-for-v2024.01-rc1-v2
for you to fetch changes up to a3ade3dae4d93f9b5282ddb4885d69161729ec6d:
spi: zynqmp_qspi: Workaround for small data cache issue (2023-09-21 13:20:12
+0200)
----------------------------------------------------------------
Xilinx changes for v2024.01-rc1
clk:
- Dont return error when assigned-clocks is empty or missing
dm:
- Support reading a single indexed u64 value
- Add support for reading bootscript address/flash address from DT
cmd:
- Fix flash_is_unlocked API
fpga:
- Define fpga_load() for debug build
global:
- U-Boot project name cleanup (next2)
net:
- zynq_gem: Use generic_phy_valid() helper
- axienet: Convert to ofnode functions
- gmii2rgmii: Read bridge address from DT
pytest:
- skip tpm2_startup when env__tpm_device_test_skip=True
spi-nor:
- Add mx25u25635f support
- zynqmp_qspi: Tune cache behavior
trace:
- Fix flyrecord alignment issue
xilinx:
- Move scriptaddr to DT as bootscr-address
- Pick script_offset_f/script_size_f from DT as bootscr-flash-offset/size
- Do not generate distro boot variables if disabled
versal:
- Extend memory ranges to cover HBM
- Enable TPM, sha1sum and KASLRSEED
- Fix distroboot prioritization in connection to available devices
- Clean mini targets bootcommand
- Fix clock driver
versal-net:
- Enable TPM, sha1sum and KASLRSEED
- Fix distroboot prioritization in connection to available devices
zynqmp;
- Allow AES to run from SPL
- Enable CMD_KASLRSEED
- Add proper dependencies for USB and remove ZYNQMP_USB
- Fix user si570 default frequency for zcu* boards
- Cover SOM rev2 revision
- Various DT changes
- Add firmware and pinctrl support for tristate configuration
(high impedance/output enable)
- Add output-enable pins to SOMs
- Fix distroboot prioritization in connection to available devices
- Read bootscript address/flash address from DT
- Fix pcap_prog address
----------------------------------------------------------------
Algapally Santosh Sagar (1):
xilinx: board: Add support to pick bootscr address from DT
Amit Kumar Mahapatra (1):
arm64: versal: Add no-wp DT property in OSPI flash node
Ashok Reddy Soma (5):
firmware: zynqmp: Add support to check feature
pinctrl: zynqmp: Add version check for TRISTATE configuration
pinctrl: zynqmp: Add support for output-enable and bias-high-impedance
clk: Dont return error when assigned-clocks is empty or missing
spi: zynqmp_qspi: Change flush cache to invalidate cache
Chanho Park (1):
fpga: define dummy fpga_load function for debug build
Christian Taedcke (1):
xilinx: zynqmp: Extract aes operation into new file
Lukas Funke (1):
arm64: zynqmp: Corrected pcap_prog register address
Maxim Kochetkov (1):
net: axi_emac: Convert to ofnode functions
Michal Simek (16):
xilinx: Remove scriptaddr from config files and move it to DT
arm64: zynqmp: Setup default si570 frequency to 156.25MHz
arm64: zynqmp: Add support for K26 rev2 boards
dm: core: support reading a single indexed u64 value
test/py: tpm2: skip tpm2_startup when env__tpm_device_test_skip=True
dm: core: ofnode: Add ofnode_read_bootscript_address()
dm: core: ofnode: Add ofnode_read_bootscript_flash()
xilinx: board: Add support to pick bootscr flash offset/size from DT
arm64: versal: Do not define boot command for mini configurations
arm64: xilinx: Guard distro boot variable generation
global: Use proper project name U-Boot (next2)
dm: core: ofnode: Fix error message in ofnode_read_bootscript_address/flash()
arm64: zynqmp: Rename xlnx, mio_bank to xlnx, mio-bank for DLC21
trace: Use 64bit variable for start and len
trace: Move trace_clocks description above record offset calculation
trace: Fix alignment logic in flyrecord header
Neal Frager (2):
drivers/mtd/spi/spi-nor-ids.c: add mx25u25635f support
arm64: zynqmp: Add output-enable pins to SOMs
Saeed Nowshadi (1):
arm64: zynqmp: Fix i2c address for si570_user1 clock
Srinivas Neeli (1):
arm64: zynqmp: Add resets property for CAN nodes
Tejas Bhumkar (1):
net: phy: xilinx-gmii2rgmii: Removed hardcoded phy address 0 for bridge
Thippeswamy Havalige (1):
arm64: zynqmp: Update ECAM size to discover up to 256 buses
Venkatesh Yadav Abbarapu (16):
arm64: versal: Increase the number of DRAM banks to 36
arm64: zynqmp: Enable the config CMD_KASLRSEED
arm64: versal: Enable TPM for xilinx platforms
arm64: versal: Enable sha1sum command
arm64: versal: Enable the config CMD_KASLRSEED
arm64: versal-net: Enable TPM for xilinx platforms
arm64: versal-net: Enable sha1sum command
arm64: versal-net: Enable the config CMD_KASLRSEED
xilinx: versal-net: Do not setup boot_targets if driver is not enabled
xilinx: versal: Do not setup boot_targets if driver is not enabled
xilinx: zynqmp: Do not setup boot_targets if driver is not enabled
clk: versal: Fix the function versal_clock_ref
cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD
zynqmp: config: Add proper dependencies for USB
cmd: sf: Fix the flash_is_unlocked api size parameter
spi: zynqmp_qspi: Workaround for small data cache issue
arch/arm/dts/versal-mini-ospi.dtsi | 1 +
arch/arm/dts/versal-net-mini-ospi.dtsi | 1 +
arch/arm/dts/xilinx-versal-net-virt.dts | 6 +
arch/arm/dts/xilinx-versal-virt.dts | 6 +
arch/arm/dts/zynq-7000.dtsi | 7 ++
arch/arm/dts/zynqmp-dlc21-revA.dts | 4 +-
arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 7 +-
arch/arm/dts/zynqmp-sck-kr-g-revA.dts | 6 +
arch/arm/dts/zynqmp-sck-kr-g-revB.dts | 6 +
arch/arm/dts/zynqmp-sck-kv-g-revA.dts | 5 +
arch/arm/dts/zynqmp-sck-kv-g-revB.dts | 5 +
arch/arm/dts/zynqmp-sm-k26-revA.dts | 8 +-
arch/arm/dts/zynqmp-smk-k26-revA.dts | 8 +-
arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu208-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu216-revA.dts | 2 +-
arch/arm/dts/zynqmp.dtsi | 11 +-
arch/arm/mach-zynqmp/Kconfig | 3 -
arch/arm/mach-zynqmp/Makefile | 3 +-
arch/arm/mach-zynqmp/aes.c | 59 +++++++++
arch/arm/mach-zynqmp/include/mach/hardware.h | 2 +-
arch/arm/mach-zynqmp/include/mach/zynqmp_aes.h | 32 +++++
arch/sandbox/dts/test.dts | 26 ++++
board/cobra5272/README | 18 +--
board/emulation/qemu-ppce500/qemu-ppce500.c | 2 +-
board/xilinx/common/board.c | 33 +++++-
board/xilinx/versal-net/board.c | 102 +++++++++-------
board/xilinx/versal/board.c | 96 ++++++++-------
board/xilinx/zynqmp/cmds.c | 43 +------
board/xilinx/zynqmp/zynqmp.c | 125 +++++++++++---------
cmd/Kconfig | 2 +
cmd/sf.c | 2 +-
configs/xilinx_versal_mini_defconfig | 2 -
configs/xilinx_versal_mini_emmc0_defconfig | 2 -
configs/xilinx_versal_mini_emmc1_defconfig | 2 -
configs/xilinx_versal_net_virt_defconfig | 6 +-
configs/xilinx_versal_virt_defconfig | 7 +-
configs/xilinx_zynqmp_virt_defconfig | 2 +-
doc/board/xilinx/zynq.rst | 2 +-
doc/board/xilinx/zynqmp-r5.rst | 4 +-
doc/imx/mkimage/imximage.txt | 2 +-
doc/usage/environment.rst | 2 +-
doc/usage/semihosting.rst | 2 +-
drivers/clk/clk-uclass.c | 8 +-
drivers/clk/clk_versal.c | 98 +++++++++------
drivers/core/of_access.c | 16 ++-
drivers/core/ofnode.c | 89 ++++++++++++++
drivers/firmware/firmware-zynqmp.c | 13 ++
drivers/mtd/spi/spi-nor-ids.c | 1 +
drivers/net/phy/phy.c | 5 +-
drivers/net/xilinx_axi_emac.c | 50 ++++----
drivers/pinctrl/pinctrl-zynqmp.c | 15 +++
drivers/spi/zynqmp_gqspi.c | 4 +-
include/configs/xilinx_versal.h | 7 +-
include/configs/xilinx_versal_net.h | 7 +-
include/configs/xilinx_zynqmp.h | 11 +-
include/configs/zynq-common.h | 2 -
include/dm/of_access.h | 19 +++
include/dm/ofnode.h | 65 ++++++++++
include/fpga.h | 8 ++
include/zynqmp_firmware.h | 3 +
test/dm/clk.c | 9 ++
test/dm/ofnode.c | 27 +++++
test/py/tests/test_tpm2.py | 3 +
tools/proftool.c | 39 +++++-
66 files changed, 858 insertions(+), 311 deletions(-)
create mode 100644 arch/arm/mach-zynqmp/aes.c
create mode 100644 arch/arm/mach-zynqmp/include/mach/zynqmp_aes.h
--
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/Versal ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs
TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs
More information about the U-Boot
mailing list