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