Home
last modified time | relevance | path

Searched hist:c2fdd34569145ad281aeea5ef16fff83d7075830 (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dgpt.cc2fdd34569145ad281aeea5ef16fff83d7075830 Fri Jul 29 03:12:18 UTC 2016 Kever Yang <kever.yang@rock-chips.com> cmd: gpt: fix the wrong size parse for the last partition

The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for
size '-', because both fist_usable_lba and last_usable_lba will remain
34 sectors.

We can simply use 0 for size '-' because the part_efi module will decode
the size and auto extend the size to maximum available size.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
/rk3399_rockchip-uboot/disk/
H A Dpart_efi.cc2fdd34569145ad281aeea5ef16fff83d7075830 Fri Jul 29 03:12:18 UTC 2016 Kever Yang <kever.yang@rock-chips.com> cmd: gpt: fix the wrong size parse for the last partition

The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for
size '-', because both fist_usable_lba and last_usable_lba will remain
34 sectors.

We can simply use 0 for size '-' because the part_efi module will decode
the size and auto extend the size to maximum available size.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>