From 8d9a1bd5a84df71965488bfc49f07bdc1dcc1f9a Mon Sep 17 00:00:00 2001 From: Dave Frodin Date: Tue, 31 Mar 2015 16:10:58 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/9182 Reviewed-by: Marc Jones Tested-by: build bot (Jenkins) --- src/southbridge/amd/pi/hudson/lpc.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/pi/hudson/lpc.c b/src/southbridge/amd/pi/hudson/lpc.c index 7e2ec00b74..555e255621 100644 --- a/src/southbridge/amd/pi/hudson/lpc.c +++ b/src/southbridge/amd/pi/hudson/lpc.c @@ -30,6 +30,8 @@ #include #include #include +#include +#include #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) -- cgit v1.2.3