summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-29 11:02:43 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:15:51 +0000
commit610d46506eb21a60f17d8c64bb6f632afd9d8ef8 (patch)
tree156c65d20fe36d637844823a5442e3473bdda8ec /src/ec
parent012e7a4ebd7dc3d96f2e56dc13d23856f961828d (diff)
src/ec: Remove whitespace before tab
Change-Id: Ib47cc1ee617aae74a8cfbcb25c1d0c083196f417 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26662 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/acpi/ec.h4
-rw-r--r--src/ec/google/chromeec/ec_mec.c2
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl4
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.h8
4 files changed, 9 insertions, 9 deletions
diff --git a/src/ec/acpi/ec.h b/src/ec/acpi/ec.h
index 48982d315e..86fa4e55d5 100644
--- a/src/ec/acpi/ec.h
+++ b/src/ec/acpi/ec.h
@@ -33,8 +33,8 @@
#define RD_EC 0x80 // Read Embedded Controller
#define WR_EC 0x81 // Write Embedded Controller
#define BE_EC 0x82 // Burst Enable Embedded Controller
-#define BD_EC 0x83 // Burst Disable Embedded Controller
-#define QR_EC 0x84 // Query Embedded Controller
+#define BD_EC 0x83 // Burst Disable Embedded Controller
+#define QR_EC 0x84 // Query Embedded Controller
int send_ec_command(u8 command);
int send_ec_data(u8 data);
diff --git a/src/ec/google/chromeec/ec_mec.c b/src/ec/google/chromeec/ec_mec.c
index 4cd0823ed3..f08f931b1c 100644
--- a/src/ec/google/chromeec/ec_mec.c
+++ b/src/ec/google/chromeec/ec_mec.c
@@ -38,7 +38,7 @@ enum {
#define MEC_EMI_EC_ADDRESS_B1 (MEC_EMI_BASE + 3)
#define MEC_EMI_EC_DATA_B0 (MEC_EMI_BASE + 4)
#define MEC_EMI_EC_DATA_B1 (MEC_EMI_BASE + 5)
-#define MEC_EMI_EC_DATA_B2 (MEC_EMI_BASE + 6)
+#define MEC_EMI_EC_DATA_B2 (MEC_EMI_BASE + 6)
#define MEC_EMI_EC_DATA_B3 (MEC_EMI_BASE + 7)
/*
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index b6121aab1a..76c43a634b 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -149,7 +149,7 @@ Device(EC)
Method(_Q26, 0, NotSerialized)
{
Notify (AC, 0x80)
- \PNOT()
+ \PNOT()
}
/* AC status change: not present */
@@ -157,7 +157,7 @@ Device(EC)
{
Notify (AC, 0x80)
Store(0x50, EVNT)
- \PNOT()
+ \PNOT()
}
Method(_Q2A, 0, NotSerialized)
diff --git a/src/ec/quanta/ene_kb3940q/ec.h b/src/ec/quanta/ene_kb3940q/ec.h
index 159a158d25..b04809e0f7 100644
--- a/src/ec/quanta/ene_kb3940q/ec.h
+++ b/src/ec/quanta/ene_kb3940q/ec.h
@@ -123,10 +123,10 @@ void ec_mem_write(u8 addr, u8 data);
#define EC_CPU_TMP 0x78
#define EC_GPU_TMP 0x79
-#define EC_LOCAL_TMP1 0x7A
-#define EC_LOCAL_TMP2 0x7B
-#define EC_FAN_TACH_LO 0x7C
-#define EC_FAN_TACH_HI 0x7D
+#define EC_LOCAL_TMP1 0x7A
+#define EC_LOCAL_TMP2 0x7B
+#define EC_FAN_TACH_LO 0x7C
+#define EC_FAN_TACH_HI 0x7D
#define EC_FAN_DBG_RPM_LO 0x7E
#define EC_FAN_DBG_RPM_HI 0x7F