summaryrefslogtreecommitdiffstats
path: root/hw/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lpc.c')
-rw-r--r--hw/lpc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/lpc.c b/hw/lpc.c
index 313c8d2f..975edd6d 100644
--- a/hw/lpc.c
+++ b/hw/lpc.c
@@ -20,6 +20,7 @@
#include <lock.h>
#include <chip.h>
#include <lpc.h>
+#include <i2c.h>
#include <timebase.h>
#include <fsp-elog.h>
@@ -454,6 +455,14 @@ bool lpc_present(void)
return lpc_default_chip_id >= 0;
}
+void lpc_interrupt(void)
+{
+ /* i2c interrupts are routed through lpc */
+ p8_i2c_interrupt();
+
+ /* Handle the lpc interrupt source */
+}
+
void lpc_init(void)
{
struct dt_node *xn;
OpenPOWER on IntegriCloud