mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
b81db4bfdd
Adding the "u-boot,dm-pre-reloc" DT property to the timer node is necesssary to support the timer in the early boot phases (e.g. SPL & pre-reloc). Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Tony Dinh <mibodhi@gmail.com>
35 lines
405 B
Text
35 lines
405 B
Text
#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_ARMADA_375
|
|
/* Armada 375 has multiple timers, use timer1 here */
|
|
&timer1 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
#else
|
|
&timer {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
#endif
|
|
|
|
#ifdef CONFIG_SPL_SPI
|
|
&spi0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
#endif
|
|
|
|
#endif
|