]> git.baikalelectronics.ru Git - uboot.git/commit
SoC: sdm845: find and save KASLR to env variables
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 27 Dec 2022 19:47:09 +0000 (22:47 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 20:39:07 +0000 (15:39 -0500)
commit15a1c499abf7f2446936e35ac9d434ec75496ed4
tree9a6bd14a01f9e99c3b483acada8e8df51351958c
parentcc73f2f3fee2aed87f8bcccafb021be07ee5f45f
SoC: sdm845: find and save KASLR to env variables

KASLR address is needed to boot fully functional Android.
KASLR is set by primary bootloader, and since u-boot is used
as a secondary bootloader(replacing kernel) on sdm845 platform,
KASLR may be found by comparing memory chunks at relocaddr over
supposed KASLR range.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
arch/arm/mach-snapdragon/init_sdm845.c