diff options
author | Dave Frodin <dave.frodin@se-eng.com> | 2015-03-31 16:10:58 -0600 |
---|---|---|
committer | Dave Frodin <dave.frodin@se-eng.com> | 2015-04-02 19:19:20 +0200 |
commit | 8d9a1bd5a84df71965488bfc49f07bdc1dcc1f9a (patch) | |
tree | 2951cf484ed63b3c7ab8768e36e06c4c0334c298 /src/southbridge | |
parent | d9f95070650675599e0c1dee67f0b0074eced678 (diff) | |
download | coreboot-staging-8d9a1bd5a84df71965488bfc49f07bdc1dcc1f9a.zip coreboot-staging-8d9a1bd5a84df71965488bfc49f07bdc1dcc1f9a.tar.gz |
southbridge/amd/pi: Add initialization of 8254 and 8259
This moves the initialization of the 8254 and 8259 out
of the (unmerged) lamar mainboard romstage.c file and into
the southbridge code as it is done in the other AMD
southbridges.
Change-Id: I73b375754ee4a9bf15981f2cd31056d7e04db23e
Signed-off-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-on: http://review.coreboot.org/9182
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/pi/hudson/lpc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/southbridge/amd/pi/hudson/lpc.c b/src/southbridge/amd/pi/hudson/lpc.c index 7e2ec00..555e255 100644 --- a/src/southbridge/amd/pi/hudson/lpc.c +++ b/src/southbridge/amd/pi/hudson/lpc.c @@ -30,6 +30,8 @@ #include <arch/io.h> #include <arch/acpi.h> #include <arch/ioapic.h> +#include <pc80/i8254.h> +#include <pc80/i8259.h> #include "hudson.h" static void lpc_init(device_t dev) @@ -79,6 +81,12 @@ static void lpc_init(device_t dev) * 1 tells cmos_init to always initialize the CMOS. */ cmos_init(0); + + /* Initialize i8259 pic */ + setup_i8259 (); + + /* Initialize i8254 timers */ + setup_i8254 (); } static void hudson_lpc_read_resources(device_t dev) |