1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2016 BayLibre, SAS
4  * Author: Neil Armstrong <narmstrong@baylibre.com>
5  */
6 
7 #ifndef __MESON_BOOT_H__
8 #define __MESON_BOOT_H__
9 
10 /* Boot device */
11 #define BOOT_DEVICE_RESERVED    0
12 #define BOOT_DEVICE_EMMC        1
13 #define BOOT_DEVICE_NAND        2
14 #define BOOT_DEVICE_SPI         3
15 #define BOOT_DEVICE_SD          4
16 #define BOOT_DEVICE_USB         5
17 
18 int meson_get_boot_device(void);
19 
20 #endif /* __MESON_BOOT_H__ */
21