]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coral: Remove unwanted nodes from SPL/TPL
authorSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 17:40:06 +0000 (10:40 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
Some devices are not needed in SPL/TPL. For TPL this causes the
generation of unnecessary of-platadata structs. Make some adjustments to
fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/chromebook_coral.dts

index 3c8fdf238093fe880cdba398800f5db7e420d0e5..a84602209576e9d3e3852561d743b160eea9cad8 100644 (file)
        };
 
        cpus {
-               u-boot,dm-pre-reloc;
+               u-boot,dm-pre-proper;
                #address-cells = <1>;
                #size-cells = <0>;
 
                cpu_0: cpu@0 {
-                       u-boot,dm-pre-reloc;
+                       u-boot,dm-pre-proper;
+                       u-boot,dm-spl;
                        device_type = "cpu";
                        compatible = "intel,apl-cpu";
                        reg = <0>;
                };
 
                punit@0,1 {
-                       u-boot,dm-pre-reloc;
+                       u-boot,dm-pre-proper;
+                       u-boot,dm-spl;
                        reg = <0x00000800 0 0 0 0>;
                        compatible = "intel,apl-punit";
                };
 
                gma@2,0 {
+                       u-boot,dm-pre-proper;
                        reg = <0x00001000 0 0 0 0>;
                        compatible = "fsp-fb";
                };
                };
 
                spi: fast-spi@d,2 {
-                       u-boot,dm-pre-reloc;
+                       u-boot,dm-pre-proper;
+                       u-boot,dm-spl;
                        reg = <0x02006a10 0 0 0 0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        fwstore_spi: spi-flash@0 {
                                #size-cells = <1>;
                                #address-cells = <1>;
-                               u-boot,dm-pre-reloc;
+                               u-boot,dm-pre-proper;
+                               u-boot,dm-spl;
                                reg = <0>;
                                compatible = "winbond,w25q128fw",
                                         "jedec,spi-nor";
                                #size-cells = <0>;
                                u-boot,dm-pre-reloc;
                                cros_ec: cros-ec {
-                                       u-boot,dm-pre-reloc;
+                                       u-boot,dm-pre-proper;
                                        compatible = "google,cros-ec-lpc";
                                        reg = <0x204 1 0x200 1 0x880 0x80>;