aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJagan Teki2020-04-02 17:11:23 +0530
committerAnatolij Gustschin2020-04-02 15:49:16 +0200
commit61853a7ac7e167d90899ec4e99d2e07db7bc72c1 (patch)
treef72f0ccb0829c09cfcdbdace2fd803820b08c600 /common
parente67243f1a3afc1289f647c86642f067c1ab05498 (diff)
rockchip: Enable pre console for rk3399
Enable pre console buffer for rk3399 platform. This would help to capture the console messages prior to the console being initialised. Enabling this would help to capture all the console messages on video output source like HDMI. So we can find the full console messages of U-Boot proper on HDMI display when enabled it for RK3399 platform boards. Buffer address used for pre console is 0x0f200000 which is ram base plus 240MiB. right now the Allwinner SoC is using similar computation. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Tested-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 46e4193fc83..bd35de30560 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -568,6 +568,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
help
This sets the start address of the pre-console buffer. This must
be in available memory and is accessed before relocation and