dm: core: Select device tree control correctly for SPL
authorSimon Glass <sjg@chromium.org>
Sat, 28 Feb 2015 05:06:41 +0000 (22:06 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Apr 2015 15:05:54 +0000 (09:05 -0600)
commitb2b0d3e7129d4e59be1a016ad4fb05db87b8c5b4
tree11b52db0f2c46af8db1c1ac3f4d8c297a213088c
parent1d76bf226ac1660ec00c4a2cb276bd000ad37a5a
dm: core: Select device tree control correctly for SPL

Some boards will not use device tree for SPL even with driver model. Add
the logic to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/fdtdec.h