Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- common/bootsource.c | 2 ++ include/bootsource.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/common/bootsource.c b/common/bootsource.c index fae554d..599bcd2 100644 --- a/common/bootsource.c +++ b/common/bootsource.c @@ -31,6 +31,8 @@ static const char *bootsource_str[] = { [BOOTSOURCE_SERIAL] = "serial", [BOOTSOURCE_ONENAND] = "onenand", [BOOTSOURCE_HD] = "harddisk", + [BOOTSOURCE_USB] = "usb", + [BOOTSOURCE_EEPROM] = "eeprom", }; static enum bootsource bootsource = BOOTSOURCE_UNKNOWN; diff --git a/include/bootsource.h b/include/bootsource.h index dfcad49..84a6696 100644 --- a/include/bootsource.h +++ b/include/bootsource.h @@ -11,6 +11,8 @@ enum bootsource { BOOTSOURCE_SERIAL, BOOTSOURCE_ONENAND, BOOTSOURCE_HD, + BOOTSOURCE_USB, + BOOTSOURCE_EEPROM, }; enum bootsource bootsource_get(void); -- 1.8.2.rc2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox