Skip to content

Commit

Permalink
ARM: OMAP1: Move SoC specific headers from plat to mach for omap1
Browse files Browse the repository at this point in the history
There's no need to have these in plat-omap any longer. Note that these
could eventually be made local to mach-omap1 instead of being in mach.

But to do that, at least various driver access using omap7xxx.h registers
needs to be fixed first.

Cc: spi-devel-general@lists.sourceforge.net
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Sep 13, 2012
1 parent c49f34b commit 68cb700
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/board-htcherald.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include <plat/omap7xx.h>
#include <mach/omap7xx.h>
#include <plat/keypad.h>
#include <plat/mmc.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <plat/mux.h>
#include <plat/dma.h>
#include <plat/mmc.h>
#include <plat/omap7xx.h>

#include <mach/omap7xx.h>
#include <mach/camera.h>
#include <mach/hardware.h>

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-omap1/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ static inline u32 omap_cs3_phys(void)
* ---------------------------------------------------------------------------
*/

#include <plat/omap7xx.h>
#include <plat/omap1510.h>
#include <plat/omap16xx.h>
#include "omap7xx.h"
#include "omap1510.h"
#include "omap16xx.h"

#endif /* __ASM_ARCH_OMAP_HARDWARE_H */
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* arch/arm/plat-omap/include/mach/omap1510.h
*
/*
* Hardware definitions for TI OMAP1510 processor.
*
* Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* arch/arm/plat-omap/include/mach/omap16xx.h
*
/*
* Hardware definitions for TI OMAP1610/5912/1710 processors.
*
* Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* arch/arm/plat-omap/include/mach/omap7xx.h
*
/*
* Hardware definitions for TI OMAP7XX processor.
*
* Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
Expand Down
3 changes: 2 additions & 1 deletion drivers/spi/spi-omap-uwire.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
#include <asm/mach-types.h>

#include <plat/mux.h>
#include <plat/omap7xx.h> /* OMAP7XX_IO_CONF registers */

#include <mach/omap7xx.h> /* OMAP7XX_IO_CONF registers */


/* FIXME address is now a platform device resource,
Expand Down

0 comments on commit 68cb700

Please sign in to comment.