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