bootsource: Add NET bootsource
Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5402062702
commit
f6c5578eaf
|
@ -35,6 +35,7 @@ static const char *bootsource_str[] = {
|
|||
[BOOTSOURCE_ONENAND] = "onenand",
|
||||
[BOOTSOURCE_HD] = "harddisk",
|
||||
[BOOTSOURCE_USB] = "usb",
|
||||
[BOOTSOURCE_NET] = "net",
|
||||
};
|
||||
|
||||
static enum bootsource bootsource = BOOTSOURCE_UNKNOWN;
|
||||
|
|
|
@ -15,6 +15,7 @@ enum bootsource {
|
|||
BOOTSOURCE_ONENAND,
|
||||
BOOTSOURCE_HD,
|
||||
BOOTSOURCE_USB,
|
||||
BOOTSOURCE_NET,
|
||||
};
|
||||
|
||||
#define BOOTSOURCE_INSTANCE_UNKNOWN -1
|
||||
|
|
Loading…
Reference in New Issue