diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:57:58 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | 29629eb897f8d8119b06477d0ca3c4b424726e51 (patch) | |
tree | 4254d41ba3eb1705f5fcea51a4ef1950093030e3 /drivers/core/lists.c | |
parent | 054b3a1e80fcbca02cb0d0728629af02f18517f5 (diff) | |
download | u-boot-imx-29629eb897f8d8119b06477d0ca3c4b424726e51.zip u-boot-imx-29629eb897f8d8119b06477d0ca3c4b424726e51.tar.gz u-boot-imx-29629eb897f8d8119b06477d0ca3c4b424726e51.tar.bz2 |
dm: core: Don't use device tree with of-platdata
When CONFIG_SPL_OF_PLATDATA is enabled we should not access the device
tree. Remove all references to this in the core driver-model code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/lists.c')
-rw-r--r-- | drivers/core/lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 0c27717..6a634e6 100644 --- a/drivers/core/lists.c +++ b/drivers/core/lists.c @@ -99,7 +99,7 @@ int device_bind_driver_to_node(struct udevice *parent, const char *drv_name, return 0; } -#if CONFIG_IS_ENABLED(OF_CONTROL) +#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) /** * driver_check_compatible() - Check if a driver is compatible with this node * |