@ -207,27 +207,27 @@ struct bootcode_block *get_bootcode(struct blk_desc *dev_desc)
* Test if the given partition has an Amiga partition table / Rigid
* Disk block
*/
static int test_ part_amiga( struct blk_desc * dev_desc )
static int part_tes t_amiga ( struct blk_desc * dev_desc )
{
struct rigid_disk_block * rdb ;
struct bootcode_block * bootcode ;
PRINTF ( " test_ part_amiga: Testing for an Amiga RDB partition\n " ) ;
PRINTF ( " part_tes t_amiga: Testing for an Amiga RDB partition \n " ) ;
rdb = get_rdisk ( dev_desc ) ;
if ( rdb )
{
bootcode = get_bootcode ( dev_desc ) ;
if ( bootcode )
PRINTF ( " test_ part_amiga: bootable Amiga disk\n " ) ;
PRINTF ( " part_tes t_amiga: bootable Amiga disk \n " ) ;
else
PRINTF ( " test_ part_amiga: non-bootable Amiga disk\n " ) ;
PRINTF ( " part_tes t_amiga: non-bootable Amiga disk \n " ) ;
return 0 ;
}
else
{
PRINTF ( " test_ part_amiga: no RDB found\n " ) ;
PRINTF ( " part_tes t_amiga: no RDB found \n " ) ;
return - 1 ;
}
@ -318,7 +318,7 @@ static int part_get_info_amiga(struct blk_desc *dev_desc, int part,
return 0 ;
}
static void prin t_pa rt_amiga ( struct blk_desc * dev_desc )
static void pa rt_prin t_amiga ( struct blk_desc * dev_desc )
{
struct rigid_disk_block * rdb ;
struct bootcode_block * boot ;
@ -329,14 +329,14 @@ static void print_part_amiga(struct blk_desc *dev_desc)
rdb = get_rdisk ( dev_desc ) ;
if ( ! rdb )
{
PRINTF ( " prin t_pa rt_amiga: no rdb found \n " ) ;
PRINTF ( " pa rt_prin t_amiga: no rdb found \n " ) ;
return ;
}
PRINTF ( " prin t_pa rt_amiga: Scanning partition list \n " ) ;
PRINTF ( " pa rt_prin t_amiga: Scanning partition list \n " ) ;
block = rdb - > partition_list ;
PRINTF ( " prin t_pa rt_amiga: partition list at 0x%x \n " , block ) ;
PRINTF ( " pa rt_prin t_amiga: partition list at 0x%x \n " , block ) ;
printf ( " Summary: DiskBlockSize: %d \n "
" Cylinders : %d \n "
@ -382,8 +382,8 @@ U_BOOT_PART_TYPE(amiga) = {
. name = " AMIGA " ,
. part_type = PART_TYPE_AMIGA ,
. get_info = part_get_info_amiga ,
. print = prin t_pa rt_amiga ,
. test = test_ part_amiga,
. print = pa rt_prin t_amiga ,
. test = part_tes t_amiga ,
} ;
# endif