All of lore.kernel.org
 help / color / mirror / Atom feed
* Ifdef on devicetree
@ 2019-02-22 11:16 luciosantinell
  0 siblings, 0 replies; only message in thread
From: luciosantinell @ 2019-02-22 11:16 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

Hi,

i'm trying to add some #ifdef on my device tree in order to separate two different imports.

#include "imx6q.dtsi"
#ifdef MMC_WRITE
#include "imx6qdl-sabre-mmc.dtsi"
#elif
#include "imx6qdl-sabre-sd.dtsi"
#endif

where can i add a macro to select what kind of device tree i must import?
in /arch/arm/boot i found a Makefile
and another one in /arch/arm/boot/dts
but i dont know how to define a macro for device-trees.

Thanks

[-- Attachment #2: Type: text/html, Size: 613 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-22 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 11:16 Ifdef on devicetree luciosantinell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.