From: Richard Genoud Date: Thu, 13 Dec 2012 11:47:34 +0100 Subject: [U-Boot] [PATCH 0/2] clean some FAT code In-Reply-To: <50BE21CC.4030603@denx.de> References: <50BE21CC.4030603@denx.de> Message-ID: <1355395656-5838-1-git-send-email-richard.genoud@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Instead of adding some more ugly #ifdefs, I came with another approach. It makes the code easier to read, and correct the compilation error when VFAT wasn't enabled. Best regards, Richard Genoud (2): FAT: remove ifdefs to make the code more readable FAT: use toupper/tolower instead of recoding them fs/fat/fat.c | 58 +++++++++++++++++++++++++++------------------------ fs/fat/fat_write.c | 14 ++++-------- include/fat.h | 3 -- 3 files changed, 36 insertions(+), 39 deletions(-) -- 1.7.2.5