summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorJiaojinxing <jiaojinxing1987@gmail.com>2018-08-23 08:29:02 (GMT)
committer Jiaojinxing <jiaojinxing1987@gmail.com>2018-08-23 08:29:02 (GMT)
commit1f0af4e7f7e04e59b6b6adb6d8aa5695ddd9e373 (patch)
tree4327b452984c872f529866801fcce63b78302a7b
parent989d77e5e80ba7da1769d54f7f36d4396c5f7faa (diff)
downloadbspam335x-1f0af4e7f7e04e59b6b6adb6d8aa5695ddd9e373.zip
bspam335x-1f0af4e7f7e04e59b6b6adb6d8aa5695ddd9e373.tar.gz
bspam335x-1f0af4e7f7e04e59b6b6adb6d8aa5695ddd9e373.tar.bz2
Adjust SD card configuration.HEADmaster
-rw-r--r--SylixOS/bsp/beaglebone/config_beaglebone.h4
-rw-r--r--SylixOS/bsp/forlinx/config_ok335xd.h4
-rw-r--r--SylixOS/bsp/forlinx/config_ok335xs.h4
-rw-r--r--SylixOS/bsp/ti/config_evmAM335x.h4
-rw-r--r--SylixOS/bsp/ti/config_evmskAM335x.h4
5 files changed, 20 insertions, 0 deletions
diff --git a/SylixOS/bsp/beaglebone/config_beaglebone.h b/SylixOS/bsp/beaglebone/config_beaglebone.h
index 2284e0b..11ffa3e 100644
--- a/SylixOS/bsp/beaglebone/config_beaglebone.h
+++ b/SylixOS/bsp/beaglebone/config_beaglebone.h
@@ -83,7 +83,11 @@
SD 相关配置
*********************************************************************************************************/
+#if BSP_CFG_NAND_ROOTFS_EN > 0
+#define BSP_CFG_SD_ROOTFS_EN 0
+#else
#define BSP_CFG_SD_ROOTFS_EN 1
+#endif
/*********************************************************************************************************
串口相关配置
diff --git a/SylixOS/bsp/forlinx/config_ok335xd.h b/SylixOS/bsp/forlinx/config_ok335xd.h
index 2dd6ab0..22e00a0 100644
--- a/SylixOS/bsp/forlinx/config_ok335xd.h
+++ b/SylixOS/bsp/forlinx/config_ok335xd.h
@@ -92,7 +92,11 @@
SD 相关配置
*********************************************************************************************************/
+#if BSP_CFG_NAND_ROOTFS_EN > 0
#define BSP_CFG_SD_ROOTFS_EN 0
+#else
+#define BSP_CFG_SD_ROOTFS_EN 1
+#endif
/*********************************************************************************************************
串口相关配置
diff --git a/SylixOS/bsp/forlinx/config_ok335xs.h b/SylixOS/bsp/forlinx/config_ok335xs.h
index 812617f..f073ff5 100644
--- a/SylixOS/bsp/forlinx/config_ok335xs.h
+++ b/SylixOS/bsp/forlinx/config_ok335xs.h
@@ -94,7 +94,11 @@
SD 相关配置
*********************************************************************************************************/
+#if BSP_CFG_NAND_ROOTFS_EN > 0
#define BSP_CFG_SD_ROOTFS_EN 0
+#else
+#define BSP_CFG_SD_ROOTFS_EN 1
+#endif
/*********************************************************************************************************
串口相关配置
diff --git a/SylixOS/bsp/ti/config_evmAM335x.h b/SylixOS/bsp/ti/config_evmAM335x.h
index dbb28a1..408b03c 100644
--- a/SylixOS/bsp/ti/config_evmAM335x.h
+++ b/SylixOS/bsp/ti/config_evmAM335x.h
@@ -83,7 +83,11 @@
SD 相关配置
*********************************************************************************************************/
+#if BSP_CFG_NAND_ROOTFS_EN > 0
#define BSP_CFG_SD_ROOTFS_EN 0
+#else
+#define BSP_CFG_SD_ROOTFS_EN 1
+#endif
/*********************************************************************************************************
串口相关配置
diff --git a/SylixOS/bsp/ti/config_evmskAM335x.h b/SylixOS/bsp/ti/config_evmskAM335x.h
index c4445f5..3ff5dd6 100644
--- a/SylixOS/bsp/ti/config_evmskAM335x.h
+++ b/SylixOS/bsp/ti/config_evmskAM335x.h
@@ -83,7 +83,11 @@
SD 相关配置
*********************************************************************************************************/
+#if BSP_CFG_NAND_ROOTFS_EN > 0
+#define BSP_CFG_SD_ROOTFS_EN 0
+#else
#define BSP_CFG_SD_ROOTFS_EN 1
+#endif
/*********************************************************************************************************
串口相关配置