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

Wolfgang Denk wd at denx.de
Thu Aug 9 23:05:19 CEST 2012


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...

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


More information about the U-Boot mailing list