From 00bc661e0dbaf40fd5c838fd6bae889d7ea8185d Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Tue, 26 Jan 2016 09:24:17 +0100 Subject: [PATCH] config: Set .debug_console for x86 targets We will make the debug console UART port configurable via the system config. Set the corresponding values, they will be ignored so far. Signed-off-by: Jan Kiszka --- configs/f2a88xm-hd3.c | 3 +++ configs/h87i.c | 3 +++ configs/imb-a180.c | 3 +++ configs/qemu-vm.c | 3 +++ tools/root-cell-config.c.tmpl | 3 +++ 5 files changed, 15 insertions(+) diff --git a/configs/f2a88xm-hd3.c b/configs/f2a88xm-hd3.c index 16f0aa0..545da80 100644 --- a/configs/f2a88xm-hd3.c +++ b/configs/f2a88xm-hd3.c @@ -37,6 +37,9 @@ struct { .phys_start = 0x3b000000, .size = 0x4000000, }, + .debug_console = { + .phys_start = 0x3f8, + }, .platform_info.x86 = { .mmconfig_base = 0xe0000000, .mmconfig_end_bus = 0xff, diff --git a/configs/h87i.c b/configs/h87i.c index 9b36702..521d274 100644 --- a/configs/h87i.c +++ b/configs/h87i.c @@ -32,6 +32,9 @@ struct { .phys_start = 0x3b000000, .size = 0x4000000, }, + .debug_console = { + .phys_start = 0xe010, + }, .platform_info.x86 = { .mmconfig_base = 0xf8000000, .mmconfig_end_bus = 0x3f, diff --git a/configs/imb-a180.c b/configs/imb-a180.c index ffcd5c7..45d7ca5 100644 --- a/configs/imb-a180.c +++ b/configs/imb-a180.c @@ -36,6 +36,9 @@ struct { .phys_start = 0x3b000000, .size = 0x4000000, }, + .debug_console = { + .phys_start = 0x3f8, + }, .platform_info.x86 = { .mmconfig_base = 0xe0000000, .mmconfig_end_bus = 0xff, diff --git a/configs/qemu-vm.c b/configs/qemu-vm.c index f95b1f6..1f9966e 100644 --- a/configs/qemu-vm.c +++ b/configs/qemu-vm.c @@ -46,6 +46,9 @@ struct { .phys_start = 0x3b000000, .size = 0x600000, }, + .debug_console = { + .phys_start = 0x3f8, + }, .platform_info.x86 = { .mmconfig_base = 0xb0000000, .mmconfig_end_bus = 0xff, diff --git a/tools/root-cell-config.c.tmpl b/tools/root-cell-config.c.tmpl index 69a2b78..a15fbfe 100644 --- a/tools/root-cell-config.c.tmpl +++ b/tools/root-cell-config.c.tmpl @@ -59,6 +59,9 @@ struct { .phys_start = ${hex(hvmem[0])}, .size = ${hex(hvmem[1])}, }, + .debug_console = { + .phys_start = 0x3f8, + }, .platform_info.x86 = { .mmconfig_base = ${hex(mmconfig.base)}, .mmconfig_end_bus = ${hex(mmconfig.end_bus)}, -- 2.39.2