When CONFIG_SERIAL_PORT is 1 we use port B otherwise port A
Signed-off-by: Benjamin Herrenschmidt benh@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";