arm_fpga: Read UART address from DT
The arm_fpga port requires a DTB, to launch a BL33 payload.
To make this port more flexible, we can also use the information in the
DT to configure the console driver.
For a start, find the DT node pointed to by the stdout-path property, and
read the base address from there.
This assumes for now that the stdout-path points to a PL011 UART.

This allows to remove platform specific addresses from the image. We
keep the original base address for the crash console.

Change-Id: I46a990de2315f81cae4d7913ae99a07b0bec5cb1
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 1a0f936 commit dee3042cd6cfcd7b6995260a944d741bb93adce0
@Andre Przywara Andre Przywara authored on 9 Apr 2020
Showing 2 changed files
View
plat/arm/board/arm_fpga/fpga_console.c
View
plat/arm/board/arm_fpga/fpga_def.h