]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coral: Drop TPM and ACPI interrupts from TPL
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:51 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
These devices are not actually built in TPL but are currently active in
the TPL devicetree. For of-platdata-inst this means that we will try to
generate devices for them, which fails.

Update them to be active only in U-Boot proper.

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

index 2ffe3b423c34f8e7791c001d03caf438b8ba6c46..d109a387597093dd18542ef3a2665d8dc84d3f06 100644 (file)
        clk: clock {
                compatible = "intel,apl-clk";
                #clock-cells = <1>;
-               u-boot,dm-pre-reloc;
+               u-boot,dm-pre-proper;
        };
 
        cpus {
        };
 
        acpi_gpe: general-purpose-events {
-               u-boot,dm-pre-reloc;
+               u-boot,dm-pre-proper;
                reg = <IOMAP_ACPI_BASE IOMAP_ACPI_SIZE>;
                compatible = "intel,acpi-gpe";
                interrupt-controller;
                        compatible = "intel,apl-i2c", "snps,designware-i2c-pci";
                        reg = <0x0200b210 0 0 0 0>;
                        early-regs = <IOMAP_I2C2_BASE 0x1000>;
-                       u-boot,dm-pre-reloc;
+                       u-boot,dm-pre-proper;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        clock-frequency = <400000>;
                        tpm: tpm@50 {
                                reg = <0x50>;
                                compatible = "google,cr50";
-                               u-boot,dm-pre-reloc;
+                               u-boot,dm-pre-proper;
                                u-boot,i2c-offset-len = <0>;
                                ready-gpios = <&gpio_n 28 GPIO_ACTIVE_LOW>;
                                interrupts-extended = <&acpi_gpe GPIO_28_IRQ
 &rtc {
        #address-cells = <1>;
        #size-cells = <0>;
-       u-boot,dm-pre-reloc;
+       u-boot,dm-pre-proper;
 };