]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: nanopc-t6-rk3588: use DRAM banks from ATAGS
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 25 Apr 2024 10:46:26 +0000 (12:46 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
commit97eaedb60aca5657eba1b8380c6365dcb59f08da
treec7eaee4b787adac4f7d9b6a360956d9ff67f6235
parentc4c35858b78751473920bd413c2147d302bd4930
rockchip: nanopc-t6-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 nanopc-t6-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/friendlyelec/nanopc-t6-rk3588/Makefile [deleted file]
board/friendlyelec/nanopc-t6-rk3588/nanopc-t6-rk3588.c [deleted file]
configs/nanopc-t6-rk3588_defconfig