u-boot/include/dm
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
..
platform_data dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h 2018-11-27 21:06:46 +05:30
device-internal.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
device.h dm: core: Add a few more specific child-finding functions 2018-11-29 09:30:05 -07:00
fdtaddr.h dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
lists.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
of.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.h dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h ofnode: fix comment typo 2018-11-29 09:30:06 -07:00
pinctrl.h dm: pinctrl: Remove obsolete function pinctrl_decode_pin_config_dm(). 2019-04-11 20:10:05 -06:00
platdata.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.h dm: core: Introduce dev_read_alias_highest_id() 2019-02-08 06:25:32 +01:00
root.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
test.h test: dm: core: Add test case for uclass driver's child_post_probe() 2018-11-14 09:16:27 -08:00
uclass-id.h dm: Fix typo 'Watchdot' -> 'Watchdog' 2019-02-19 16:58:24 -05:00
uclass-internal.h dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL 2018-12-10 06:05:32 +01:00
uclass.h dm: uclass: Add uclass_foreach_dev_probe 2018-11-16 16:51:55 -05:00
util.h dm: remove unused function dm_fdt_pre_reloc 2019-04-11 20:10:48 -06:00