summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/axp/ddr3_read_leveling.c
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-11-13 06:05:59 +0100
committerMattijs Korpershoek <mkorpershoek@baylibre.com>2024-11-19 15:10:56 +0100
commit06b8aafd6810d86f37d5b1cd9c1966f1e42403ed (patch)
tree154852d5287f957dc842c6ce009509ce0163b930 /drivers/ddr/marvell/axp/ddr3_read_leveling.c
parent0e6432e19f9c812b4986ca7fd8e6db9fd2c199d3 (diff)
fastboot: properly handle unknown partition type
In getvar_partition_type() we attempt to find a filesystem driver for the partition (of the list of driver enabled in U-Boot), on failure we return the error to fastboot and completely bail out of the operation. However, this should not be a failure, instead we should just default to "raw". This allows commands like "fastboot format:ext4 userdata" to work if userdata didn't already have an ext4 partition table (or if FS_EXT4 is disabled in U-Boot), as failing to determine the current partition type is not an error in this case. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20241113050607.1850472-1-caleb.connolly@linaro.org Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_read_leveling.c')
0 files changed, 0 insertions, 0 deletions