[U-Boot] [PATCH v3] cmd_fat: add FAT write command

Wolfgang Denk wd at denx.de
Thu Jan 5 17:23:54 CET 2012


Dear Donggeun Kim,

In message <1324431247-17998-1-git-send-email-dg77.kim at samsung.com> you wrote:
> Once CONFIG_FAT_WRITE is defined,
> users can invoke 'fatwrite' command that saves data in RAM as a FAT file.
> 
> By removing variable of 'part_size' in fs/fat.c,
> compile error occurs when enabling FAT write feature.
> The variable should be declared only when CONFIG_FAT_WRITE is defined.
> This patch also removes compile error when FAT write is enabled and
> compile warning when FAT write is disabled.
> 
> Signed-off-by: Donggeun Kim <dg77.kim at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> Changes for v3:
>    - use cmd_usage function
> Changes for v2:
>    - merge the patch that fixes compile error when enabling FAT write
>    - change do_fat_fswrite to be static function
> 
>  common/cmd_fat.c |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  fs/fat/fat.c     |    7 ++++++
>  2 files changed, 64 insertions(+), 0 deletions(-)

This does not apply any more, please rebase against current master and
resubmit.

Sorry.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The years of peak mental activity are undoubtedly between the ages of
four and eighteen. At four we know all the questions, at eighteen all
the answers.


More information about the U-Boot mailing list