Skip to contentSkip to conversation

davinci: omapl138_lcdk: enable fatwrite support

PATCH New Sekhar Nori 2 participants 3 messages Jun 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 davinci: omapl138_lcdk: enable fatwrite support

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

---
 include/configs/omapl138_lcdk.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/omapl138_lcdk.h +4 -0
index 9db4eeb54edf..a5be773eed9d 100644
@@ -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)
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 davinci: omapl138_lcdk: enable fatwrite support

Quoted 13 lines · Sekhar Nori

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

---
 include/configs/omapl138_lcdk.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/omapl138_lcdk.h +0 -0
index 9db4eeb54edf..a5be773eed9d 100644

include/configs/omapl138_lcdk.h line 312

Quoted 10 lines
include/configs/omapl138_lcdk.h +4 -0
@@ -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)

Can I talk you into writing the text for FS_FAT / FAT_WRITE / FS_FAT_MAX_CLUSTSIZE for fs/fat/Kconfig, and I'll run the defconfig migration? Then board/ti/common/Kconfig can imply FAT_WRITE if CMD_FAT, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170601/20ab7360/attachment.sig>
#2 lore raw

PATCH 1/1 davinci: omapl138_lcdk: enable fatwrite support

Quoted 18 lines · Tom Rini
Quoted 16 lines · Sekhar Nori

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

---
 include/configs/omapl138_lcdk.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/omapl138_lcdk.h +0 -0
index 9db4eeb54edf..a5be773eed9d 100644
@@ -303,6 +303,10 @@
 #define CONFIG_CMD_UBIFS
 #endif
 
Quoted 12 lines

include/configs/omapl138_lcdk.h line 312

Quoted 7 lines
include/configs/omapl138_lcdk.h +4 -0
+#ifdef CONFIG_CMD_FAT
+#define CONFIG_FAT_WRITE
+#endif
+
 #if !defined(CONFIG_USE_NAND) && \
 	!defined(CONFIG_SYS_USE_NOR) && \
 	!defined(CONFIG_USE_SPIFLASH)

Can I talk you into writing the text for FS_FAT / FAT_WRITE / FS_FAT_MAX_CLUSTSIZE for fs/fat/Kconfig, and I'll run the defconfig migration? Then board/ti/common/Kconfig can imply FAT_WRITE if CMD_FAT, thanks!

Sure. Will do!

Regards,
Sekhar