Clean up libfdt.h includes

The libfdt.h file is the definition file for libfdt.  It is unnecessary
to include other fdt header files (the necessary ones are pulled in
by libfdt.h).

Signed-off-by: Gerald Van Baren <gvb@unssw.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Stefan Roese <sr@denx.de>
master
Gerald Van Baren 12 years ago
parent 8aa5ec6e16
commit 58864ddc72
  1. 1
      arch/nios2/cpu/fdt.c
  2. 1
      arch/powerpc/cpu/mpc5xxx/cpu.c
  3. 1
      arch/powerpc/cpu/mpc8260/cpu.c
  4. 1
      arch/powerpc/cpu/mpc8xx/cpu.c
  5. 1
      arch/powerpc/cpu/ppc4xx/fdt.c
  6. 1
      arch/powerpc/lib/bootm.c
  7. 3
      arch/x86/include/asm/arch-coreboot/sysinfo.h
  8. 1
      board/cm5200/cm5200.c
  9. 3
      include/fdt_support.h

@ -30,7 +30,6 @@
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
DECLARE_GLOBAL_DATA_PTR;

@ -36,7 +36,6 @@
#if defined(CONFIG_OF_LIBFDT)
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
#endif

@ -50,7 +50,6 @@
#if defined(CONFIG_OF_LIBFDT)
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
#endif

@ -45,7 +45,6 @@
#if defined(CONFIG_OF_LIBFDT)
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
#endif

@ -29,7 +29,6 @@
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
#include <asm/4xx_pcie.h>

@ -38,7 +38,6 @@
#if defined(CONFIG_OF_LIBFDT)
#include <libfdt.h>
#include <fdt_support.h>
#endif
#ifdef CONFIG_SYS_INIT_RAM_LOCK

@ -32,8 +32,7 @@
#include <common.h>
#include <compiler.h>
#include <libfdt_env.h>
#include <fdt.h>
#include <libfdt.h>
#include <asm/arch/tables.h>
/* Allow a maximum of 16 memory range definitions. */

@ -44,7 +44,6 @@
#ifdef CONFIG_OF_LIBFDT
#include <libfdt.h>
#include <libfdt_env.h>
#include <fdt_support.h>
#endif /* CONFIG_OF_LIBFDT */

@ -26,8 +26,7 @@
#ifdef CONFIG_OF_LIBFDT
#include <libfdt_env.h>
#include <fdt.h>
#include <libfdt.h>
u32 fdt_getprop_u32_default(const void *fdt, const char *path,
const char *prop, const u32 dflt);

Loading…
Cancel
Save