u-boot/drivers
Lukas Auer dfaec76029 crypto/fsl: instantiate all rng state handles
Extend the instantiate_rng() function and the corresponding CAAM job
descriptor to instantiate all RNG state handles. This moves the RNG
instantiation code in line with the CAAM kernel driver.

Previously, only the first state handle was instantiated. The second
one was instantiated by the CAAM kernel driver. This works if the
kernel runs in secure mode, but fails in non-secure mode since the
kernel driver uses DEC0 directly instead of over the job ring
interface. Instantiating all RNG state handles in u-boot removes the
need for using DEC0 in the kernel driver, making it possible to use
the CAAM in non-secure mode.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: York Sun <york.sun@nxp.com>
2018-02-09 08:34:34 -08:00
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
bios_emulator printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
block Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
bootcount bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
clk clk: clk_stm32: Add .set_rate callback 2018-01-29 12:48:33 -05:00
core dm: core: Add a function to look up a uclass by name 2018-02-03 10:08:40 -07:00
cpu dm: cpu: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
crypto crypto/fsl: instantiate all rng state handles 2018-02-09 08:34:34 -08:00
ddr drivers/ddr/fsl: Cleanup unused variable 2018-01-30 09:14:07 -08:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu dfu: select HASH 2018-01-26 20:02:33 +05:30
dma Convert CONFIG_APBH_DMA et al to Kconfig 2018-02-08 12:48:11 -05:00
firmware drivers: firmware: psci: use pr_* log functions instead of printf() 2017-12-04 10:23:53 -05:00
fpga wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
gpio Convert CONFIG_MXC_GPIO to Kconfig 2018-02-08 10:17:16 -05:00
i2c i2c: mvtwsi.c: Avoid NULL dereference 2018-02-06 07:02:32 +01:00
input env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc misc: ocotp: add i.MX8M support 2018-02-04 12:00:58 +01:00
mmc Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
mtd Convert CONFIG_APBH_DMA et al to Kconfig 2018-02-08 12:48:11 -05:00
net Kconfig: net: phylib: Phylib should depends on NET 2018-02-08 12:48:10 -05:00
nvme Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci pci: rmobile: Add RCar Gen2 PCIe controller driver 2018-01-27 20:38:53 +01:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy sti: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
pinctrl Merge git://git.denx.de/u-boot-rockchip 2018-01-28 13:56:19 -05:00
power power: pmic/regulator allow dm be omitted by SPL 2018-02-04 12:00:58 +01:00
pwm pwm: imx: Enable PWM support on i.MX53 2017-11-20 09:58:31 +01:00
qe blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
ram dm: ram: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
rtc rtc: adding RX8010SJ rtc driver 2018-02-04 12:00:58 +01:00
scsi Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
serial serial: Make full device search optional 2018-01-29 08:18:02 -05:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi atcspi200: avoid possible NULL dereference 2018-02-07 22:06:18 -05:00
spmi spmi: msm: display the PMIC Arb version (debug) 2018-01-15 11:35:37 -05:00
sysreset db410c: replace reset driver with psci 2018-01-15 16:29:03 -05:00
thermal thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
timer atcpit100: timer: Remove arch dependency. 2017-11-30 09:39:31 +08:00
tpm tpm: st33zp24: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
usb usb: ulpi: kconfig: Remove meaningless choice default 2018-02-05 20:58:12 -05:00
video Merge git://git.denx.de/u-boot-sunxi 2018-01-26 13:22:40 -05:00
watchdog wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00