diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-26 14:25:30 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-01-15 00:14:14 +0100 |
commit | 307f7f5bfc4f515b46fcc2773ab7fca7b653cf68 (patch) | |
tree | d562a94ead095133fe2088014483a1eadc91edd0 /Silicon/Socionext/SynQuacer/Library | |
parent | 424ff16af74b12ff5d7f34f40aff48f94a31a524 (diff) |
Silicon/SynQuacer: add support for DEBUG output on second UART
On headless server systems where the PL011 serial port is the primary
console, having DEBUG output on the same port can be annoying, since
DEBUG output gets lost when the console driver clears the screen or
positions the cursor using control characters.
So add the ability to emit the DEBUG output on the DesignWare FUART
(which is exposed via the LS connector on DeveloperBox)
Mark Kettenis <mark.kettenis@xs4all.nl> says:
The DesignWare component is (largely) 16550-compatible. But the
FIFO's are optional and if they're not included you'll end up with
something that's probably closer to an 16450. I suspect in most
cases SoC designers will include the FIFO's though since without
them you really can't use the port at anything but the slowest
speeds.
So let's use the 16550 driver in MMIO mode to drive this IP.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Silicon/Socionext/SynQuacer/Library')
-rw-r--r-- | Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c index 1402ecaf..e68997e0 100644 --- a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c +++ b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c @@ -118,6 +118,9 @@ STATIC CONST ARM_MEMORY_REGION_DESCRIPTOR mVirtualMemoryTable[] = { // NETSEC/eMMC SMMU
ARM_DEVICE_REGION (SYNQUACER_SCB_SMMU_BASE, SYNQUACER_SCB_SMMU_SIZE),
+
+ // DesignWare FUART
+ ARM_DEVICE_REGION (SYNQUACER_UART1_BASE, SYNQUACER_UART1_SIZE),
};
STATIC
|