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