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_rw.c | |
| parent | 923efd286411ed052d9e074f59f8986d6081061c (diff) | |
| parent | 5fe6be6208dda852c3564e384bd78d75784dea3e (diff) | |
| download | olio-uboot-2014.01-308e2b3a6c3fd84fceada79b3d4a559280d326a6.tar.xz olio-uboot-2014.01-308e2b3a6c3fd84fceada79b3d4a559280d326a6.zip | |
Merge with /home/wd/git/u-boot/custodian/u-boot-fdt
Diffstat (limited to 'libfdt/fdt_rw.c')
| -rw-r--r-- | libfdt/fdt_rw.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/libfdt/fdt_rw.c b/libfdt/fdt_rw.c index aaafc5364..693bfe43a 100644 --- a/libfdt/fdt_rw.c +++ b/libfdt/fdt_rw.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> @@ -291,3 +294,5 @@ int fdt_pack(void *fdt)  	fdt_set_header(fdt, totalsize, _blob_data_size(fdt));  	return 0;  } + +#endif /* CONFIG_OF_LIBFDT */ |