From cc3ccdb6434402098c1648af12d932c15d3b35e7 Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Tue, 13 Nov 2007 15:40:21 +0000 Subject: Add support for FID/VID changes messages. Upon incoming SMAF message from CPU (C3 or FID/VID change), the SB will assert SLP# which is connected to LDTSTOP_L on K8 CPUs. Question is for how long. Imho for 100us. Which is more than plenty (2us required) I will try to justify this once I know what bios to set in SB. Signed-off-by: Rudolf Marek Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/asus/a8v-e_se/cache_as_ram_auto.c | 4 ++++ src/southbridge/via/vt8237r/vt8237r_lpc.c | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'src') diff --git a/src/mainboard/asus/a8v-e_se/cache_as_ram_auto.c b/src/mainboard/asus/a8v-e_se/cache_as_ram_auto.c index c34597201b..0a0a9f2d08 100644 --- a/src/mainboard/asus/a8v-e_se/cache_as_ram_auto.c +++ b/src/mainboard/asus/a8v-e_se/cache_as_ram_auto.c @@ -309,6 +309,10 @@ void real_main(unsigned long bist, unsigned long cpu_init_detectedx) #endif init_timer(); ht_setup_chains_x(sysinfo); // it will init sblnk and sbbusn, nodes, sbdn + + enable_fid_change(); + init_fidvid_bsp(bsp_apicid); + needs_reset = optimize_link_coherent_ht(); needs_reset |= optimize_link_incoherent_ht(sysinfo); diff --git a/src/southbridge/via/vt8237r/vt8237r_lpc.c b/src/southbridge/via/vt8237r/vt8237r_lpc.c index 4af73af263..5d2579e530 100644 --- a/src/southbridge/via/vt8237r/vt8237r_lpc.c +++ b/src/southbridge/via/vt8237r/vt8237r_lpc.c @@ -222,6 +222,13 @@ void setup_pm(device_t dev) /* SCI is generated for RTC/pwrBtn/slpBtn. */ outw(0x001, VT8237R_ACPI_IO_BASE + 0x04); + + /* FIXME: Intel needs more bit set for C2/C3. */ + + /* Allow SLP# signal to assert LDTSTOP_L. + * Will work for C3 and for FID/VID change. + */ + outb(0x1, VT8237R_ACPI_IO_BASE + 0x11); } static void vt8237r_init(struct device *dev) -- cgit v1.2.3