]> git.sur5r.net Git - u-boot/blobdiff - libfdt/fdt_ro.c
[BUILD] conditionally compile libfdt/*.c in libfdt/Makefile
[u-boot] / libfdt / fdt_ro.c
index 46d525db1453ad29caad64890039008a373754af..bc1a5f4240e8d6a4540c2a04641dc1179122d3ee 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>
@@ -532,5 +529,3 @@ int fdt_get_reservemap(void *fdt, int n, struct fdt_reserve_entry *re)
        }
        return 0;
 }
-
-#endif /* CONFIG_OF_LIBFDT */