Geode platforms that use a LPC Super I/O had the LPC serial IRQ set to all
[coreboot.git] / src / mainboard / digitallogic / msm800sev / Config.lb
index 41fd678a900dd9c493b403bc4de5be13ae6a30c9..eceee5bf49e6b533f06d9995d239c5517558dc07 100644 (file)
@@ -52,7 +52,7 @@ if USE_DCACHE_RAM
        #compile cache_as_ram.c to auto.inc
        makerule ./cache_as_ram_auto.inc
                        depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
-                       action "$(CC) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
+                       action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
                        action "perl -e 's/.rodata/.rom.data/g' -pi $@"
                        action "perl -e 's/.text/.section .rom.text/g' -pi $@"
        end
@@ -128,9 +128,9 @@ chip northbridge/amd/lx
                        # Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK
                        # How to get these? Boot linux and do this:
                        # rdmsr 0x51400025
-                       register "lpc_serirq_enable" = "0x000010da"
+                       register "lpc_serirq_enable" = "0x0000105a"
                        # rdmsr 0x5140004e -- polairy is high 16 bits of low 32 bits
-                       register "lpc_serirq_polarity" = "0x0000EF25"
+                       register "lpc_serirq_polarity" = "0x0000EFA5"
                        # mode is high 10 bits (determined from code)
                        register "lpc_serirq_mode" = "1"
                        # Don't yet know how to find this.