uboot/drivers/block/sata_sandbox.c
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2015 Google, Inc
   3 * Written by Simon Glass <sjg@chromium.org>
   4 *
   5 * SPDX-License-Identifier:     GPL-2.0+
   6 */
   7
   8#include <common.h>
   9
  10int init_sata(int dev)
  11{
  12        return 0;
  13}
  14
  15int reset_sata(int dev)
  16{
  17        return 0;
  18}
  19
  20int scan_sata(int dev)
  21{
  22        return 0;
  23}
  24
  25ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer)
  26{
  27        return 0;
  28}
  29
  30ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer)
  31{
  32        return 0;
  33}
  34