]>
Commit | Line | Data |
---|---|---|
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 | ||
14 | DECLARE_GLOBAL_DATA_PTR; | |
15 | ||
16 | static const struct udevice_id sandbox_mmc_ids[] = { | |
17 | { .compatible = "sandbox,mmc" }, | |
18 | { } | |
19 | }; | |
20 | ||
21 | U_BOOT_DRIVER(warm_mmc_sandbox) = { | |
22 | .name = "mmc_sandbox", | |
23 | .id = UCLASS_MMC, | |
24 | .of_match = sandbox_mmc_ids, | |
25 | }; |