Skip to content

Commit

Permalink
ARM i.MX: remove SoC defines around header includes
Browse files Browse the repository at this point in the history
All soc specific header have proper namespace now and thus can
be included at once.

Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
saschahauer committed Jul 7, 2011
1 parent 5a145ba commit db279c1
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions arch/arm/plat-mxc/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,35 +97,17 @@

#include <mach/mxc.h>

#ifdef CONFIG_ARCH_MX5
#include <mach/mx50.h>
#include <mach/mx51.h>
#include <mach/mx53.h>
#endif

#ifdef CONFIG_ARCH_MX3
#include <mach/mx3x.h>
#include <mach/mx31.h>
#include <mach/mx35.h>
#endif

#ifdef CONFIG_ARCH_MX2
# include <mach/mx2x.h>
# ifdef CONFIG_MACH_MX21
# include <mach/mx21.h>
# endif
# ifdef CONFIG_MACH_MX27
# include <mach/mx27.h>
# endif
#endif

#ifdef CONFIG_ARCH_MX1
# include <mach/mx1.h>
#endif

#ifdef CONFIG_ARCH_MX25
# include <mach/mx25.h>
#endif
#include <mach/mx2x.h>
#include <mach/mx21.h>
#include <mach/mx27.h>
#include <mach/mx1.h>
#include <mach/mx25.h>

#define imx_map_entry(soc, name, _type) { \
.virtual = soc ## _IO_P2V(soc ## _ ## name ## _BASE_ADDR), \
Expand Down

0 comments on commit db279c1

Please sign in to comment.