]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm: xlnx-zcu102: Add Xilinx BBRAM device
authorTong Ho <tong.ho@xilinx.com>
Fri, 17 Sep 2021 05:23:58 +0000 (22:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Sep 2021 12:42:10 +0000 (13:42 +0100)
commit7e47e15c8b47ac866e8f07998276b01e612a360a
tree0be74cbcd80bca16fa9b26c9275ec4172ae40c0f
parent5f4910ff12f88f9750608cbfe07895204405bed1
hw/arm: xlnx-zcu102: Add Xilinx BBRAM device

Connect the support for Xilinx ZynqMP Battery-Backed RAM (BBRAM)

The command argument:
  -drive if=pflash,index=2,...
Can be used to optionally connect the bbram to a backend
storage, such that field-programmed values in one
invocation can be made available to next invocation.

The backend storage must be a seekable binary file, and
its size must be 36 bytes or larger. A file with all
binary 0's is a 'blank'.

Signed-off-by: Tong Ho <tong.ho@xilinx.com>
Message-id: 20210917052400.1249094-8-tong.ho@xilinx.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/Kconfig
hw/arm/xlnx-zcu102.c
hw/arm/xlnx-zynqmp.c
include/hw/arm/xlnx-zynqmp.h