u-boot-brain/drivers
Hamish Guthrie 6ea31cce0b ubispl: add support for loading volumes by name
The motivation is to use the UBI atomic volume rename functionality to
allow double copy software updates on UBI. To that end the SPL is
configured to always load the same volume name (e.g. "u-boot"),
whereas a software updater always installs into the secondary volume
"u-boot_r". After successful installation, these two volume names are
switched.

This extension is protected by #ifdefs as it will somewhat slow down
loading of volumes by id. This is because the code needs to disable
the optimization of ignoring all volume ids which are not
to-be-loaded, since these can only be resolved after attaching.

This adds two vtbl related functions from Linux, which are taken from
the same kernel version as the current main U-Boot UBI code (Linux 4.2
64291f7db5bd8).

Signed-off-by: Hamish Guthrie <hamish.guthrie@kistler.com>
Signed-off-by: Markus Klotzbuecher <markus.klotzbuecher@kistler.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Cc: Kyungmin Park <kmpark@infradead.org>
2019-07-09 07:00:25 +02:00
..
adc
ata ata: fsl_ahci: Add sata DM support for Freescale powerpc socs 2019-05-23 19:53:09 +05:30
axi
bios_emulator
block
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount
cache dm: cache: add the pl310 cache controller driver 2019-05-05 08:48:50 -04:00
clk - Add Ethernet support for STM32MP1 2019-06-11 17:22:22 -04:00
core dm: Add a No-op uclass 2019-07-05 14:19:41 +02:00
cpu
crypto Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone" 2019-06-11 10:42:48 +02:00
ddr mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
demo
dfu
dma CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
fastboot fastboot: Check if partition really exist in getvar_has_slot() 2019-06-14 12:39:54 +02:00
firmware
fpga spl: socfpga: Implement fpga bitstream loading with socfpga loadfs 2019-05-10 22:48:11 +02:00
gpio gpio: dwapb_gpio: fix broken dev->node 2019-05-24 00:01:08 +02:00
hwspinlock
i2c i2c: stm32f7: improve loopback in timing algorithm 2019-05-23 11:36:47 +02:00
input
led
mailbox
memory
misc imx8: fuse: fix fuse driver 2019-06-11 10:42:48 +02:00
mmc Merge tag 'mmc-6-19' of https://github.com/MrVan/u-boot 2019-06-20 09:13:27 -04:00
mtd ubispl: add support for loading volumes by name 2019-07-09 07:00:25 +02:00
net - Add Ethernet support for STM32MP1 2019-06-11 17:22:22 -04:00
nvme nvme: Fix warning of cast from pointer to integer of different size 2019-05-19 16:17:33 +08:00
pch
pci pci: Avoid assigning PCI resources that are below 0x1000 2019-06-21 10:07:11 -04:00
pcmcia
phy phy: meson: add Amlogic G12A USB2 and USB3+PCIE PHY drivers 2019-05-09 10:38:32 +02:00
pinctrl pinctrl: uniphier: Add SPI pin-mux settings 2019-06-29 22:21:26 +09:00
power regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot 2019-06-11 10:42:48 +02:00
pwm
qe configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig 2019-05-26 14:40:50 -04:00
ram stm32mp1: ram: add tuning in DDR interactive mode 2019-05-23 11:38:11 +02:00
remoteproc remoteproc: k3_system_controller: Increase rx timeout 2019-05-09 20:22:05 -04:00
reset reset: socfpga: convert to livetree 2019-05-10 22:48:11 +02:00
rtc rtc: export rtc_month_days() 2019-05-31 23:27:12 +02:00
scsi
serial serial: mxc: Add iMX6SX compatible string 2019-06-11 10:42:48 +02:00
smem
soc
sound sound: tegra: Add a sound driver 2019-05-24 10:14:10 -07:00
spi Merge branch 'master' of git://git.denx.de/u-boot-spi 2019-06-17 11:32:22 -04:00
spmi
sysreset sysreset: select DM_GPIO instead of GPIO 2019-05-10 07:18:13 -04:00
tee test/py: avb: fix test_avb_persistent_values fail 2019-05-09 19:52:55 -04:00
thermal
timer timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR 2019-05-10 22:48:11 +02:00
tpm
usb usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue 2019-07-05 14:19:41 +02:00
video video: backlight: fix pwm inversion 2019-07-06 23:31:52 +02:00
virtio
w1
w1-eeprom
watchdog watchdog: tangier: Convert to use WDT class 2019-06-22 22:27:13 +08:00
Kconfig
Makefile Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2019-05-07 09:37:11 -04:00