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

Tom Rini trini at konsulko.com
Thu Jun 1 11:24:14 UTC 2017


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!

-- 
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>


More information about the U-Boot mailing list