]> git.dujemihanovic.xyz Git - u-boot.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)
commit971ccee2fb74a5dad282e230d60de84e1fb6e6dd
tree9a6bd14a01f9e99c3b483acada8e8df51351958c
parent40c69cc922c7874301bbb543508e5f591f4e30d4
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