rockchip: evb_rk3588 et al.: use DRAM banks from ATAGS
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 25 Apr 2024 10:46:30 +0000 (12:46 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
commit20c5c183c664b92ac2f514b9f50295dd34c08ab8
tree53f1160ef622d15568df0e935b299d9013757576
parentd4a6373bdf742e6b8627da4fb8c9ef02f8d336c7
rockchip: evb_rk3588 et al.: 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 evb_rk3588.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.

All defconfigs using the CONFIG_TARGET_EVB_RK3588 are updated at once
since they are impacted by this change.

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/rockchip/evb_rk3588/Makefile [deleted file]
board/rockchip/evb_rk3588/evb-rk3588.c [deleted file]
configs/coolpi-4b-rk3588s_defconfig
configs/coolpi-cm5-evb-rk3588_defconfig
configs/evb-rk3588_defconfig
configs/generic-rk3588_defconfig
configs/orangepi-5-plus-rk3588_defconfig
configs/orangepi-5-rk3588s_defconfig