]> 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)
committerKarel Balej <balejk@matfyz.cz>
Thu, 28 Mar 2024 13:39:52 +0000 (14:39 +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 b610a59b7013b7cb785cca67206ca57366d567d1..80b2726541270359954f2eaaf24cf35e41380f17 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)>;