u-boot-brain/arch/arm
Bryan O'Donoghue d1ceb0c488 imx: mx7: run sec_init for CAAM RNG
This patch adds a sec_init call into arch_misc_init(). Doing so in
conjunction with the patch "drivers/crypto/fsl: assign job-rings to
non-TrustZone" enables use of the CAAM in Linux when OPTEE/TrustZone is
active.

u-boot will initialise the RNG and assign ownership of the job-ring
registers to a non-TrustZone context. With recent changes by Lukas Auer to
fully initialize the RNG in sec_init() this means that u-boot will hand-off
the CAAM in a state that Linux then can use the CAAM without touching the
reserved DECO registers.

This change is safe both for the OPTEE/TrustZone boot path and the regular
non-OPTEE/TrustZone boot path.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Marco Franchi <marco.franchi@nxp.com>
Cc: Vanessa Maegima <vanessa.maegima@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Tested-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
2018-02-04 12:14:11 +01:00
..
cpu Xilinx changes for v2018.03 2018-01-31 07:10:55 -05:00
dts arm: dts: imx6ull: move input include to base device tree 2018-02-04 12:14:10 +01:00
include i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro 2018-02-04 12:14:11 +01:00
lib arm: bootm-fdt.c: fix compiler warning 2018-01-28 09:39:05 -05:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 board: laird: add WB50N CPU module 2017-11-29 22:36:59 -05:00
mach-bcm283x bcm283x: Add pinctrl driver 2018-01-28 12:27:32 -05:00
mach-davinci davinci: Fix omapl138_lcdk builds 2018-01-31 15:44:58 -05:00
mach-exynos usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00
mach-highbank
mach-imx imx: mx7: run sec_init for CAAM RNG 2018-02-04 12:14:11 +01:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-keystone cmd: ti: Generalize cmd_ddr3 command 2018-01-19 15:49:26 -05:00
mach-kirkwood ata: Migrate CONFIG_MVSATA_IDE to Kconfig 2017-12-12 18:16:06 -05:00
mach-meson ARM: arch-meson: fix writel arguments order 2017-12-18 13:06:30 -05:00
mach-mvebu arm: mvebu: enable boot from NAND 2017-11-30 08:30:27 +01:00
mach-omap2 am33xx: board: Call spl_early_init() to support sdram_init() 2018-01-28 12:27:33 -05:00
mach-orion5x spl: add hierarchical defaults for SPL_LDSCRIPT 2017-08-13 17:12:37 +02:00
mach-qemu ARM: qemu-arm: Add support for AArch64 2018-01-19 15:49:30 -05:00
mach-rmobile ARM: rmobile: Convert CONFIG_R8A77xx to Kconfig 2018-01-24 23:27:21 +01:00
mach-rockchip rockchip: rk3036: enable rockusb support on rk3036 based device 2018-01-28 17:12:39 +01:00
mach-s5pc1xx
mach-snapdragon db820c: add qualcomm dragonboard 820C support 2018-01-15 16:29:02 -05:00
mach-socfpga ARM: socfpga: Convert callers of cm_write_with_phase for wait_for_bit_le32 2018-01-26 13:08:03 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 board: stm32: Fix stm32f746-disco boot 2018-01-29 12:48:30 -05:00
mach-sunxi sunxi: set the default CPUx frequency of H5 to 816MHz 2017-12-02 21:55:25 +05:30
mach-tegra aes: Allow non-zero initialization vector 2018-01-29 12:50:13 -05:00
mach-uniphier ARM: uniphier: hide memory top by platform hook instead of CONFIG 2018-01-09 21:58:19 +09:00
mach-versatile
mach-zynq arm: zynq: Update years in copyright to reflect latest changes 2018-01-30 14:29:32 +01:00
thumb1/include/asm/proc-armv
config.mk binman: arm: Include the binman symbol table 2017-12-12 19:53:45 -07:00
Kconfig imx: add i.MX8M into Kconfig 2018-02-04 12:00:58 +01:00
Kconfig.debug
Makefile imx: add i.MX8M into Kconfig 2018-02-04 12:00:58 +01:00