rockchip: Enable pre console for rk3399
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 2 Apr 2020 11:41:23 +0000 (17:11 +0530)
committerAnatolij Gustschin <agust@denx.de>
Thu, 2 Apr 2020 13:49:16 +0000 (15:49 +0200)
commit61853a7ac7e167d90899ec4e99d2e07db7bc72c1
treef72f0ccb0829c09cfcdbdace2fd803820b08c600
parente67243f1a3afc1289f647c86642f067c1ab05498
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>
arch/arm/mach-rockchip/Kconfig
common/Kconfig