AT91: fix at91sam_wdt.c to reworked header files
[oweals/u-boot.git] / disk / part_dos.h
index 1a5c3777b5c4d353ed034debd1d9b917159b8783..195a32cb3887ca7ca3429e6a326e85f8aa7f0fec 100644 (file)
 #define _DISK_PART_DOS_H
 
 
+#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
+#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
 
 typedef struct dos_partition {
        unsigned char boot_ind;         /* 0x80 - active                        */