colibri_imx6: boot env configuration updates
[platform/kernel/u-boot.git] / include / sandboxblockdev.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2013, Henrik Nordstrom <henrik@henriknordstrom.net>
4  */
5
6 #ifndef __SANDBOX_BLOCK_DEV__
7 #define __SANDBOX_BLOCK_DEV__
8
9 struct host_block_dev {
10 #ifndef CONFIG_BLK
11         struct blk_desc blk_dev;
12 #endif
13         char *filename;
14         int fd;
15 };
16
17 int host_dev_bind(int dev, char *filename);
18
19 #endif