]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ARM64: zynqmp: Add support for DFU from SPL
authorMichal Simek <michal.simek@xilinx.com>
Fri, 19 Aug 2016 12:14:52 +0000 (14:14 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Oct 2016 07:13:56 +0000 (09:13 +0200)
commit4444cb2c1925addfdad9e81396ecfc8865b6074b
treee516a3a27e0db84aeee2eb3a89dc59965cf3fe6d
parent6ff9ae77b12763c8f422cf3f5188bff9152ec8aa
ARM64: zynqmp: Add support for DFU from SPL

SPL needs to have bigger stack size because of USB.
Simple malloc needs to be disabled because dfu code requires different
allocation functions. There is no space in OCM that's why random place
in DDR is used.

BOOTD must be disabled because it is causing compilation error.

All variables are disabled and used only variables valid for DFU because
they are simple huge. Including automatic variables added by
CONFIG_ENV_VARS_UBOOT_CONFIG.
Hardcode addresses for u-boot, atf, kernel and dtb
just for SPL DFU code.

Enable SPL DFU for zcu100.
Create new usb_dfu_spl variable just to run Linux kernel loaded in SPL.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/spl.c
board/xilinx/zynqmp/zynqmp.c
configs/xilinx_zynqmp_zcu100_defconfig
include/configs/xilinx_zynqmp.h