summaryrefslogtreecommitdiffstats
path: root/common/bootsource.c
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2015-05-26 15:31:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-27 08:56:07 +0200
commitf6c5578eaf42eab8c6723ee9a25aa38dab651ff9 (patch)
tree6910e40fcf4649e075d32c09c217e5bc12c4affd /common/bootsource.c
parent54020627023020f246361a9db0b4d39f82102ac1 (diff)
downloadbarebox-f6c5578eaf42eab8c6723ee9a25aa38dab651ff9.tar.gz
bootsource: Add NET bootsource
Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootsource.c')
-rw-r--r--common/bootsource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/bootsource.c b/common/bootsource.c
index 7f3d51f..707b079 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -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;