]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - disk/part_dos.h
Enable caches
[karo-tx-uboot.git] / disk / part_dos.h
index cc3fa81d73ba48db79a157047f5ed1fd3003c1b1..de755425e0e476de6be3c4d8e1fa685cc0d5284f 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                        */