diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-11-26 16:56:05 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-11-26 16:56:05 +0000 |
commit | f622d598db3a6fb7001b6b63e7184272eb19db72 (patch) | |
tree | 568d3113d95e791baa444ed1904c8e88bc803601 /src/southbridge/amd/amd8111 | |
parent | b7627bca656d365615dbf2c06053430e83565f8d (diff) |
- Apply 11_24_a_s1_core.diff from
https://openbios.org/roundup/linuxbios/issue24
- fix up for via epia-m
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2110 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/amd8111')
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111_acpi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111_acpi.c b/src/southbridge/amd/amd8111/amd8111_acpi.c index 4177041c16..d652decefb 100644 --- a/src/southbridge/amd/amd8111/amd8111_acpi.c +++ b/src/southbridge/amd/amd8111/amd8111_acpi.c @@ -66,6 +66,10 @@ static int lsmbus_write_byte(device_t dev, uint8_t address, uint8_t val) return do_smbus_write_byte(res->base, device, address, val); } +#if HAVE_ACPI_TABLES == 1 +unsigned pm_base; +#endif + static void acpi_init(struct device *dev) { uint8_t byte; @@ -129,6 +133,12 @@ static void acpi_init(struct device *dev) printk_debug("Throttling CPU %2d.%1.1d percent.\n", (on*12)+(on>>1),(on&1)*5); } + +#if HAVE_ACPI_TABLES == 1 + pm_base = pci_read_config16(dev, 0x58) & 0xff00; + printk_debug("pm_base: 0x%04x\n",pm_base); +#endif + } static void acpi_read_resources(device_t dev) |