Re: [U-Boot] [PATCH] dm: core: Decouple DM from DT

2019-09-06 Thread Simon Glass
On Sun, 1 Sep 2019 at 09:28, Marek Vasut wrote: > > Some of the DM functions depend on OF_CONTROL, which is incorrect. > DM and DT are orthogonal. Add macro guards around such functions to > avoid compiling them in when DM is enabled, while OF_CONTROL is not. > > Signed-off-by: Marek Vasut > Cc:

[U-Boot] [PATCH] dm: core: Decouple DM from DT

2019-09-01 Thread Marek Vasut
Some of the DM functions depend on OF_CONTROL, which is incorrect. DM and DT are orthogonal. Add macro guards around such functions to avoid compiling them in when DM is enabled, while OF_CONTROL is not. Signed-off-by: Marek Vasut Cc: Simon Glass --- drivers/core/device.c | 4 drivers/core