]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - disk/part_amiga.h
fw_env: calculate default number of env sectors
[karo-tx-uboot.git] / disk / part_amiga.h
index 9e59be9faa5a8f911bc5808fa06e8f3d040ff60f..0f04e97e2c834cac6a04b9349a3f6b0d8f43232b 100644 (file)
@@ -3,23 +3,7 @@
  * Hans-Joerg Frieden, Hyperion Entertainment
  * Hans-JoergF@hyperion-entertainment.com
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _DISK_PART_AMIGA_H
@@ -43,7 +27,7 @@
  * "RigidDiskBlock".
  */
 
-struct rigid_disk_block 
+struct rigid_disk_block
 {
     u32 id;
     u32 summed_longs;
@@ -57,7 +41,7 @@ struct rigid_disk_block
     u32 drive_init;
     u32 bootcode_block;
     u32 reserved_1[5];
-    
+
     /* Physical drive geometry */
     u32 cylinders;
     u32 sectors;
@@ -79,14 +63,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 +78,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 +94,7 @@ struct partition_block
     u32 reserved_3[15];
 };
 
-struct bootcode_block 
+struct bootcode_block
 {
     u32   id;
     u32   summed_longs;
@@ -125,12 +109,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;