dm: core: Don't use device tree with of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:57:58 +0000 (11:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit29629eb897f8d8119b06477d0ca3c4b424726e51
tree4254d41ba3eb1705f5fcea51a4ef1950093030e3
parent054b3a1e80fcbca02cb0d0728629af02f18517f5
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>
drivers/core/device.c
drivers/core/lists.c
drivers/core/root.c