summaryrefslogtreecommitdiffstats
path: root/disk/part_amiga.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /disk/part_amiga.h
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadblackbird-obmc-uboot-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
blackbird-obmc-uboot-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'disk/part_amiga.h')
-rw-r--r--disk/part_amiga.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/disk/part_amiga.h b/disk/part_amiga.h
index 9e59be9faa..20a8fdfeed 100644
--- a/disk/part_amiga.h
+++ b/disk/part_amiga.h
@@ -43,7 +43,7 @@
* "RigidDiskBlock".
*/
-struct rigid_disk_block
+struct rigid_disk_block
{
u32 id;
u32 summed_longs;
@@ -57,7 +57,7 @@ struct rigid_disk_block
u32 drive_init;
u32 bootcode_block;
u32 reserved_1[5];
-
+
/* Physical drive geometry */
u32 cylinders;
u32 sectors;
@@ -79,14 +79,14 @@ struct rigid_disk_block
u32 auto_park_seconds;
u32 high_rdsk_block;
u32 reserved_4;
-
+
char disk_vendor[8];
char disk_product[16];
char disk_revision[4];
char controller_vendor[8];
char controller_product[16];
char controller_revision[4];
-
+
u32 reserved_5[10];
};
@@ -94,7 +94,7 @@ struct rigid_disk_block
* Each partition on this drive is defined by such a block
*/
-struct partition_block
+struct partition_block
{
u32 id;
u32 summed_longs;
@@ -110,7 +110,7 @@ struct partition_block
u32 reserved_3[15];
};
-struct bootcode_block
+struct bootcode_block
{
u32 id;
u32 summed_longs;
@@ -125,12 +125,12 @@ struct bootcode_block
#define AMIGA_ID_PART 0x50415254
#define AMIGA_ID_BOOT 0x424f4f54
-/*
+/*
* The environment array in the partition block
* describes the partition
*/
-struct amiga_part_geometry
+struct amiga_part_geometry
{
u32 table_size;
u32 size_blocks;
OpenPOWER on IntegriCloud