summaryrefslogtreecommitdiff
path: root/firmware/bdb/stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/bdb/stub.c')
-rw-r--r--firmware/bdb/stub.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/firmware/bdb/stub.c b/firmware/bdb/stub.c
new file mode 100644
index 00000000..87efbc33
--- /dev/null
+++ b/firmware/bdb/stub.c
@@ -0,0 +1,24 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "bdb_api.h"
+
+__attribute__((weak))
+uint32_t vbe_get_vboot_register(enum vboot_register type)
+{
+ return 0;
+}
+
+__attribute__((weak))
+void vbe_set_vboot_register(enum vboot_register type, uint32_t val)
+{
+ return;
+}
+
+__attribute__((weak))
+void vbe_reset(void)
+{
+ return;
+}