sandbox_scsi.c 426 B

1234567891011121314151617181920212223242526272829
  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. * This file contains dummy implementations of SCSI functions requried so
  8. * that CONFIG_SCSI can be enabled for sandbox.
  9. */
  10. #include <common.h>
  11. #include <scsi.h>
  12. void scsi_bus_reset(void)
  13. {
  14. }
  15. void scsi_init(void)
  16. {
  17. }
  18. int scsi_exec(ccb *pccb)
  19. {
  20. return 0;
  21. }
  22. void scsi_print_error(ccb *pccb)
  23. {
  24. }