ARMv8/sec_firmware : Update chosen/kaslr-seed with random number
authorRuchika Gupta <ruchika.gupta@nxp.com>
Wed, 16 Aug 2017 10:28:10 +0000 (15:58 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 26 Aug 2017 18:56:11 +0000 (14:56 -0400)
commita797f274d7ae806d84b9ececf71f043ca6c1502a
tree56b5e159ab2ae081434ac18dabdb3e281b1094a3
parent225bfd3906453c13a0a88b03d8e62a2f267b3689
ARMv8/sec_firmware : Update chosen/kaslr-seed with random number

kASLR support in kernel requires a random number to be passed via
chosen/kaslr-seed propert. sec_firmware generates this random seed
which can then be passed in the device tree node.

sec_firmware reserves JR3 for it's own usage. Node for JR3 is
removed from device-tree.

Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/include/asm/armv8/sec_firmware.h