]> git.dujemihanovic.xyz Git - linux.git/commitdiff
arm64: dts: samsung-coreprimevelte: add initrd location
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 6 Jan 2024 12:00:04 +0000 (13:00 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 20 Jan 2024 19:52:03 +0000 (20:52 +0100)
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.

arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts

index 0bc65847e099cd34bf48aa38673603f1e11657f9..4339ab28bd27286d330a47b584d26320dff17be6 100644 (file)
 
                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)>;