]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: Enable preconsole for rk3328
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 17 Jan 2024 07:51:52 +0000 (13:21 +0530)
committerAnatolij Gustschin <agust@denx.de>
Sun, 21 Apr 2024 07:07:00 +0000 (09:07 +0200)
Enable and set the start address of pre-console buffer for RK3328.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-rockchip/Kconfig
common/Kconfig

index f68a0a48949a802c52cb210e850478407d07ece1..4f22d9bde9f917bbad6c101eea2d0aff5a009236 100644 (file)
@@ -180,6 +180,7 @@ config ROCKCHIP_RK3328
        select SUPPORT_TPL
        select TPL
        select TPL_NEEDS_SEPARATE_STACK if TPL
+       imply PRE_CONSOLE_BUFFER
        imply ROCKCHIP_COMMON_BOARD
        imply ROCKCHIP_SDRAM_COMMON
        imply SPL_ROCKCHIP_COMMON_BOARD
index 0283701f1d059fbca93bf11ddb8af0b77ac5f89b..5e3070e92539e7211e26911e83c6a4cdd1611e41 100644 (file)
@@ -231,7 +231,7 @@ config PRE_CON_BUF_ADDR
        default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I
        default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I
        default 0x0f000000 if ROCKCHIP_RK3288
-       default 0x0f200000 if ROCKCHIP_RK3399
+       default 0x0f200000 if ROCKCHIP_RK3399 || ROCKCHIP_RK3328
        help
          This sets the start address of the pre-console buffer. This must
          be in available memory and is accessed before relocation and