diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-06 01:56:59 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-06 01:56:59 +0200 |
commit | d06a5f7ebfdc6c5d27dc0e6acf441c0916eee176 (patch) | |
tree | 5dc810aab913b8c7474df77528732f25e192e9e8 /fs/fat/fat.c | |
parent | f901a83b70a586cef89682843e2d16d6c7b2288a (diff) |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 7f991b25de..1a40a700c4 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; |