]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rock5b-rk3588: use DRAM banks from ATAGS
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 25 Apr 2024 10:46:29 +0000 (12:46 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
commitd4a6373bdf742e6b8627da4fb8c9ef02f8d336c7
tree953e6306bc57418083420cde6eef3cc692029786
parenta1f600b3050dd73f94c625dd2ff01003039b5b5d
rockchip: rock5b-rk3588: 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 rock5b-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.

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/rock5b-rk3588/Makefile [deleted file]
board/radxa/rock5b-rk3588/rock5b-rk3588.c [deleted file]
configs/rock5b-rk3588_defconfig