u-boot-brain/arch/arm/mach-mvebu
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
..
armada8k arm64: mvebu: armada-8k: support environment in SD/eMMC 2018-09-19 08:59:26 +02:00
armada3700 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
include/mach arm: mvebu: NAND clock support for MSYS devices 2019-04-12 07:04:18 +02:00
serdes arm: mvebu: AXP: Enhance PCIe port capability configuration 2019-04-12 07:04:18 +02:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c arm: mvebu: turris_mox: Support 1 GB version of Turris Mox 2019-01-21 11:39:50 +01:00
cpu.c arm: mvebu: NAND clock support for MSYS devices 2019-04-12 07:04:18 +02:00
dram.c arm: mvebu: Move PCI(e) MBUS window to end of RAM 2018-11-06 13:21:13 +01:00
efuse.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
kwbimage.cfg.in mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
lowlevel_spl.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile arm: mvebu: Add Marvell's integrated CPUs 2019-04-12 07:04:18 +02:00
mbus.c arm: mvebu: Add Marvell's integrated CPUs 2019-04-12 07:04:18 +02:00
spl.c dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00