summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/amd/sb600/lpc.c5
-rw-r--r--src/southbridge/amd/sb700/lpc.c5
-rw-r--r--src/southbridge/amd/sb800/lpc.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/southbridge/amd/sb600/lpc.c b/src/southbridge/amd/sb600/lpc.c
index d459b1d3fd..0541518ca1 100644
--- a/src/southbridge/amd/sb600/lpc.c
+++ b/src/southbridge/amd/sb600/lpc.c
@@ -20,6 +20,8 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <pc80/mc146818rtc.h>
+#include <pc80/i8254.h>
+#include <pc80/i8259.h>
#include <arch/acpi.h>
#include <arch/acpigen.h>
#include <pc80/isa-dma.h>
@@ -60,6 +62,9 @@ static void lpc_init(device_t dev)
pci_write_config8(dev, 0x78, byte);
cmos_check_update_date();
+
+ setup_i8259(); /* Initialize i8259 pic */
+ setup_i8254(); /* Initialize i8254 timers */
}
static void sb600_lpc_read_resources(device_t dev)
diff --git a/src/southbridge/amd/sb700/lpc.c b/src/southbridge/amd/sb700/lpc.c
index 78933fadf4..f138d88d72 100644
--- a/src/southbridge/amd/sb700/lpc.c
+++ b/src/southbridge/amd/sb700/lpc.c
@@ -21,6 +21,8 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <pc80/mc146818rtc.h>
+#include <pc80/i8254.h>
+#include <pc80/i8259.h>
#include <arch/acpi.h>
#include <arch/acpigen.h>
#include <pc80/isa-dma.h>
@@ -75,6 +77,9 @@ static void lpc_init(device_t dev)
pci_write_config8(dev, 0x78, byte);
cmos_check_update_date();
+
+ setup_i8259(); /* Initialize i8259 pic */
+ setup_i8254(); /* Initialize i8254 timers */
}
#if IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
diff --git a/src/southbridge/amd/sb800/lpc.c b/src/southbridge/amd/sb800/lpc.c
index 3ba47a077b..f15fed366a 100644
--- a/src/southbridge/amd/sb800/lpc.c
+++ b/src/southbridge/amd/sb800/lpc.c
@@ -21,6 +21,8 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <pc80/mc146818rtc.h>
+#include <pc80/i8254.h>
+#include <pc80/i8259.h>
#include <pc80/isa-dma.h>
#include <arch/io.h>
#include <arch/acpi.h>
@@ -66,6 +68,9 @@ static void lpc_init(device_t dev)
pci_write_config8(dev, 0xBB, byte);
cmos_check_update_date();
+
+ setup_i8259(); /* Initialize i8259 pic */
+ setup_i8254(); /* Initialize i8254 timers */
}
static void sb800_lpc_read_resources(device_t dev)