| da2ee24d | 09-Sep-2016 |
Petr Kulhavy <brain@jikos.cz> |
disk: part: refactor generic name creation for DOS and ISO
In both DOS and ISO partition tables the same code to create partition name like "hda1" was repeated.
Code moved to into a new function pa
disk: part: refactor generic name creation for DOS and ISO
In both DOS and ISO partition tables the same code to create partition name like "hda1" was repeated.
Code moved to into a new function part_set_generic_name() in part.c and optimized. Added recognition of MMC and SD types, name is like "mmcsda1".
Signed-off-by: Petr Kulhavy <brain@jikos.cz> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Steve Rae <steve.rae@raedomain.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| b6dd69a4 | 09-Sep-2016 |
Petr Kulhavy <brain@jikos.cz> |
fastboot: add support for writing MBR
Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME) to write MBR partition table. Partitions are now searched using the generic funct
fastboot: add support for writing MBR
Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME) to write MBR partition table. Partitions are now searched using the generic function which finds any partiiton by name. For MBR the partition names hda1, sda1, etc. are used.
Signed-off-by: Petr Kulhavy <brain@jikos.cz> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Steve Rae <steve.rae@raedomain.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 4e7189d4 | 01-May-2016 |
Simon Glass <sjg@chromium.org> |
dm: sata: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it.
We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by the SATA
dm: sata: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it.
We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by the SATA drivers. This will require the SATA interface to be reworked.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 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 ...
|