[U-Boot] [PATCH] davinci: omapl138_lcdk: enable fatwrite support

Sekhar Nori nsekhar at ti.com
Thu Jun 1 10:47:37 UTC 2017


When fat command is enabled, enable fatwrite too
so U-Boot can create new files too.

Signed-off-by: Sekhar Nori <nsekhar at ti.com>
---
 include/configs/omapl138_lcdk.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 9db4eeb54edf..a5be773eed9d 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -303,6 +303,10 @@
 #define CONFIG_CMD_UBIFS
 #endif
 
+#ifdef CONFIG_CMD_FAT
+#define CONFIG_FAT_WRITE
+#endif
+
 #if !defined(CONFIG_USE_NAND) && \
 	!defined(CONFIG_SYS_USE_NOR) && \
 	!defined(CONFIG_USE_SPIFLASH)
-- 
2.9.0



More information about the U-Boot mailing list