]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rock5a-rk3588s: use DRAM banks from ATAGS
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 25 Apr 2024 10:46:28 +0000 (12:46 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
commita1f600b3050dd73f94c625dd2ff01003039b5b5d
tree926f74dc046fe095d3a3d2bd753a4171d3846a2b
parentd5fd2702f2b9c235d2d200cdd971e5d62f1802eb
rockchip: rock5a-rk3588s: use DRAM banks from ATAGS

RK3588-based devices now support creating DRAM banks with proper holes
by reading the ATAGS from Rockchip TPL blob, so let's use that mechanism
instead.

Since ft_board_setup isn't defined anymore, there's no need for
selecting CONFIG_OF_BOARD_SETUP.

Similarly, because the rock5a-rk3588s.c would be empty, it is simply
removed, with the (would-be-empty) Makefile as well.

The CONFIG_NR_DRAM_BANK now defaults to 10 which is a safe bet for
reading banks from ATAGS, so let's use the default value instead.

Co-developed-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/radxa/rock5a-rk3588s/Makefile [deleted file]
board/radxa/rock5a-rk3588s/rock5a-rk3588s.c [deleted file]
configs/rock5a-rk3588s_defconfig