[OpenBIOS] [PATCH 4/6] ppc: Fix default serial path
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Aug 2 07:35:25 CEST 2016
When CONFIG_SERIAL_PORT is 1 we use port B otherwise port A
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
arch/ppc/qemu/init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 8f264f4..cc3f21a 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -927,11 +927,11 @@ arch_of_init(void)
if (fw_cfg_read_i16(FW_CFG_NOGRAPHIC)) {
if (is_apple()) {
if (CONFIG_SERIAL_PORT) {
- stdin_path = "scca";
- stdout_path = "scca";
- } else {
stdin_path = "sccb";
stdout_path = "sccb";
+ } else {
+ stdin_path = "scca";
+ stdout_path = "scca";
}
} else {
stdin_path = "ttya";
--
2.7.4
More information about the OpenBIOS
mailing list