
This set of patches makes a version of u-boot that is bootable as BL33 in a chainloded set of images in the following sequence.
BootROM -> ATF (loads a FIP) -> OPTEE -> u-boot -> Linux.
Since the OPTEE image enables TrustZone u-boot no longer has access to certain low-level functions. In order to differentiate between the full-fat WaRP7 u-boot which is usually run by the BootROM directly a second defconfig is introduced along with some minimal skipping of low-level bit twiddling.
For those motivated to try a description of how to set up the WaRP7 in ATF mode is here:
https://github.com/bryanodonoghue/arm-trusted-firmware/blob/atf-master%2Blin...
Rui Miguel Silva (4): imx: mx7: avoid some initialization if low level is skipped optee: adjust dependencies and default values for dram warp7: include: configs: set skip low level init warp7: configs: add bl33 defconfig
arch/arm/mach-imx/mx7/soc.c | 2 ++ arch/arm/mach-imx/syscounter.c | 2 ++ configs/warp7_bl33_defconfig | 42 ++++++++++++++++++++++++++++++++++ configs/warp7_defconfig | 2 ++ include/configs/warp7.h | 11 +++++++++ lib/optee/Kconfig | 8 +++---- 6 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 configs/warp7_bl33_defconfig