blob: f4646a824fa148e683cb258cf314e84d8dc2a946 [file] [log] [blame]
Simon Glassd3e58e42015-07-06 12:54:32 -06001/*
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#include <dm.h>
10#include <errno.h>
11#include <mmc.h>
12#include <asm/test.h>
13
14DECLARE_GLOBAL_DATA_PTR;
15
16static const struct udevice_id sandbox_mmc_ids[] = {
17 { .compatible = "sandbox,mmc" },
18 { }
19};
20
21U_BOOT_DRIVER(warm_mmc_sandbox) = {
22 .name = "mmc_sandbox",
23 .id = UCLASS_MMC,
24 .of_match = sandbox_mmc_ids,
25};