summaryrefslogtreecommitdiff
path: root/include/configs/ls1012ardb.h
diff options
context:
space:
mode:
authorRajesh Bhagat <rajesh.bhagat@nxp.com>2018-11-05 21:02:53 +0300
committerYork Sun <york.sun@nxp.com>2018-12-07 01:37:19 +0300
commit1f6180dff9b5c1b6df87f54b0fb0d458798d557e (patch)
tree7e4fbf922b8fa587be8c426fd336ef06cb04d0e4 /include/configs/ls1012ardb.h
parent8aa6b17a4d2fe4f75414da8493cf8c0fa59ccf3a (diff)
downloadu-boot-1f6180dff9b5c1b6df87f54b0fb0d458798d557e.tar.xz
armv8: ls1012ardb: Add TFABOOT support
TFABOOT support includes: - ls1012ardb_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOT - enable PFE validation for secure boot Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Vinitha V Pillai <vinitha.pillai@nxp.com> Signed-off-by: Pankit Garg <pankit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1012ardb.h')
-rw-r--r--include/configs/ls1012ardb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index 17554ea955..f149a604cf 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -112,8 +112,14 @@
"bootm $load_addr#$board\0"
#undef CONFIG_BOOTCOMMAND
+#ifdef CONFIG_TFABOOT
+#undef QSPI_NOR_BOOTCOMMAND
+#define QSPI_NOR_BOOTCOMMAND "pfe stop; run distro_bootcmd; run qspi_bootcmd; "\
+ "env exists secureboot && esbc_halt;"
+#else
#define CONFIG_BOOTCOMMAND "pfe stop; run distro_bootcmd; run qspi_bootcmd; "\
"env exists secureboot && esbc_halt;"
+#endif
#include <asm/fsl_secure_boot.h>