]> git.sur5r.net Git - u-boot/commit
libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT
authorVignesh R <vigneshr@ti.com>
Mon, 20 Mar 2017 04:34:38 +0000 (10:04 +0530)
committerSimon Glass <sjg@chromium.org>
Sun, 26 Mar 2017 19:22:58 +0000 (13:22 -0600)
commit5efa1bfbfa871f5bc3f07357088e8cf3c19e6f61
tree9c128be253ac07428ab01a35b9297d254e419c8e
parent27cb7300ffda7a3f1581f0f5a2d3bfe59b97ad67
libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

Use CONFIG_IS_ENABLED() macro to check whether OF_TRANSLATE is enabled, so
that code block is compiled irrespective of SPL or U-Boot build
and fdt address translation is used.

Signed-off-by: Vignesh R <vigneshr@ti.com>
lib/fdtdec.c