u-boot-brain/drivers
Stefan Roese f2100f6f77 dm: core: Change platform specific translation-offset handling
Testing has shown that the current DM implementation of a platform /
board specific translation offset, as its needed for the SPL on MVEBU
platforms is buggy. The translation offset is confingured too late,
after the driver bind functions are run. This may result in incorrect
address translations. With the current implementation its not possible
to configure the offset earlier, as the DM code has not run at all.

This patch now removed the set_/get_translation_offset() calls and
moves the translation offset into the GD variable translation_offset.
This variable will get used when CONFIG_TRANSLATION_OFFSET is enabled.
This option is enabled only for MVEBU on ARM32 platforms, where its
currenty needed and configured in the SPL.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Pierre Bourdon <delroth@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Tested-by: Pierre Bourdon <delroth@gmail.com>
Tested-by: Baruch Siach <baruch@tkos.co.il>
2019-04-23 20:26:43 -06:00
..
adc adc: exynos-adc: Fix wrong bit operation used to stop the ADC 2019-03-11 15:53:19 +09:00
ata Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-04-17 09:19:45 -04:00
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 drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
clk Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-04-17 09:19:45 -04:00
core dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr ddr: altera: Stratix10: Add ECC memory scrubbing 2019-04-17 22:20:17 +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 - mt76xx: add USB support, small fixes 2019-04-13 08:27:26 -04:00
fastboot fastboot: add support for 'getvar platform' 2019-04-21 10:26:52 +02:00
firmware firmware: Add support for querying msmc memory 2019-04-12 08:05:50 -04:00
fpga arm: zynq: Add an info message about post config 2019-04-16 11:51:34 +02:00
gpio gpio: bcm6345: allow this driver on ARCH_BCM63158 2019-04-12 17:32:51 +02:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: muxes: pca954x: support PCA9543 I2C switch 2019-04-11 15:21:33 +02:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led dm: led: move default state support in led uclass 2018-08-10 10:27:32 -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 configs: move CONFIG_MXC_OCOTP to Kconfig 2019-04-13 20:30:09 +02:00
mmc ARC: dwmmc: Adding DesignWare MMC driver support for ARC devboards 2019-04-18 09:12:38 +03:00
mtd mtd: rawnand: denali: add reset handling 2019-04-17 22:20:16 +02:00
net Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-04-17 09:19:45 -04:00
nvme blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: pci_mvebu: Add comment about missing of_n_addr_cells() call 2019-03-19 09:22:05 +01:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: usbphyc: increase PLL wait timeout 2019-04-21 10:26:51 +02:00
pinctrl fdtdec tests and improvements for carve-outs 2019-04-13 08:27:35 -04:00
power stm32 patches for v2019.07-rc1 2019-04-12 15:43:19 -04:00
pwm pwm: sunxi: choose best prescaler to improve PWM resolution 2018-10-24 21:57:16 +05:30
qe drivers: qe: add TFABOOT support 2018-12-06 14:37:51 -08:00
ram stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset reset: socfpga: add reset handling for old kernels 2019-04-17 22:20:16 +02:00
rtc rtc: m41t62: Convert the RTC driver to support the driver model (DM) 2018-12-03 10:44:10 -05:00
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL 2019-04-09 09:28:50 +03: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 x86: Add sound support for samus 2019-02-20 15:27:11 +08:00
spi Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2019-04-21 18:59:30 -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: use syscon_regmap_lookup_by_phandle 2019-04-11 20:10:05 -06:00
tee tee: change return code for REE FS supplicant cmd 2018-12-15 11:49:19 -05: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: Add missing 64bit up-conversion 2019-04-17 22:20:18 +02:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
usb usb: dwc2: fix gadget disconnect 2019-04-21 10:26:52 +02:00
video Move to DM 2019-04-15 07:31:14 -04: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: orion_wdt: take timeout value in ms 2019-04-12 07:04:18 +02:00
Kconfig soc: ti: k3: add navss ringacc driver 2019-04-11 20:07:12 -04:00
Makefile x86: sandbox: pch: Add a CONFIG option for PCH 2019-02-20 15:25:30 +08:00