summaryrefslogtreecommitdiff
path: root/board/samsung/e850-96/bootdev.h
blob: 5f454bf00901787c2f26d40016a5162df1e1551f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2025 Linaro Ltd.
 * Sam Protsenko <[email protected]>
 */

#ifndef __E850_96_BOOTDEV_H
#define __E850_96_BOOTDEV_H

#include <stdbool.h>

enum bootdev {
	BOOTDEV_ERROR,
	BOOTDEV_SD,
	BOOTDEV_EMMC,
	BOOTDEV_USB,
	BOOTDEV_UFS,
};

enum bootdev bootdev_get_current(void);
bool bootdev_is_usb(void);

#endif /* __E850_96_BOOTDEV_H */