projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ti_omap5_common: Add right dtb file for AM572x-IDK
[platform/kernel/u-boot.git]
/
disk
/
part_efi.c
diff --git
a/disk/part_efi.c
b/disk/part_efi.c
index
fe308d7
..
0af1e92
100644
(file)
--- a/
disk/part_efi.c
+++ b/
disk/part_efi.c
@@
-439,7
+439,7
@@
int gpt_fill_pte(gpt_header *gpt_h, gpt_entry *gpt_e,
gpt_e[i].starting_lba = cpu_to_le64(offset);
offset += partitions[i].size;
}
- if (offset >
= last_usable_lba
) {
+ if (offset >
(last_usable_lba + 1)
) {
printf("Partitions layout exceds disk size\n");
return -1;
}