summaryrefslogtreecommitdiffstats
path: root/include/part.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-19 11:04:11 +0000
committerwdenk <wdenk>2002-11-19 11:04:11 +0000
commitc7de829c796978e519984df2f1c8cfcf921a39a4 (patch)
tree43e42aa9a09f5265783c1622a5cea080471ef50e /include/part.h
parent2262cfeef91458b01a1bfe3812ccbbfdf8b82807 (diff)
downloadbarebox-c7de829c796978e519984df2f1c8cfcf921a39a4.tar.gz
barebox-c7de829c796978e519984df2f1c8cfcf921a39a4.tar.xz
* Patch by Thomas Frieden, 13 Nov 2002:
Add code for AmigaOne board (preliminary merge to U-Boot, still WIP) * Patch by Jon Diekema, 12 Nov 2002: - Adding URL for IEEE OUI lookup - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED being defined. - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and root-on-nfs macros are designed to switch how the default boot method gets defined.
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index e43978c658..9aa9f5ab45 100644
--- a/include/part.h
+++ b/include/part.h
@@ -51,6 +51,8 @@ typedef struct block_dev_desc {
#define PART_TYPE_MAC 0x01
#define PART_TYPE_DOS 0x02
#define PART_TYPE_ISO 0x03
+#define PART_TYPE_AMIGA 0x04
+
/* device types */
#define DEV_TYPE_UNKNOWN 0xff /* not connected */
#define DEV_TYPE_HARDDISK 0x00 /* harddisk */
@@ -94,6 +96,13 @@ void print_part_iso (block_dev_desc_t *dev_desc);
int test_part_iso (block_dev_desc_t *dev_desc);
#endif
+#ifdef CONFIG_AMIGA_PARTITION
+/* disk/part_amiga.c */
+int get_partition_info_amiga (block_dev_desc_t * dev_desc, int part, disk_partition_t *info);
+void print_part_amiga (block_dev_desc_t *dev_desc);
+int test_part_amiga (block_dev_desc_t *dev_desc);
+#endif
+
#endif /* _PART_H */