[PATCH] arm: rpi: Device tree modifications for U-Boot

Pavel Machek pavel at ucw.cz
Thu Oct 8 08:50:15 PDT 2015


Hi!

> This updates the device tree from the kernel version to something suitable
> for U-Boot:
> 
> - Add stdout-path alias for console
> - Mark the /soc node to be available pre-relocation so that the early
> serial console works (we need the 'ranges' property to be available)
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  arch/arm/boot/dts/bcm2835.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> @@ -16,6 +17,7 @@
>  		#size-cells = <1>;
>  		ranges = <0x7e000000 0x20000000 0x02000000>;
>  		dma-ranges = <0x40000000 0x00000000 0x20000000>;
> +		u-boot,dm-pre-reloc;
>

Given low ammount of memory available for SPL, such stuff is going to be neccessary.

Should it have more generic name... "critical-for-early-boot" ?

Best regards,
									Pavel



More information about the linux-arm-kernel mailing list