summaryrefslogtreecommitdiff
path: root/firmware/stub/boot_device_stub.c
blob: c7bb86f5c3ce50b5cdc9c82b9c940c3b94fc52f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}