Christian Walter has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33566
Change subject: Fix SSDTGen ......................................................................
Fix SSDTGen
Change-Id: I76282189c6426650c66680e2aad4f5cfbc22a3e4 Signed-off-by: Christian Walter christian.walter@9elements.com --- M src/superio/common/ssdt.c 1 file changed, 10 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/33566/1
diff --git a/src/superio/common/ssdt.c b/src/superio/common/ssdt.c index 8febbde..0184269 100644 --- a/src/superio/common/ssdt.c +++ b/src/superio/common/ssdt.c @@ -33,11 +33,11 @@ };
static const struct superio_dev superio_devs[] = { - {"PNP0700", {0x3f0, 0x3f2, 0x3f7}, {6, }}, - {"PNP0303", {60, 64, }, {1, }}, - {"PNP0F03", {60, 64, }, {12, }}, - {"PNP0501", {0x3f8, 0x2f8, 0x3e8, 0x2e8}, {4, 3}}, - {"PNP0400", {0x378, }, {7, }}, + {"PNP0700", {0x3f0, 0x3f2, 0x3f7}, {6, } }, + {"PNP0303", {60, 64, }, {1, } }, + {"PNP0F03", {60, 64, }, {12, } }, + {"PNP0501", {0x3f8, 0x2f8, 0x3e8, 0x2e8}, {4, 3} }, + {"PNP0400", {0x378, }, {7, } }, };
static const u8 io_idx[NUM_IO] = {PNP_IDX_IO0, PNP_IDX_IO1, PNP_IDX_IO2, @@ -51,7 +51,8 @@ const char *name = acpi_device_name(dev);
if (!scope || !name) { - printk(BIOS_ERR, "%s: Missing ACPI path/scope\n", dev_path(dev)); + printk(BIOS_ERR, "%s: Missing ACPI path/scope\n", + dev_path(dev)); return; }
@@ -108,7 +109,7 @@ FIELDLIST_OFFSET(0x70), FIELDLIST_NAMESTR("INTR", 4), FIELDLIST_NAMESTR("INTT", 4), - FIELDLIST_OFFSET (0x74), + FIELDLIST_OFFSET(0x74), FIELDLIST_NAMESTR("DMCH", 8), FIELDLIST_OFFSET(0xE0), FIELDLIST_NAMESTR("RGE0", 8), @@ -263,7 +264,8 @@ bool has_resources;
if (!scope || !name) { - printk(BIOS_ERR, "%s: Missing ACPI path/scope\n", dev_path(dev)); + printk(BIOS_ERR, "%s: Missing ACPI path/scope\n", + dev_path(dev)); return; } if (vldn) {