u-boot-brain/arch/arm
Bin Meng 4854ebc57e arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag
When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
bound before relocation. However due to a bug in the DM core,
the flag only takes effect when devices are statically declared
via U_BOOT_DEVICE(). This bug has been fixed recently by commit
"dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()", but with the fix, it has a side effect that
all existing drivers that declared DM_FLAG_PRE_RELOC flag will
be bound before relocation now. This may expose potential boot
failure on some boards due to insufficient memory during the
pre-relocation stage.

To mitigate this potential impact, the following changes are
implemented:

- Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
  only supports configuration from device tree (OF_CONTROL)
- Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
  is statically declared via U_BOOT_DEVICE()
- Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
  drivers that support both statically declared devices and
  configuration from device tree

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
2018-11-14 09:16:28 -08:00
..
cpu arm: lpc32xx: remove phantom CONFIG_LPC32XX_SDRAM_ config option 2018-10-19 12:56:58 -04:00
dts Merge branch 'next' 2018-11-14 11:30:07 -05:00
include driver: net: ti: keystone_net: switch to use common mdio lib 2018-11-05 10:42:01 -06:00
lib Patch queue for efi - 2018-10-17 2018-10-17 07:20:52 -04:00
mach-aspeed
mach-at91 arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-bcm283x
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci driver: net: consolidate ti's code in separate folder 2018-11-05 10:41:59 -06:00
mach-exynos
mach-highbank
mach-imx imx: mkimage: add size check to the u-boot.imx make target 2018-11-12 11:08:53 +01:00
mach-integrator
mach-k3 arm: K3: am654: Add support for getting boot mode 2018-10-10 13:35:08 -04:00
mach-keystone
mach-kirkwood Convert CONFIG_MII et al to Kconfig 2018-08-17 13:03:54 -04:00
mach-meson ARM: meson: Add Khadas VIM2 board support 2018-10-10 13:32:40 -04:00
mach-mvebu arm: mvebu: Move PCI(e) MBUS window to end of RAM 2018-11-06 13:21:13 +01:00
mach-omap2 ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX 2018-10-19 14:16:32 -04:00
mach-orion5x arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Generate fitting mem_map on Gen3 2018-11-02 15:57:13 +01:00
mach-rockchip rockchip: make_fit_atf: make python3 compatible 2018-10-04 21:15:46 +02:00
mach-s5pc1xx
mach-snapdragon db410c: serial# env using msm board serial 2018-09-30 13:00:35 -04:00
mach-socfpga arm: socfpga: stratix10: add sgmii in phymode setup 2018-10-03 12:56:50 +02:00
mach-sti
mach-stm32 mach-stm32: Set MPU SDRAM size to 512MB for STM32F7/H7 2018-10-06 14:09:41 -04:00
mach-stm32mp arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag 2018-11-14 09:16:28 -08:00
mach-sunxi sunxi: add Kconfig option for the maximum accessible DRAM 2018-10-29 20:41:15 +05:30
mach-tegra ARM: tegra: reserve unmapped RAM so EFI doesn't use it 2018-09-23 21:55:29 +02:00
mach-uniphier mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mach-versal arm64: versal: Add Xilinx Versal Virtual QEMU board 2018-10-16 16:53:24 +02:00
mach-versatile
mach-zynq
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig arm: qemu: Add a Kconfig in the board directory 2018-11-14 09:16:28 -08:00
Kconfig.debug
Makefile Merged imx8 architecture, fix build for imx8 + warnings 2018-10-25 10:16:21 -04:00