aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMasami Hiramatsu2021-06-04 18:45:31 +0900
committerTom Rini2021-07-06 14:11:50 -0400
commit3a37386f18c82f7270e892dbd51e3f00cf5d8a19 (patch)
tree0bddd0b1b8c2f37679fd2d5d7cd1b70c9e310a13 /include/configs
parent6ae303b62b7c1d858e16a12b5ba86a41fcfa2d0f (diff)
configs: synquacer: Enable EFI capsule update support
Enable EFI capsule update support. With the EFI capsule update, you can update U-Boot, TF-A and OP-TEE. TF-A and OP-TEE are usually combined as a FIP binary, but if the binary is bigger than 480KB, you have to modify FIP header, split the OP-TEE and stores the OP-TEE binary in the different place. This configuration supports both cases. Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/synquacer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h
index 0dab4de1f18..8fe10d74853 100644
--- a/include/configs/synquacer.h
+++ b/include/configs/synquacer.h
@@ -61,6 +61,11 @@
/* Since U-Boot 64bit PCIe support is limited, disable 64bit MMIO support */
/* #define CONFIG_SYS_PCI_64BIT 1 */
+#define DEFAULT_DFU_ALT_INFO "dfu_alt_info=" \
+ "mtd nor1=u-boot.bin raw 200000 100000;" \
+ "fip.bin raw 180000 78000;" \
+ "optee.bin raw 500000 100000\0"
+
/* Distro boot settings */
#ifndef CONFIG_SPL_BUILD
#ifdef CONFIG_CMD_USB
@@ -104,6 +109,7 @@
"ramdisk_addr_r=0xa0000000\0" \
"scriptaddr=0x88000000\0" \
"pxefile_addr_r=0x88100000\0" \
+ DEFAULT_DFU_ALT_INFO \
BOOTENV
#endif /* __CONFIG_H */