aboutsummaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n217
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/lpc47n217')
-rw-r--r--src/superio/smsc/lpc47n217/chip.h5
-rw-r--r--src/superio/smsc/lpc47n217/lpc47n217.h11
2 files changed, 13 insertions, 3 deletions
diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h
index 4369c263bd..0eda25f6b1 100644
--- a/src/superio/smsc/lpc47n217/chip.h
+++ b/src/superio/smsc/lpc47n217/chip.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_SMSC_LPC47N217_CHIP_H
+#define SUPERIO_SMSC_LPC47N217_CHIP_H
+
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47n217_ops;
@@ -26,3 +29,5 @@ extern struct chip_operations superio_smsc_lpc47n217_ops;
struct superio_smsc_lpc47n217_config {
struct uart8250 com1, com2;
};
+
+#endif
diff --git a/src/superio/smsc/lpc47n217/lpc47n217.h b/src/superio/smsc/lpc47n217/lpc47n217.h
index 3795821129..e0ee010c35 100644
--- a/src/superio/smsc/lpc47n217/lpc47n217.h
+++ b/src/superio/smsc/lpc47n217/lpc47n217.h
@@ -18,12 +18,17 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* These are arbitrary, but must match declarations in the mainboard config file.
- * Values chosen to match SMSC 47B37x.
- */
+#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
+#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
+/*
+ * These are arbitrary, but must match declarations in the mainboard
+ * devicetree.cb file. Values chosen to match SMSC LPC47B37x.
+ */
#define LPC47N217_PP 3 /* Parallel Port */
#define LPC47N217_SP1 4 /* Com1 */
#define LPC47N217_SP2 5 /* Com2 */
#define LPC47N217_MAX_CONFIG_REGISTER 0x39
+
+#endif