3 #include <linux/types.h>
4 #include <asm/arch/bits.h>
6 #include <linux/string.h>
7 #include <android_bootimg.h>
8 #include <linux/mtd/mtd.h>
9 #include <linux/mtd/nand.h>
11 #include <android_boot.h>
12 #include <environment.h>
13 #include <jffs2/jffs2.h>
14 #include <boot_mode.h>
19 #define dprintf(fmt, args...) printf(fmt, ##args)
23 void engtest_mode(void)
25 printf("%s\n", __func__);
27 vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=engtest", BACKLIGHT_OFF);
29 vlx_nand_boot(BOOT_PART, "androidboot.mode=engtest", BACKLIGHT_OFF);