summaryrefslogtreecommitdiff
path: root/src/vendorcode/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/google')
-rw-r--r--src/vendorcode/google/chromeos/chromeos.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vendorcode/google/chromeos/chromeos.c b/src/vendorcode/google/chromeos/chromeos.c
index b7d1e45829..dddce63f0f 100644
--- a/src/vendorcode/google/chromeos/chromeos.c
+++ b/src/vendorcode/google/chromeos/chromeos.c
@@ -17,9 +17,15 @@
#include <string.h>
#include "chromeos.h"
+int __attribute__((weak)) get_developer_mode_switch(void)
+{
+ // Weak implementation. No physical developer switch.
+ return 0;
+}
+
int __attribute__((weak)) clear_recovery_mode_switch(void)
{
- // Can be implemented by a mainboard
+ // Weak implementation. Nothing to do.
return 0;
}