mirror of https://github.com/hak5/openwrt.git
packge/boot/rbcfg: add new boot constants found in the recent Mikrotik devices
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>openwrt-18.06
parent
399cbbd127
commit
ffa9f3d74b
|
@ -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),
|
||||
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[] = {
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
#define RB_BOOT_DEVICE_CFCARD 2
|
||||
#define RB_BOOT_DEVICE_ETHONCE 3
|
||||
#define RB_BOOT_DEVICE_NANDONLY 5
|
||||
#define RB_BOOT_DEVICE_FLASHCFG 7
|
||||
#define RB_BOOT_DEVICE_FLSHONCE 8
|
||||
|
||||
#define RB_BOOT_KEY_ANY 0
|
||||
#define RB_BOOT_KEY_DEL 1
|
||||
|
|
Loading…
Reference in New Issue