summaryrefslogtreecommitdiff
path: root/disk/part_dos.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-12-28 10:58:36 +0800
committerTerry Lv <r65388@freescale.com>2010-12-29 10:36:26 +0800
commit17b4c8e9eb30e3eb305baef98eb23325e61db592 (patch)
tree37a61babb35f73b633850303ab57923bb42b95cb /disk/part_dos.h
parent07ce4f0a2fee112bd3043d162b201abd65a52b6c (diff)
downloadu-boot-imx-17b4c8e9eb30e3eb305baef98eb23325e61db592.zip
u-boot-imx-17b4c8e9eb30e3eb305baef98eb23325e61db592.tar.gz
u-boot-imx-17b4c8e9eb30e3eb305baef98eb23325e61db592.tar.bz2
ENGR00137408: Add FAT32 support
Add FAT32 support. The code is got from community. Based on hash number 71aab09b2c1edd1b6e00819abd1e31c04db04f36. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'disk/part_dos.h')
-rw-r--r--disk/part_dos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/disk/part_dos.h b/disk/part_dos.h
index ac93f20..195a32c 100644
--- a/disk/part_dos.h
+++ b/disk/part_dos.h
@@ -28,13 +28,14 @@
#ifdef CONFIG_ISO_PARTITION
/* Make the buffers bigger if ISO partition support is enabled -- CD-ROMS
have 2048 byte blocks */
-#define DEFAULT_SECTOR_SIZE 2048
+#define DEFAULT_SECTOR_SIZE 2048
#else
#define DEFAULT_SECTOR_SIZE 512
#endif
#define DOS_PART_TBL_OFFSET 0x1be
#define DOS_PART_MAGIC_OFFSET 0x1fe
#define DOS_PBR_FSTYPE_OFFSET 0x36
+#define DOS_PBR32_FSTYPE_OFFSET 0x52
#define DOS_PBR_MEDIA_TYPE_OFFSET 0x15
#define DOS_MBR 0
#define DOS_PBR 1