]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-snapdragon: dynamic load addresses
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 26 Feb 2024 17:26:25 +0000 (17:26 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 1 Mar 2024 14:44:37 +0000 (14:44 +0000)
commita2364d97ffaef6b708b0e7098c5cb5de98f5b6e1
tree522adb70bc0576697ddb92e9b2ee19b38331f4a8
parent059d526af3123935c1fb525d12953d570d392f7c
mach-snapdragon: dynamic load addresses

Heavily inspired by Apple board code. Use the LMB allocator to configure
load addresses at runtime, and implement a lookup table for selecting a
devicetree.

As some Qualcomm RBx boards have different RAM capacities and base
addresses, it isn't possible to hardcode these regions.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org> #qcs404
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/Kconfig
arch/arm/mach-snapdragon/board.c
board/qualcomm/dragonboard410c/dragonboard410c.c