diff options
author | Ryan Grimm <grimm@linux.vnet.ibm.com> | 2016-02-17 11:27:36 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-07 19:28:30 +1100 |
commit | 687103941245c3a10ba68266aaf661d91815e773 (patch) | |
tree | 901defec58225e57e8e87510b660a08447a92113 /include/chip.h | |
parent | 67212eb3ca9fed121432b814b5e58fb8d2cfebae (diff) | |
download | skiboot-687103941245c3a10ba68266aaf661d91815e773.zip skiboot-687103941245c3a10ba68266aaf661d91815e773.tar.gz skiboot-687103941245c3a10ba68266aaf661d91815e773.tar.bz2 |
Enable Simics UART console
The UART is a simulated ns16550 with memory mapped registers.
A /simics dt node is detected and a SIMICS_QUIRK is added to chip quirks
similar to MAMBO_CALLOUTS. It can contain an ns16550 dt node with a property
console-bar.
The LPC UART code is reused and this will work without an LPC bus in the model.
Signed-off-by: Ryan Grimm <grimm@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r-- | include/chip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h index 5109e25..9e50f7a 100644 --- a/include/chip.h +++ b/include/chip.h @@ -99,6 +99,7 @@ enum proc_chip_quirks { QUIRK_NO_PBA = 0x00000008, QUIRK_NO_OCC_IRQ = 0x00000010, QUIRK_DISABLE_NAP = 0x00000020, + QUIRK_SIMICS = 0x00000040, } proc_chip_quirks; static inline bool chip_quirk(unsigned int q) |