]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/mmc/sandbox_mmc.c
dm: core: Enable SPL_SIMPLE_BUS by default
[people/ms/u-boot.git] / drivers / mmc / sandbox_mmc.c
CommitLineData
8e6cc461
SG
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#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};