From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 05 Jan 2012 17:23:54 +0100 Subject: [U-Boot] [PATCH v3] cmd_fat: add FAT write command In-Reply-To: <1324431247-17998-1-git-send-email-dg77.kim@samsung.com> References: <1324431247-17998-1-git-send-email-dg77.kim@samsung.com> Message-ID: <20120105162354.F41151FD3DA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Donggeun Kim, In message <1324431247-17998-1-git-send-email-dg77.kim@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 > Signed-off-by: Kyungmin Park > --- > 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.