packge/boot/rbcfg: add new boot constants found in the recent Mikrotik devices
[openwrt/staging/yousong.git] / package / boot / rbcfg / src / main.c
index b7cf79ffaefe102efacf2bbbdb215d96028b9c30..9aedcc55a87d0bec95cf1bb79117ff30f94db881 100644 (file)
@@ -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[] = {