]> git.dujemihanovic.xyz Git - u-boot.git/commit
corstone1000: set kernel_addr based on boot_idx
authorRui Miguel Silva <rui.silva@linaro.org>
Mon, 12 Jun 2023 08:09:19 +0000 (09:09 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Jun 2023 18:34:16 +0000 (14:34 -0400)
commit17c744c3eaf69e195eee291b06d0c2577b334741
tree160cbc77f6395c48f832879bf0b22304cb4b62a4
parentbc91ca4b8bcb2d6d6ce6b04b7814bbbdf47374fe
corstone1000: set kernel_addr based on boot_idx

We need to distinguish between boot banks and from which
partition to load the kernel+initramfs to memory.

For that, fetch the boot index, fetch the correspondent
partition, calculate the correct kernel address and
then set the env variable kernel_addr with that value.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
board/armltd/corstone1000/corstone1000.c
configs/corstone1000_defconfig