diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2010-12-11 22:26:10 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2010-12-11 22:26:10 +0000 |
commit | 3310934f32e683b6092b565773081434cba19ecf (patch) | |
tree | ce0a64336684aa568b3e77806b49fce9a436b0e8 /src/southbridge/amd/sb700 | |
parent | 2a27b20226a2fd593bfd5f6a0eee45418233fe04 (diff) | |
download | coreboot-3310934f32e683b6092b565773081434cba19ecf.tar.xz |
Following patch makes just one fadt.c file. For SB700.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6165 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb700')
-rw-r--r-- | src/southbridge/amd/sb700/Makefile.inc | 1 | ||||
-rw-r--r-- | src/southbridge/amd/sb700/sb700.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/amd/sb700/Makefile.inc b/src/southbridge/amd/sb700/Makefile.inc index 8d1c20813a..43f0df394a 100644 --- a/src/southbridge/amd/sb700/Makefile.inc +++ b/src/southbridge/amd/sb700/Makefile.inc @@ -6,5 +6,6 @@ driver-y += ide.c driver-y += sata.c driver-y += hda.c driver-y += pci.c +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += sb700_fadt.c ramstage-y += reset.c romstage-y += enable_usbdebug.c diff --git a/src/southbridge/amd/sb700/sb700.h b/src/southbridge/amd/sb700/sb700.h index 088bba611d..72a6b202fe 100644 --- a/src/southbridge/amd/sb700/sb700.h +++ b/src/southbridge/amd/sb700/sb700.h @@ -29,6 +29,15 @@ #define PM2_INDEX 0xcd0 #define PM2_DATA 0xcd1 +#define SB700_ACPI_IO_BASE 0x800 + +#define ACPI_PM_EVT_BLK (SB700_ACPI_IO_BASE + 0x00) /* 4 bytes */ +#define ACPI_PM1_CNT_BLK (SB700_ACPI_IO_BASE + 0x04) /* 2 bytes */ +#define ACPI_PMA_CNT_BLK (SB700_ACPI_IO_BASE + 0x0F) /* 1 byte */ +#define ACPI_PM_TMR_BLK (SB700_ACPI_IO_BASE + 0x18) /* 4 bytes */ +#define ACPI_GPE0_BLK (SB700_ACPI_IO_BASE + 0x10) /* 8 bytes */ +#define ACPI_CPU_CONTROL (SB700_ACPI_IO_BASE + 0x08) /* 6 bytes */ + extern void pm_iowrite(u8 reg, u8 value); extern u8 pm_ioread(u8 reg); extern void pm2_iowrite(u8 reg, u8 value); |