Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-21 Thread Masahiro Yamada
On Sun, Jul 21, 2019 at 12:38 AM Eugeniy Paltsev wrote: > > Hi Masahiro, > > On Sat, 2019-07-20 at 11:40 +0900, Masahiro Yamada wrote: > > On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev > > wrote: > > > As of today we are able to pass custom flags to dtc compiler but not > > > to dtc preprocesso

Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-20 Thread Eugeniy Paltsev
Hi Masahiro, On Sat, 2019-07-20 at 11:40 +0900, Masahiro Yamada wrote: > On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev > wrote: > > As of today we are able to pass custom flags to dtc compiler but not > > to dtc preprocessor. > > This ability is required for including some board-specific header

Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-19 Thread Masahiro Yamada
On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev wrote: > > As of today we are able to pass custom flags to dtc compiler but not > to dtc preprocessor. > This ability is required for including some board-specific header files. > It allows us to pass defined constants to dts without their duplicatio

[TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-19 Thread Eugeniy Paltsev
As of today we are able to pass custom flags to dtc compiler but not to dtc preprocessor. This ability is required for including some board-specific header files. It allows us to pass defined constants to dts without their duplication in several places. Signed-off-by: Eugeniy Paltsev --- scripts