summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-04-30 11:40:25 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-04-30 11:40:25 +0200
commit36299ed972f2bb79b4f536816c83828556d79818 (patch)
treeb8fba44d9f7dfb14077bc2b45f7a7d3689833198 /.gitignore
parentd71e6d83612df896774ec4c03d49500312d2c324 (diff)
rockchip: Allow console device to be set by DTB.
Currently the compile-time constant PLAT_RK_UART_BASE defines which UART is used as console device. E.g. on RK3399 it is set to UART0. That means, that a single bl31 image can not be used for two boards, which just differ on the UART console. This patch addresses this limitation by parsing the "stdout-path" property from the "chosen" node in the DTB. The expected property string is expected to have the form "serialN:XXX", with N being either 0, 1, 2 or 3. When the property is found, it will be used to override PLAT_RK_UART_BASE. Tested on RK3399-Q7, with a stdout-path of "serial0:115200n8". Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions