a2adb173 | 11-Apr-2016 |
Alexander Graf <agraf@suse.de> |
iso: Allow 512 byte sector size
Real CD-ROMs are pretty obsolete these days. Usually people still keep iso files around, but just put them on USB sticks or SD cards and expect them to "just work".
iso: Allow 512 byte sector size
Real CD-ROMs are pretty obsolete these days. Usually people still keep iso files around, but just put them on USB sticks or SD cards and expect them to "just work".
To support this use case with El Torito images, add support for 512 byte sector size to the iso parsing code.
Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
2579c674 | 11-Apr-2016 |
Alexander Graf <agraf@suse.de> |
iso: Start with partition 1
The generic partition code treats partition 0 as "whole disk". So we should start with partition 1 as the first partition in the iso partition table.
Signed-off-by: Alex
iso: Start with partition 1
The generic partition code treats partition 0 as "whole disk". So we should start with partition 1 as the first partition in the iso partition table.
Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
4708a07c | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
part_efi: Drop NULL check in part_get_info_efi()
This cannot be NULL since part_get_info() calls this function and requires it to be non-NULL.
Reported-by: Coverity (CID: 138497)
Signed-off-by: Si
part_efi: Drop NULL check in part_get_info_efi()
This cannot be NULL since part_get_info() calls this function and requires it to be non-NULL.
Reported-by: Coverity (CID: 138497)
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
5f095f0c | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
part_efi: Drop the NULL check on dev_desc in part_print_efi()
This cannot be NULL since part_print() calls this function and requires it to be non-NULL.
Reported-by: Coverity (CID: 138498) Signed-o
part_efi: Drop the NULL check on dev_desc in part_print_efi()
This cannot be NULL since part_print() calls this function and requires it to be non-NULL.
Reported-by: Coverity (CID: 138498) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
96e5b03c | 29-Feb-2016 |
Simon Glass <sjg@chromium.org> |
dm: part: Convert partition API use to linker lists
We can use linker lists instead of explicitly declaring each function. This makes the code shorter by avoiding switch() statements and lots of hea
dm: part: Convert partition API use to linker lists
We can use linker lists instead of explicitly declaring each function. This makes the code shorter by avoiding switch() statements and lots of header file declarations.
While this does clean up the code it introduces a few code issues with SPL. SPL never needs to print partition information since this all happens from commands. SPL mostly doesn't need to obtain information about a partition either, except in a few cases. Add these cases so that the code will be dropped from each partition driver when not needed. This avoids code bloat.
I think this is still a win, since it is not a bad thing to be explicit about which features are used in SPL. But others may like to weigh in.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
95a6f9df | 29-Feb-2016 |
Simon Glass <sjg@chromium.org> |
dm: part: Add a cast to avoid a compiler warning
In part_amiga.c the name is unsigned but bcpl_strcpy() requires a signed pointer. Add a cast to fix the warning.
Signed-off-by: Simon Glass <sjg@chr
dm: part: Add a cast to avoid a compiler warning
In part_amiga.c the name is unsigned but bcpl_strcpy() requires a signed pointer. Add a cast to fix the warning.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|