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.c12
1 files changed, 12 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..f69c1deabc
--- /dev/null
+++ b/src/ec/dell/mec5055/early_init.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
+
+#include "mec5055.h"
+
+void mec5055_early_init(void)
+{
+ u8 buf1[32];
+ u8 c;
+ mec5055_ec_command_0(buf1, 0xc2, 0);
+ mec5055_ec_command_1(0xab, NULL, 0, &c, 1);
+}