projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packge/boot/rbcfg: add new boot constants found in the recent Mikrotik devices
[openwrt/openwrt.git]
/
package
/
boot
/
rbcfg
/
src
/
main.c
diff --git
a/package/boot/rbcfg/src/main.c
b/package/boot/rbcfg/src/main.c
index b7cf79ffaefe102efacf2bbbdb215d96028b9c30..9aedcc55a87d0bec95cf1bb79117ff30f94db881 100644
(file)
--- a/
package/boot/rbcfg/src/main.c
+++ b/
package/boot/rbcfg/src/main.c
@@
-101,6
+101,10
@@
static const struct rbcfg_value rbcfg_boot_device[] = {
RB_BOOT_DEVICE_ETHONCE),
CFG_U32("nand", "boot from NAND only",
RB_BOOT_DEVICE_NANDONLY),
RB_BOOT_DEVICE_ETHONCE),
CFG_U32("nand", "boot from NAND only",
RB_BOOT_DEVICE_NANDONLY),
+ CFG_U32("flash", "boot in flash configuration mode",
+ RB_BOOT_DEVICE_FLASHCFG),
+ CFG_U32("flashnand", "boot in flash configuration mode once, then NAND",
+ RB_BOOT_DEVICE_FLSHONCE),
};
static const struct rbcfg_value rbcfg_boot_key[] = {
};
static const struct rbcfg_value rbcfg_boot_key[] = {