u-boot-brain/arch
Patrice Chotard 63185b0a32 ARM: dts: sync armv7-m.dtsi with kernel v5.10-rc1
Since kernel v4.8-rc1, commit 05b23ebc2bd9 ("ARM: dts: armv7-m: remove skeleton.dtsi include"),
skeleton.dtsi file is no more included.

This synchronization is needed to avoid to get 2 memory node
in DTB file if, in DTS file, memory node is declared with the correct
syntax as following:

	memory@90000000 {
 		device_type = "memory";
 		reg = <0x90000000 0x800000>;
 	};

Then in DTB, we will have the 2 memory nodes, which is incorrect and
cause misbehavior during DT parsing by U-boot:

	memory {
		device_type = "memory";
		reg = <0x00 0x00>;
	};

	memory@90000000 {
		device_type = "memory";
		reg = <0x90000000 0x800000>;
	};

Issue found when synchronizing MCU's STM32 DT from kernel v5.10-rc1.
When using fdtdec_setup_mem_size_base() or fdtdec_setup_memory_banksize()
API, first above memory node is found (with reg = <0x00 0x00>), so
gd->ram_size, gd->ram_base, gd->bd->bi_dram[bank].start and
gd->bd->bi_dram[bank].size are all set to 0 which avoid boards to boot.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
2020-11-25 10:29:23 +01:00
..
arc board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo 2020-08-06 14:26:35 -04:00
arm ARM: dts: sync armv7-m.dtsi with kernel v5.10-rc1 2020-11-25 10:29:23 +01:00
m68k arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig 2020-11-04 10:13:44 -05:00
microblaze microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
mips mips: octeon: Add bootoctlinux command 2020-10-07 20:25:58 +02:00
nds32 treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
nios2 cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
powerpc board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00
riscv riscv: fu540: dts: Correct reg size of clint node 2020-10-26 10:01:37 +08:00
sandbox patman status subcommand to collect tags from Patchwork 2020-11-06 11:27:14 -05:00
sh sh: r2dplus: Add SCIF1 to the basic DT 2020-08-02 19:58:27 +02:00
x86 x86: coral: Update smbios tables to latest definition 2020-11-10 09:44:20 +08:00
xtensa xtensa: Remove arch_setup_bdinfo() 2020-08-26 09:19:40 +02:00
.gitignore
Kconfig patman status subcommand to collect tags from Patchwork 2020-11-06 11:27:14 -05:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00