Skip to content
Commit 9b43ac7c authored by Gerson Fernando Budke's avatar Gerson Fernando Budke Committed by Kumar Gala
Browse files

include: dt-bindings: Add macros entry point for DTS preprocessor



Introduce <dt-bindings/dt-util.h> file.  It wraps <sys/util_macro.h>
file exposing all macro base definitions to DTS preprocessor.  Once it
contains only prepocessor macros, it can be safely included in DTS,
similar way the <dts/arm/<manufacturer>/pinctrl_<manufacturer>_<soc>.h
files are included.

This provides necessary background to elaborate complex constructions
like variable length macros with zero or more elements.

Signed-off-by: default avatarGerson Fernando Budke <nandojve@gmail.com>
parent 6b05121e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment