summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorJiaojinxing <jiaojinxing1987@gmail.com>2018-08-23 05:51:45 (GMT)
committer Jiaojinxing <jiaojinxing1987@gmail.com>2018-08-23 05:51:45 (GMT)
commit989d77e5e80ba7da1769d54f7f36d4396c5f7faa (patch)
treeeb228424aa7d489f70904ac285380d433cffefa7
parent9e64ece95b6e5b1bab6c60d06bbafd548b08045c (diff)
downloadbspam335x-989d77e5e80ba7da1769d54f7f36d4396c5f7faa.zip
bspam335x-989d77e5e80ba7da1769d54f7f36d4396c5f7faa.tar.gz
bspam335x-989d77e5e80ba7da1769d54f7f36d4396c5f7faa.tar.bz2
Fixed sd card mount error.
-rw-r--r--SylixOS/bsp/bspInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SylixOS/bsp/bspInit.c b/SylixOS/bsp/bspInit.c
index 118b393..b5fda6e 100644
--- a/SylixOS/bsp/bspInit.c
+++ b/SylixOS/bsp/bspInit.c
@@ -701,7 +701,7 @@ INT bspInit (VOID)
API_KernelStartParam("ncpus=1 kdlog=no kderror=yes kfpu=no heapchk=yes hz=1000 hhz=1000 "
#if BSP_CFG_NAND_ROOTFS_EN > 0
"rfsmap=/boot:/yaffs2/n0,/:/yaffs2/n1"
-#else
+#elif BSP_CFG_SD_ROOTFS_EN > 0
"rfsmap=/boot:/media/sdcard0,/:/media/sdcard1"
#endif
);