diff options
-rw-r--r-- | board/freescale/imx8dxl_evk/imx8dxl_evk.c | 10 | ||||
-rw-r--r-- | board/freescale/imx8dxl_phantom_mek/imx8dxl_phantom_mek.c | 10 | ||||
-rw-r--r-- | configs/imx8dxl_ddr3_evk_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8dxl_ddr3_evk_nand_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8dxl_evk_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8dxl_evk_fspi_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8dxl_phantom_mek_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8dxl_phantom_mek_fspi_defconfig | 1 |
8 files changed, 26 insertions, 0 deletions
diff --git a/board/freescale/imx8dxl_evk/imx8dxl_evk.c b/board/freescale/imx8dxl_evk/imx8dxl_evk.c index 392d56aa277..dad24e150ec 100644 --- a/board/freescale/imx8dxl_evk/imx8dxl_evk.c +++ b/board/freescale/imx8dxl_evk/imx8dxl_evk.c @@ -18,6 +18,7 @@ #include <asm/arch/clock.h> #include <asm/arch/sci/sci.h> #include <asm/arch/imx8-pins.h> +#include <asm/arch/snvs_security_sc.h> #include <asm/arch/iomux.h> #include <asm/arch/sys_proto.h> #include <usb.h> @@ -161,6 +162,15 @@ int board_init(void) setup_eqos(); #endif +#ifdef CONFIG_IMX_SNVS_SEC_SC_AUTO + { + int ret = snvs_security_sc_init(); + + if (ret) + return ret; + } +#endif + return 0; } diff --git a/board/freescale/imx8dxl_phantom_mek/imx8dxl_phantom_mek.c b/board/freescale/imx8dxl_phantom_mek/imx8dxl_phantom_mek.c index c5170f61f57..000110ec89c 100644 --- a/board/freescale/imx8dxl_phantom_mek/imx8dxl_phantom_mek.c +++ b/board/freescale/imx8dxl_phantom_mek/imx8dxl_phantom_mek.c @@ -18,6 +18,7 @@ #include <asm/arch/clock.h> #include <asm/arch/sci/sci.h> #include <asm/arch/imx8-pins.h> +#include <asm/arch/snvs_security_sc.h> #include <asm/arch/iomux.h> #include <asm/arch/sys_proto.h> #include <usb.h> @@ -133,6 +134,15 @@ int board_init(void) { board_gpio_init(); +#ifdef CONFIG_IMX_SNVS_SEC_SC_AUTO + { + int ret = snvs_security_sc_init(); + + if (ret) + return ret; + } +#endif + return 0; } diff --git a/configs/imx8dxl_ddr3_evk_defconfig b/configs/imx8dxl_ddr3_evk_defconfig index 16993ed7373..53a9672f67f 100644 --- a/configs/imx8dxl_ddr3_evk_defconfig +++ b/configs/imx8dxl_ddr3_evk_defconfig @@ -166,3 +166,4 @@ CONFIG_SDP_LOADADDR=0x80400000 CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 +CONFIG_IMX_SNVS_SEC_SC=y diff --git a/configs/imx8dxl_ddr3_evk_nand_defconfig b/configs/imx8dxl_ddr3_evk_nand_defconfig index 9c51255d408..3e1ceb0f31b 100644 --- a/configs/imx8dxl_ddr3_evk_nand_defconfig +++ b/configs/imx8dxl_ddr3_evk_nand_defconfig @@ -177,3 +177,4 @@ CONFIG_SDP_LOADADDR=0x80400000 CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 +CONFIG_IMX_SNVS_SEC_SC=y diff --git a/configs/imx8dxl_evk_defconfig b/configs/imx8dxl_evk_defconfig index 3ebb188eccf..9e8e29c23b9 100644 --- a/configs/imx8dxl_evk_defconfig +++ b/configs/imx8dxl_evk_defconfig @@ -168,3 +168,4 @@ CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_IMX_SNVS_SEC_SC=y diff --git a/configs/imx8dxl_evk_fspi_defconfig b/configs/imx8dxl_evk_fspi_defconfig index 506e8e59823..ff8dead640b 100644 --- a/configs/imx8dxl_evk_fspi_defconfig +++ b/configs/imx8dxl_evk_fspi_defconfig @@ -173,3 +173,4 @@ CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_IMX_SNVS_SEC_SC=y diff --git a/configs/imx8dxl_phantom_mek_defconfig b/configs/imx8dxl_phantom_mek_defconfig index 05711b1db41..55e2cc1572b 100644 --- a/configs/imx8dxl_phantom_mek_defconfig +++ b/configs/imx8dxl_phantom_mek_defconfig @@ -168,3 +168,4 @@ CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_IMX_SNVS_SEC_SC=y diff --git a/configs/imx8dxl_phantom_mek_fspi_defconfig b/configs/imx8dxl_phantom_mek_fspi_defconfig index ce511fc274e..a2eb274aba6 100644 --- a/configs/imx8dxl_phantom_mek_fspi_defconfig +++ b/configs/imx8dxl_phantom_mek_fspi_defconfig @@ -175,3 +175,4 @@ CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000 CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000 CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_IMX_SNVS_SEC_SC=y |