u-boot/drivers
Matthias Schiffer 7e90f77173 fastboot: only look up real partition names when no alias exists
Having U-Boot look up the passed partition name even though an alias
exists is unexpected, leading to warning messages (when the alias name
doesn't exist as a real partition name) or the use of the wrong
partition.

Change part_get_info_by_name_or_alias() to consider real partitions
names only if no alias of the same name exists, allowing to use aliases
to override the configuration for existing partition names.

Also change one use of strcpy() to strlcpy().

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
2022-01-28 11:30:39 -05:00
..
adc dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ata scsi: ceva: rename the resource name to match the linux kernel one 2021-11-09 17:18:23 +05:30
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator pci: Drop DM_PCI check from bios_emul 2021-08-05 19:46:35 -04:00
block doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bootcount bootcount: add a new driver with syscon as backend 2021-08-22 11:04:52 +02:00
bus bus: ti-sysc: change in a normal driver 2021-03-22 19:23:27 +13:00
button dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
cache cache: sifive: Fix -Wint-to-pointer-cast warning 2021-10-20 10:59:09 +08:00
clk Pull request doc-2022-04-rc1 2022-01-20 09:39:45 -05:00
core acpi: Tidy up the item list 2022-01-25 11:44:36 -07:00
cpu sandbox: correct cpu nodes 2021-09-25 09:46:15 -06:00
crypto doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ddr ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision 2022-01-14 11:39:15 +01:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu dfu: newline after updating 2021-11-07 18:36:56 +01:00
dma dma: ti: k3-udma: Fix rflow reservation for PKTDMA 2022-01-15 10:38:26 -05:00
fastboot fastboot: only look up real partition names when no alias exists 2022-01-28 11:30:39 -05:00
firmware Xilinx changes for v2022.04-rc1 2022-01-19 11:43:44 -05:00
fpga arm: socfpga: arria10: Enable double peripheral RBF configuration 2021-12-17 12:58:01 +08:00
gpio Pull request doc-2022-04-rc1 2022-01-20 09:39:45 -05:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
input doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
iommu iommu: Add Apple DART driver 2021-10-31 08:46:44 -04:00
led dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
mailbox treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
memory keystone2: Move CONFIG_AEMIF_CNTRL_BASE out of CONFIG namespace 2021-09-27 21:38:34 -04:00
misc x86: Use the ACPI table writer 2022-01-25 11:44:36 -07:00
mmc doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mtd configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig 2022-01-21 14:01:35 -05:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net Merge https://source.denx.de/u-boot/custodians/u-boot-marvell 2022-01-20 12:40:20 -05:00
nvme nvme: Do not allocate 8kB buffer on stack 2022-01-14 13:16:10 -05:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci pci: iproc: Set all 24 bits of PCI class code 2022-01-24 16:03:27 -05:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy phy: marvell: Remove unused function comphy_update_map() 2022-01-20 14:46:03 +01:00
pinctrl doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
power doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pwm exynos: pwm: Deal with a PWM at 100% 2021-11-09 11:57:22 +09:00
qe configs: fsl: migrate FMAN/QE specific defines to Kconfig 2021-11-09 17:18:23 +05:30
ram drivers: octeon: get rid of Unicode in code 2022-01-20 14:45:46 +01:00
reboot-mode reboot-mode: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
remoteproc doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
reset treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
rng Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
rtc rtc: ds1337: fix compatible string typo 2021-11-11 19:02:44 -05:00
scsi sata: Rename SATA_SUPPORT to SATA 2021-09-04 12:26:02 -04:00
serial sandbox: sandbox_serial_pending depends on DM_VIDEO 2022-01-25 12:36:11 -07:00
smem dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
soc soc: xilinx: versal: Add soc_xilinx_versal driver 2021-08-26 08:08:11 +02:00
sound doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
spi doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo sysinfo: rcar3: Add Renesas R-Car Gen3 sysinfo driver 2021-07-20 23:33:54 +02:00
sysreset Xilinx changes for v2022.04-rc1 2022-01-19 11:43:44 -05:00
tee tee: optee: remove unused duplicated login Id macros 2021-11-23 13:53:03 -05:00
thermal WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
timer omap: timer: implement timer_get_boot_us 2022-01-16 08:31:03 -05:00
tpm doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ufs dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
usb dfu: handle short frame result of UPLOAD in state_dfu_idle 2022-01-28 10:21:51 -05:00
video Merge https://source.denx.de/u-boot/custodians/u-boot-marvell 2022-01-20 12:40:20 -05:00
virtio doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
w1 arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog watchdog: Add a driver for the Apple watchdog 2022-01-13 06:55:46 +01:00
xen WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
Kconfig iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
Makefile iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00