diff options
author | Andre Przywara | 2020-09-30 17:39:16 +0100 |
---|---|---|
committer | Tom Rini | 2020-10-08 11:42:36 -0400 |
commit | 3d8d9186c379a9d7504088d901b6cb97eb6598ba (patch) | |
tree | fe896ec6845ba37a27d4501f9490ddd38339da9d /board/softing | |
parent | 12650e4a46c859eb14e6141b828d92919a18b9c6 (diff) |
qemu-arm: Remove need to specify flash banks
Currently we hard-code the number and initial addresses of QEMU's flash
banks, even though our code is perfectly able to gather the same
information from the DTB provided by QEMU.
This is especially annoying, since we have two slightly different
U-Boot configurations ("bare-metal" vs. loaded via Arm Trusted
Firmware), which need to be selected at build time.
Drop the two hard coded alternatives, and use
CONFIG_SYS_MAX_FLASH_BANKS_DETECT instead, which relies on the DTB to
figure out the actual flash configuration at runtime.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'board/softing')
0 files changed, 0 insertions, 0 deletions