dm: Don't include fdtdec functions when of-platdata is enabled
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:05 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit7a53a54073e663d79ea0e08818e98f14fde5685a
tree02ef4d1e4ea9c759935a2cf3fc4475e975d81a8b
parentb484b0daefc43bb3a6258a44040b53602060b2af
dm: Don't include fdtdec functions when of-platdata is enabled

We cannot access the device tree in this case, so avoid compiling in the
various device-tree helper functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/Makefile