diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-11 02:14:05 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-11 02:14:05 +0200 |
commit | 308e2b3a6c3fd84fceada79b3d4a559280d326a6 (patch) | |
tree | 452e7ed9e0ed6c11cc4a73a3a588a72cbc2646b7 /libfdt/fdt_sw.c | |
parent | 923efd286411ed052d9e074f59f8986d6081061c (diff) | |
parent | 5fe6be6208dda852c3564e384bd78d75784dea3e (diff) | |
download | u-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.zip u-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.tar.gz u-boot-imx-308e2b3a6c3fd84fceada79b3d4a559280d326a6.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-fdt
Diffstat (limited to 'libfdt/fdt_sw.c')
-rw-r--r-- | libfdt/fdt_sw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libfdt/fdt_sw.c b/libfdt/fdt_sw.c index 672f4dd..c7eea8f 100644 --- a/libfdt/fdt_sw.c +++ b/libfdt/fdt_sw.c @@ -16,6 +16,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" +#if CONFIG_OF_LIBFDT + #include "libfdt_env.h" #include <fdt.h> @@ -224,3 +227,5 @@ int fdt_finish(void *fdt) fdt_set_header(fdt, magic, FDT_MAGIC); return 0; } + +#endif /* CONFIG_OF_LIBFDT */ |