possible add CONFIG define in dts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




hi all:
I want to share 1 dts when my linux kernel running on different platform.
is it possible to use #ifdef CONFIGxxx like below?
( Compile is pass, but I still get arm,data-latency, arm,tag-latency as <6 6 6>
Sincerely appreciate your kind help in advance,

        L2: cache-controller@ffe00000 {
                compatible = "arm,pl310-cache";
                reg = <0xffe00000 0x1000>;
                interrupts = <0 96 4>;
                cache-level = <2>;
#ifdef CONFIG_ARCH_PLAT_FPGA
                arm,data-latency = <0 0 0>;
                arm,tag-latency = <0 0 0>;
#else
                arm,data-latency = <6 6 6>;
                arm,tag-latency = <6 6 6>;
#endif
        };
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux