]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: Kconfig: Enable external TPL binary for rk3308
authorMassimo Pegorer <massimo.pegorer+oss@gmail.com>
Sat, 9 Sep 2023 09:33:24 +0000 (11:33 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 7 Oct 2023 08:49:41 +0000 (16:49 +0800)
There is no support to initialize DRAM on rk3308 SoC using U-Boot
TPL or SPL, and therefore an external TPL binary must be used to
package a bootable u-boot-rockchip.bin image.

Default ROCKCHIP_EXTERNAL_TPL to yes if ROCKCHIP_RK3308.
Remove useless TPL_SERIAL.

Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Tested-by: FUKAUMI Naoki <naoki@radxa.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Kconfig

index 03c2b3771d2838106116afa1921343295a0c8d9f..c43c185c17c578932eb4969261c9c1e663c2bec4 100644 (file)
@@ -166,7 +166,6 @@ config ROCKCHIP_RK3308
        imply SPL_SYSCON
        imply SPL_RAM
        imply SPL_SERIAL
-       imply TPL_SERIAL
        imply SPL_SEPARATE_BSS
        help
          The Rockchip RK3308 is a ARM-based Soc which embedded with quad
@@ -436,7 +435,7 @@ config TPL_ROCKCHIP_COMMON_BOARD
 
 config ROCKCHIP_EXTERNAL_TPL
        bool "Use external TPL binary"
-       default y if ROCKCHIP_RK3568 || ROCKCHIP_RK3588
+       default y if ROCKCHIP_RK3308 || ROCKCHIP_RK3568 || ROCKCHIP_RK3588
        help
          Some Rockchip SoCs require an external TPL to initialize DRAM.
          Enable this option and build with ROCKCHIP_TPL=/path/to/ddr.bin to