From f928228ca9b7bdb7226be19fca65cebd294ee5e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Sat, 6 Jan 2024 13:00:04 +0100 Subject: [PATCH] arm64: dts: samsung-coreprimevelte: add initrd location Normally, S-Boot passes the initramfs location only in cmdline. Since this location and size is fixed, specify it in the DTS. This might allow us to finally use custom cmdline (although it is a hack), but I haven't tested this. --- .../arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts b/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts index b610a59b7013..80b272654127 100644 --- a/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts @@ -22,6 +22,10 @@ stdout-path = "serial0:115200n8"; + /* S-Boot places the initramfs here */ + linux,initrd-start = <0x4d70000>; + linux,initrd-end = <0x5000000>; + fb0: framebuffer@17177000 { compatible = "simple-framebuffer"; reg = <0 0x17177000 0 (480 * 800 * 4)>; -- 2.39.5