All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND] FAT: Add FAT write feature
Date: Sat, 22 Oct 2011 00:59:06 +0200	[thread overview]
Message-ID: <20111021225906.AA1BD11F9E79@gemini.denx.de> (raw)
In-Reply-To: <1317973947-1312-1-git-send-email-dg77.kim@samsung.com>

Dear Donggeun Kim,

In message <1317973947-1312-1-git-send-email-dg77.kim@samsung.com> you wrote:
> In some cases, saving data in RAM as a file with FAT format is required.
> This patch allows the file to be written in FAT formatted partition.
> 
> The usage is similar with reading a file.
> First, fat_register_device function is called before file_fat_write function
> in order to set target partition.
> Then, file_fat_write function is invoked with desired file name,
> start ram address for writing data, and file size.
> 
> Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>  fs/fat/Makefile    |    1 +
>  fs/fat/fat.c       |    2 +
>  fs/fat/fat_write.c | 1091 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/fat.h      |    3 +
>  4 files changed, 1097 insertions(+), 0 deletions(-)
>  create mode 100644 fs/fat/fat_write.c
> 
> diff --git a/fs/fat/Makefile b/fs/fat/Makefile
> index 93b6f07..9635d36 100644
> --- a/fs/fat/Makefile
> +++ b/fs/fat/Makefile
> @@ -25,6 +25,7 @@ LIB	= $(obj)libfat.o
>  
>  AOBJS	=
>  COBJS-$(CONFIG_CMD_FAT)	:= fat.o
> +COBJS-$(CONFIG_FAT_WRITE):= fat_write.o

Can ypu please document this new CONFIG_FAT_WRITE option in the
README?  Thanks.

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
"A complex system that works is invariably found to have evolved from
a simple system that worked."             - John Gall, _Systemantics_

      reply	other threads:[~2011-10-21 22:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07  7:52 [U-Boot] [PATCH RESEND] FAT: Add FAT write feature Donggeun Kim
2011-10-21 22:59 ` Wolfgang Denk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111021225906.AA1BD11F9E79@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.