aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/common/early_serial.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-30 16:45:35 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-03-31 17:00:56 +0000
commit12eef084fda2d02a2ad364ba80dfe5f2cf407d85 (patch)
tree14dc7e0403bd3e9684767298743c03f0a3cdcdfc /src/superio/ite/common/early_serial.c
parent7774de53d49b612888603824f24ea5f258feeba1 (diff)
superio/ite: Improve code formatting
Change-Id: I014659aaddeb9fa2d5c3c3583e9379be4f9db69b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39929 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/ite/common/early_serial.c')
-rw-r--r--src/superio/ite/common/early_serial.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/superio/ite/common/early_serial.c b/src/superio/ite/common/early_serial.c
index fa881a07f6..c143c712e8 100644
--- a/src/superio/ite/common/early_serial.c
+++ b/src/superio/ite/common/early_serial.c
@@ -8,12 +8,12 @@
#include "ite.h"
/* Global configuration registers. */
-#define ITE_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */
-#define ITE_CONFIG_REG_LDN 0x07 /* Logical Device Number. */
-#define ITE_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */
-#define ITE_CONFIG_REG_SWSUSP 0x24 /* Software Suspend, Flash I/F. */
-#define ITE_CONFIG_REG_MFC 0x2a /* multi function pin */
-#define ITE_CONFIG_REG_WATCHDOG 0x72 /* watchdog config */
+#define ITE_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */
+#define ITE_CONFIG_REG_LDN 0x07 /* Logical Device Number. */
+#define ITE_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */
+#define ITE_CONFIG_REG_SWSUSP 0x24 /* Software Suspend, Flash I/F. */
+#define ITE_CONFIG_REG_MFC 0x2a /* multi function pin */
+#define ITE_CONFIG_REG_WATCHDOG 0x72 /* watchdog config */
/* Helper procedure */
static void ite_sio_write(pnp_devfn_t dev, u8 reg, u8 value)