summaryrefslogtreecommitdiff
path: root/src/superio/smsc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-30 16:46:57 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-03-31 16:58:53 +0000
commit4c0432ae65e522be43a0c03d8a61e689eea0cc1b (patch)
tree7ee04eec218c134f525ebef7c8f899d2d36d3c19 /src/superio/smsc
parent03a3404d5b9c198c4ac74eb076df108149534b19 (diff)
superio/smsc: Improve code formatting
Change-Id: Ia9a3f7795178400de39b36471f4169a9f5a3b08b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39931 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r--src/superio/smsc/lpc47m10x/lpc47m10x.h16
-rw-r--r--src/superio/smsc/lpc47m15x/lpc47m15x.h16
-rw-r--r--src/superio/smsc/sch5147/acpi/superio.asl2
3 files changed, 17 insertions, 17 deletions
diff --git a/src/superio/smsc/lpc47m10x/lpc47m10x.h b/src/superio/smsc/lpc47m10x/lpc47m10x.h
index d096b37848..8f58c7c431 100644
--- a/src/superio/smsc/lpc47m10x/lpc47m10x.h
+++ b/src/superio/smsc/lpc47m10x/lpc47m10x.h
@@ -7,14 +7,14 @@
#include <device/pnp_type.h>
#include <stdint.h>
-#define LPC47M10X2_FDC 0 /* Floppy */
-#define LPC47M10X2_PP 3 /* Parallel Port */
-#define LPC47M10X2_SP1 4 /* Com1 */
-#define LPC47M10X2_SP2 5 /* Com2 */
-#define LPC47M10X2_KBC 7 /* Keyboard & Mouse */
-#define LPC47M10X2_GAME 9 /* GAME */
-#define LPC47M10X2_PME 10 /* PME reg*/
-#define LPC47M10X2_MPU 11 /* MPU-401 MIDI */
+#define LPC47M10X2_FDC 0 /* Floppy */
+#define LPC47M10X2_PP 3 /* Parallel Port */
+#define LPC47M10X2_SP1 4 /* Com1 */
+#define LPC47M10X2_SP2 5 /* Com2 */
+#define LPC47M10X2_KBC 7 /* Keyboard & Mouse */
+#define LPC47M10X2_GAME 9 /* GAME */
+#define LPC47M10X2_PME 10 /* PME reg*/
+#define LPC47M10X2_MPU 11 /* MPU-401 MIDI */
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
diff --git a/src/superio/smsc/lpc47m15x/lpc47m15x.h b/src/superio/smsc/lpc47m15x/lpc47m15x.h
index 44fce874ba..0baa21ea9f 100644
--- a/src/superio/smsc/lpc47m15x/lpc47m15x.h
+++ b/src/superio/smsc/lpc47m15x/lpc47m15x.h
@@ -4,14 +4,14 @@
#ifndef SUPERIO_SMSC_LPC47M15X_H
#define SUPERIO_SMSC_LPC47M15X_H
-#define LPC47M15X_FDC 0 /* Floppy */
-#define LPC47M15X_PP 3 /* Parallel Port */
-#define LPC47M15X_SP1 4 /* Com1 */
-#define LPC47M15X_SP2 5 /* Com2 */
-#define LPC47M15X_KBC 7 /* Keyboard & Mouse */
-#define LPC47M15X_GAME 9 /* GAME */
-#define LPC47M15X_PME 10 /* PME reg*/
-#define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/
+#define LPC47M15X_FDC 0 /* Floppy */
+#define LPC47M15X_PP 3 /* Parallel Port */
+#define LPC47M15X_SP1 4 /* Com1 */
+#define LPC47M15X_SP2 5 /* Com2 */
+#define LPC47M15X_KBC 7 /* Keyboard & Mouse */
+#define LPC47M15X_GAME 9 /* GAME */
+#define LPC47M15X_PME 10 /* PME reg*/
+#define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
diff --git a/src/superio/smsc/sch5147/acpi/superio.asl b/src/superio/smsc/sch5147/acpi/superio.asl
index 15467b4c16..ff234c45a5 100644
--- a/src/superio/smsc/sch5147/acpi/superio.asl
+++ b/src/superio/smsc/sch5147/acpi/superio.asl
@@ -45,7 +45,7 @@ Device(SUPERIO_DEV) {
Field (CREG, ByteAcc, NoLock, Preserve)
{
PNP_ADDR_REG, 8,
- PNP_DATA_REG, 8
+ PNP_DATA_REG, 8
}
IndexField (PNP_ADDR_REG, PNP_DATA_REG, ByteAcc, NoLock, Preserve)
{