]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/sandboxblockdev.h
rockchip: dwmmc: add handling for u-boot, spl-fifo-mode
[thirdparty/u-boot.git] / include / sandboxblockdev.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
f4d8de48
HN
2/*
3 * Copyright (c) 2013, Henrik Nordstrom <henrik@henriknordstrom.net>
f4d8de48
HN
4 */
5
6#ifndef __SANDBOX_BLOCK_DEV__
7#define __SANDBOX_BLOCK_DEV__
8
9struct host_block_dev {
40fd0508 10#ifndef CONFIG_BLK
4101f687 11 struct blk_desc blk_dev;
40fd0508 12#endif
f4d8de48
HN
13 char *filename;
14 int fd;
15};
16
17int host_dev_bind(int dev, char *filename);
18
19#endif