aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 14416e02..f6fb12c3 100755
--- a/init/init.c
+++ b/init/init.c
@@ -962,6 +962,12 @@ int main(int argc, char **argv)
else
init_parse_config_file("/lpm.rc");
+ /* Check for an emmc initialisation file and read if present */
+ if (emmc_boot && access("/init.emmc.rc", R_OK) == 0) {
+ INFO("Reading emmc config file");
+ init_parse_config_file("/init.emmc.rc");
+ }
+
/* Check for a target specific initialisation file and read if present */
if (access("/init.target.rc", R_OK) == 0) {
INFO("Reading target specific config file");