Index: src/platform/vboot_reference/common/boot_device_stub.c |
diff --git a/src/platform/vboot_reference/common/boot_device_stub.c b/src/platform/vboot_reference/common/boot_device_stub.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7bb86f5c3ce50b5cdc9c82b9c940c3b94fc52f8 |
--- /dev/null |
+++ b/src/platform/vboot_reference/common/boot_device_stub.c |
@@ -0,0 +1,17 @@ |
+/* Copyright (c) 2010 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. |
+ * |
+ * Stub implementations of boot device functions. |
+ */ |
+ |
+#include "boot_device.h" |
+ |
+int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) { |
+ return 1; |
+} |
+ |
+int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count, |
+ const void *buffer) { |
+ return 1; |
+} |