diff options
author | Sumit Garg <sumit.garg@nxp.com> | 2016-06-14 17:52:40 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-07-26 16:01:49 (GMT) |
commit | e7e720c2cef046f67f23db0a54bd65f8b662531e (patch) | |
tree | 8593af312d5e38d0abad49a2537a175d59249259 /board | |
parent | 69d4b48c84b9c2b762066c5a68406a53e49ea2f3 (diff) | |
download | u-boot-fsl-qoriq-e7e720c2cef046f67f23db0a54bd65f8b662531e.tar.xz |
arm: ls1021atwr: Add SD secure boot target
Add SD secure boot target for ls1021atwr.
Implement board specific spl_board_init() to setup CAAM stream ID and
corresponding stream ID in SMMU. Change the u-boot size defined by a
macro for copying the main U-Boot by SPL to also include the u-boot
Secure Boot header size as header is appended to u-boot image. So header
will also be copied from SD to DDR.
Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/ls1021atwr/ls1021atwr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index c69c9cb..77482a9 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -503,6 +503,13 @@ int board_init(void) return 0; } +#if defined(CONFIG_SPL_BUILD) +void spl_board_init(void) +{ + ls102xa_smmu_stream_id_init(); +} +#endif + #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { |