On 09/12/2012 07:50 AM, Lukasz Majewski wrote: > New command - "gpt" is supported. It restores the GPT partition table. > It looks into the "partitions" environment variable for partitions definition. > It can be enabled at target configuration file with CONFIG_CMD_GPT. > Simple UUID generator has been implemented. It uses the the gd->start_addr_sp > for entrophy pool. Moreover the pool address is used as crc32 seed. > > Signed-off-by: Lukasz Majewski <l.majew...@samsung.com> > Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com> [snip] > + /* allocate remaining memory in last partition */ > + if (i != parts - 1) { > + gpt_e[i].ending_lba = > + cpu_to_le64(offset + size[i] - 1); > + } else { > + gpt_e[i].ending_lba = gpt_h->last_usable_lba; > + }
Extra curly braces. That's all I've seen in this patch however, so getting close :) -- Tom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot