diff --git a/src/southbridge/amd/amd768/amd768_ide.c b/src/southbridge/amd/amd768/amd768_ide.c index 2035ced343..1371367af4 100644 --- a/src/southbridge/amd/amd768/amd768_ide.c +++ b/src/southbridge/amd/amd768/amd768_ide.c @@ -3,6 +3,7 @@ #include #include #include +#include void amd768_enable_ide(int enable_a, int enable_b) { @@ -44,6 +45,6 @@ void amd768_enable_ide(int enable_a, int enable_b) pci_write_config_word(dev, 0x4c, word); } else - printk_alert("Could not locate IDE controller\n"); + printk_err("Could not locate IDE controller\n"); } diff --git a/src/southbridge/amd/amd768/lpc_com1.inc b/src/southbridge/amd/amd768/lpc_com1.inc new file mode 100644 index 0000000000..486ed33565 --- /dev/null +++ b/src/southbridge/amd/amd768/lpc_com1.inc @@ -0,0 +1,18 @@ + /* enable LPC superio on the AMD 768 south bridge */ +#if 0 + movl $(0x80000000 | AMD768_DEV | 0x54), %eax + movw $0xcf8, %dx + outl %eax, %dx + movw $0xcfc, %dx + inb %dx, %al + orb $0x30, %al + outb %al, %dx + + /* enable LPC serial port 0x3f8 */ + movl $(0x80000000 | AMD768_DEV | 0x50), %eax + movw $0xcf8, %dx + outl %eax, %dx + movw $0xcfe, %dx + movb $0x8, %al + outb %al, %dx +#endif