]> git.sur5r.net Git - u-boot/blobdiff - libfdt/fdt_rw.c
[BUILD] conditionally compile libfdt/*.c in libfdt/Makefile
[u-boot] / libfdt / fdt_rw.c
index 55fcc41d1a2abd2852878b9d9760d17a57998799..852b6e6a9abd0e3482e1de97c8abb0f2b620f191 100644 (file)
@@ -16,9 +16,6 @@
  * 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>
@@ -320,5 +317,3 @@ int fdt_pack(void *fdt)
        fdt_set_header(fdt, totalsize, _blob_data_size(fdt));
        return 0;
 }
-
-#endif /* CONFIG_OF_LIBFDT */