sandbox_mmc.c 458 B

12345678910111213141516171819202122232425
  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. #include <common.h>
  8. #include <dm.h>
  9. #include <errno.h>
  10. #include <mmc.h>
  11. #include <asm/test.h>
  12. DECLARE_GLOBAL_DATA_PTR;
  13. static const struct udevice_id sandbox_mmc_ids[] = {
  14. { .compatible = "sandbox,mmc" },
  15. { }
  16. };
  17. U_BOOT_DRIVER(warm_mmc_sandbox) = {
  18. .name = "mmc_sandbox",
  19. .id = UCLASS_MMC,
  20. .of_match = sandbox_mmc_ids,
  21. };