summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/uboot/lib/libuboot.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/boot/uboot/lib/libuboot.h b/sys/boot/uboot/lib/libuboot.h
index 16f4331..1f63bee 100644
--- a/sys/boot/uboot/lib/libuboot.h
+++ b/sys/boot/uboot/lib/libuboot.h
@@ -35,18 +35,15 @@ struct uboot_devdesc
union {
struct {
void *data;
- int pnum;
- int ptype;
+ int slice;
+ int partition;
+ off_t offset;
} disk;
} d_kind;
};
#define d_disk d_kind.disk
-#define PTYPE_BSDLABEL 1
-#define PTYPE_GPT 2
-#define PTYPE_MBR 3
-
/*
* Default network packet alignment in memory
*/
OpenPOWER on IntegriCloud