aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/iobp.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-31 00:55:35 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-12 11:02:16 +0000
commit2178b7286b1fc04d4ce9306b7bab3596fde21bcd (patch)
tree4bc9fb35938c8bdce83d519770ec54e54e9261bf /src/southbridge/intel/lynxpoint/iobp.h
parent19c5cd210d69f73e813feb94ad2294d6d607ccca (diff)
sb/intel/lynxpoint: Move IOBP API to its own compilation unit
Change-Id: Icb6114302cebe19bc3c1971929ea4fc085b454be Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41946 Reviewed-by: Michael Niewöhner Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Jonathan Kollasch <jakllsch@kollasch.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/iobp.h')
-rw-r--r--src/southbridge/intel/lynxpoint/iobp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/southbridge/intel/lynxpoint/iobp.h b/src/southbridge/intel/lynxpoint/iobp.h
new file mode 100644
index 0000000000..c8669bafd5
--- /dev/null
+++ b/src/southbridge/intel/lynxpoint/iobp.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef SOUTHBRIDGE_INTEL_LYNXPOINT_IOBP_H
+#define SOUTHBRIDGE_INTEL_LYNXPOINT_IOBP_H
+
+#include <stdint.h>
+
+u32 pch_iobp_read(u32 address);
+void pch_iobp_write(u32 address, u32 data);
+void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue);
+
+#endif