[U-Boot] [PATCH] disk: generate GUID Partiton Tables

Kyungmin Park kyungmin.park at samsung.com
Fri Aug 10 01:53:06 CEST 2012


On 8/10/12, Wolfgang Denk <wd at denx.de> wrote:
> Dear Donghwa Lee,
>
> In message <4FA08F0A.6040201 at samsung.com> you wrote:
>> This patch manipulates GUID Papartition Tables.
>> I send this patch on behalf of Gwuieon Jin.
>>
>> Signed-off-by: Gwuieon Jin  <ge.jin at samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>> ---
>>  disk/part_efi.c |  107
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  disk/part_efi.h |    2 +
>>  include/part.h  |    2 +
>>  3 files changed, 111 insertions(+), 0 deletions(-)
>>
>> diff --git a/disk/part_efi.c b/disk/part_efi.c
>> index b6cda57..ce25ad5 100644
>> --- a/disk/part_efi.c
>> +++ b/disk/part_efi.c
>> @@ -433,4 +433,111 @@ static int is_pte_valid(gpt_entry * pte)
>>  		return 1;
>>  	}
>>  }
>> +
>> +void set_gpt_table(block_dev_desc_t *dev_desc,	unsigned int
>> part_start_lba,
>> +		int parts, unsigned int *blocks, unsigned int *part_offset)
>
> Is there any code anywhere that actually calls this function?
>
> I cannot see it, and we don't add dead code...

It used at generating partition when new partition information
downloaded by USB.
and it's preperation patch for it.
However, as you concerns thses codes are not yet posted. it will send
patches together next time.

Thank you,
Kyungmin Park

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "If a computer can't directly address all the RAM you can  use,  it's
> just a toy."         - anonymous comp.sys.amiga posting, non-sequitir
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list