summaryrefslogtreecommitdiff
path: root/include/fat.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-23 20:32:05 +0000
committerwdenk <wdenk>2004-04-23 20:32:05 +0000
commit5cf91d6bdc3e60bd43f9ba1bbb97a43ee49b2b2d (patch)
tree5fe88f0a967da1a8d4f073b27294be5fa939c19d /include/fat.h
parente35745bb64fae64da3e1fa7f4afe3213287f5908 (diff)
downloadu-boot-imx-5cf91d6bdc3e60bd43f9ba1bbb97a43ee49b2b2d.zip
u-boot-imx-5cf91d6bdc3e60bd43f9ba1bbb97a43ee49b2b2d.tar.gz
u-boot-imx-5cf91d6bdc3e60bd43f9ba1bbb97a43ee49b2b2d.tar.bz2
* Modify KUP4X board configuration to use SL811 driver for USB memory
sticks (including FAT / VFAT filesystem support) * Add SL811 Host Controller Interface driver for USB * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README * Patch by Pantelis Antoniou, 19 Apr 2004: Allow to use shell style syntax (i. e. ${var} ) with standard parser. Minor patches for Intracom boards. * Patch by Christian Pell, 19 Apr 2004: cleanup support for CF/IDE on PCMCIA for PXA25X
Diffstat (limited to 'include/fat.h')
-rw-r--r--include/fat.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/fat.h b/include/fat.h
index 3e7c91c..0645458 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -27,6 +27,8 @@
#ifndef _FAT_H_
#define _FAT_H_
+#include <asm/byteorder.h>
+
#define CONFIG_SUPPORT_VFAT
#define SECTOR_SIZE FS_BLOCK_SIZE
@@ -210,11 +212,4 @@ long file_fat_read(const char *filename, void *buffer, unsigned long maxsize);
const char *file_getfsname(int idx);
int fat_register_device(block_dev_desc_t *dev_desc, int part_no);
-#ifdef CONFIG_PXA250
-#undef FAT2CPU16
-#define FAT2CPU16(x) x
-#undef FAT2CPU32
-#define FAT2CPU32(x) x
-#endif
-
#endif /* _FAT_H_ */