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

Sekhar Nori nsekhar at ti.com
Thu Jun 1 11:31:37 UTC 2017


On Thursday 01 June 2017 04:54 PM, Tom Rini wrote:
> On Thu, Jun 01, 2017 at 04:17:37PM +0530, Sekhar Nori wrote:
> 
>> 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)
> 
> 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


More information about the U-Boot mailing list