If the definitions are not defined in the config file, build error will
be occurred. This patch corrects compile errors.
Change-Id: I5511c5f464a27d644b3ae12fdf7f5782bd19d785
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
}
#endif
+#ifdef CONFIG_FACTORY_RESET_BOOTCOMMAND
if ((readl(&pmu->sysip_dat0)) == CONFIG_FACTORY_RESET_MODE) {
writel(0x0, &pmu->sysip_dat0);
setenv("bootcmd", CONFIG_FACTORY_RESET_BOOTCOMMAND);
}
+#endif
#ifdef CONFIG_FASTBOOT_AUTO_REBOOT
if (readl(&pmu->sysip_dat0) == CONFIG_FASTBOOT_AUTO_REBOOT_MODE) {