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 adc: exynos-adc: Fix wrong bit operation used to stop the ADC 2019-03-11 15:53:19 +09:00
ata ata: fsl_ahci: Add sata DM support for Freescale powerpc socs 2019-05-23 19:53:09 +05:30
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Increase cache element size 2019-01-15 15:28:53 -05:00
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
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 cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
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 firmware: ti_sci: Always request response from firmware 2019-05-03 07:23:17 -04:00
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 hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: stm32f7: improve loopback in timing algorithm 2019-05-23 11:36:47 +02:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led led: bcm6858: allow to use this driver on ARCH_963158 2019-04-23 17:57:22 -04:00
mailbox drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: Avoid assigning PCI resources that are below 0x1000 2019-06-21 10:07:11 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
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 dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial serial: mxc: Add iMX6SX compatible string 2019-06-11 10:42:48 +02:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc soc: keystone: Merge into ti specific directory 2019-04-11 20:07:12 -04:00
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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR 2019-05-10 22:48:11 +02:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
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 virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog watchdog: tangier: Convert to use WDT class 2019-06-22 22:27:13 +08:00
Kconfig dm: cache: Create a uclass for cache 2019-05-05 08:48:50 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2019-05-07 09:37:11 -04:00