This patch is enhanced and fixed version of previous(
895ce33)
patch. Previous patch was reverted due to panic issue because
setenv was failed during board_mmc_init. Thus, I move the
OmPin check and setenv to board_late_init function.
Change-Id: I4194a5669ae53f302229f820dac8159c06de52b3
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
run_command("fastboot", 0);
}
#endif
+
+#ifdef CONFIG_FACTORY_INFO
+ if (readl(&pmu->inform3) == BOOT_MMCSD)
+ setenv("emmc_dev", "1");
+#endif
return 0;
}
run_command("fastboot", 0);
}
#endif
+
+#ifdef CONFIG_FACTORY_INFO
+ if (readl(&pmu->inform3) == BOOT_MMCSD)
+ setenv("emmc_dev", "1");
+#endif
+
return 0;
}