summaryrefslogtreecommitdiff
path: root/fs/fat/fat.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-06 01:56:59 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-06 01:56:59 +0200
commitd06a5f7ebfdc6c5d27dc0e6acf441c0916eee176 (patch)
tree5dc810aab913b8c7474df77528732f25e192e9e8 /fs/fat/fat.c
parentf901a83b70a586cef89682843e2d16d6c7b2288a (diff)
downloadu-boot-imx-d06a5f7ebfdc6c5d27dc0e6acf441c0916eee176.zip
u-boot-imx-d06a5f7ebfdc6c5d27dc0e6acf441c0916eee176.tar.gz
u-boot-imx-d06a5f7ebfdc6c5d27dc0e6acf441c0916eee176.tar.bz2
Add support for Altera NIOS DK1C20 board
Patch by Shlomo Kut, 13 Dec 2004
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r--fs/fat/fat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index 7f991b2..1a40a70 100644
--- a/fs/fat/fat.c
+++ b/fs/fat/fat.c
@@ -722,6 +722,9 @@ long
do_fat_read (const char *filename, void *buffer, unsigned long maxsize,
int dols)
{
+#if CONFIG_NIOS /* NIOS CPU cannot access big automatic arrays */
+ static
+#endif
char fnamecopy[2048];
boot_sector bs;
volume_info volinfo;