projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pantheon: define CONFIG_SYS_CACHELINE_SIZE
[oweals/u-boot.git]
/
disk
/
part_dos.h
diff --git
a/disk/part_dos.h
b/disk/part_dos.h
index 1a5c3777b5c4d353ed034debd1d9b917159b8783..de755425e0e476de6be3c4d8e1fa685cc0d5284f 100644
(file)
--- a/
disk/part_dos.h
+++ b/
disk/part_dos.h
@@
-25,9
+25,13
@@
#define _DISK_PART_DOS_H
#define _DISK_PART_DOS_H
-#define DEFAULT_SECTOR_SIZE 512
#define DOS_PART_TBL_OFFSET 0x1be
#define DOS_PART_MAGIC_OFFSET 0x1fe
#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 */
typedef struct dos_partition {
unsigned char boot_ind; /* 0x80 - active */