mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-29 02:21:31 +02:00
Set u-boot,dm-pre-reloc for /soc/, /soc/internal-regs/ and &uart0 nodes as it is required on every 32-bit Armada SoCs. And set also u-boot,dm-pre-reloc for &spi0 when going to boot from SPI because otherwise SPL SPI drivers do not load. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de>
25 lines
243 B
Plaintext
25 lines
243 B
Plaintext
#include <config.h>
|
|
|
|
#ifdef CONFIG_ARMADA_32BIT
|
|
|
|
/ {
|
|
soc {
|
|
u-boot,dm-pre-reloc;
|
|
internal-regs {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
#ifdef CONFIG_SPL_SPI
|
|
&spi0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
#endif
|
|
|
|
#endif
|