summaryrefslogtreecommitdiff
path: root/src/ec/dell/mec5055/early_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/dell/mec5055/early_init.c')
-rw-r--r--src/ec/dell/mec5055/early_init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ec/dell/mec5055/early_init.c b/src/ec/dell/mec5055/early_init.c
new file mode 100644
index 0000000000..37b0807c3e
--- /dev/null
+++ b/src/ec/dell/mec5055/early_init.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include "mec5055.h"
+
+void mec5055_early_init(void)
+{
+ u8 buf[32], c;
+
+ mec5055_ec_command_0(buf, 0xc2, 0);
+ mec5055_ec_command_1(0xab, NULL, 0, &c, 1);
+}