Skip to content

Commit

Permalink
[PATCH] ARM: 2802/1: OMAP update 8/11: Update OMAP arch files
Browse files Browse the repository at this point in the history
Patch from Tony Lindgren

This patch by various OMAP developers syncs the OMAP
specific arch files with the linux-omap tree.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Tony Lindgren authored and Russell King committed Jul 10, 2005
1 parent 5e1c5ff commit d48af15
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 29 deletions.
4 changes: 3 additions & 1 deletion arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ source "arch/arm/mach-pxa/Kconfig"

source "arch/arm/mach-sa1100/Kconfig"

source "arch/arm/mach-omap/Kconfig"
source "arch/arm/plat-omap/Kconfig"

source "arch/arm/mach-omap1/Kconfig"

source "arch/arm/mach-s3c2410/Kconfig"

Expand Down
6 changes: 5 additions & 1 deletion arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
machine-$(CONFIG_ARCH_IOP3XX) := iop3xx
machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx
machine-$(CONFIG_ARCH_IXP2000) := ixp2000
machine-$(CONFIG_ARCH_OMAP) := omap
machine-$(CONFIG_ARCH_OMAP1) := omap1
incdir-$(CONFIG_ARCH_OMAP) := omap
machine-$(CONFIG_ARCH_S3C2410) := s3c2410
machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x
machine-$(CONFIG_ARCH_VERSATILE) := versatile
Expand Down Expand Up @@ -142,6 +143,9 @@ core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/
core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ)
core-$(CONFIG_VFP) += arch/arm/vfp/

# If we have a common platform directory, then include it in the build.
core-$(CONFIG_ARCH_OMAP) += arch/arm/plat-omap/

drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/
drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/
drivers-$(CONFIG_ARCH_L7200) += drivers/acorn/char/
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
#include <asm/arch/mux.h>
#include <asm/arch/usb.h>
#include <asm/arch/board.h>

#include "common.h"
#include <asm/arch/common.h>

static int __initdata generic_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1};

Expand Down Expand Up @@ -84,7 +83,7 @@ static void __init omap_generic_init(void)

static void __init omap_generic_map_io(void)
{
omap_map_io();
omap_map_common_io()
}

MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710")
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-h2.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
#include <asm/arch/gpio.h>
#include <asm/arch/tc.h>
#include <asm/arch/usb.h>

#include "common.h"
#include <asm/arch/common.h>

extern int omap_gpio_init(void);

Expand Down Expand Up @@ -172,7 +171,7 @@ static void __init h2_init(void)

static void __init h2_map_io(void)
{
omap_map_io();
omap_map_common_io();
omap_serial_init(h2_serial_ports);
}

Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-h3.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
#include <asm/arch/mux.h>
#include <asm/arch/tc.h>
#include <asm/arch/usb.h>

#include "common.h"
#include <asm/arch/common.h>

extern int omap_gpio_init(void);

Expand Down Expand Up @@ -190,7 +189,7 @@ void h3_init_irq(void)

static void __init h3_map_io(void)
{
omap_map_io();
omap_map_common_io();
omap_serial_init(h3_serial_ports);
}

Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-innovator.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
#include <asm/arch/gpio.h>
#include <asm/arch/tc.h>
#include <asm/arch/usb.h>

#include "common.h"
#include <asm/arch/common.h>

static int __initdata innovator_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1};

Expand Down Expand Up @@ -252,7 +251,7 @@ static void __init innovator_init(void)

static void __init innovator_map_io(void)
{
omap_map_io();
omap_map_common_io();

#ifdef CONFIG_ARCH_OMAP1510
if (cpu_is_omap1510()) {
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-netstar.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/arch/usb.h>

#include "common.h"
#include <asm/arch/common.h>

extern void __init omap_init_time(void);
extern int omap_gpio_init(void);
Expand Down Expand Up @@ -100,7 +99,7 @@ static int __initdata omap_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1};

static void __init netstar_map_io(void)
{
omap_map_io();
omap_map_common_io();
omap_serial_init(omap_serial_ports);
}

Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-osk.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
#include <asm/arch/usb.h>
#include <asm/arch/mux.h>
#include <asm/arch/tc.h>

#include "common.h"
#include <asm/arch/common.h>

static struct map_desc osk5912_io_desc[] __initdata = {
{ OMAP_OSK_NOR_FLASH_BASE, OMAP_OSK_NOR_FLASH_START, OMAP_OSK_NOR_FLASH_SIZE,
Expand Down Expand Up @@ -153,7 +152,7 @@ static void __init osk_init(void)

static void __init osk_map_io(void)
{
omap_map_io();
omap_map_common_io();
iotable_init(osk5912_io_desc, ARRAY_SIZE(osk5912_io_desc));
omap_serial_init(osk_serial_ports);
}
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-perseus2.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/arch/fpga.h>

#include "common.h"
#include <asm/arch/common.h>

static struct resource smc91x_resources[] = {
[0] = {
Expand Down Expand Up @@ -140,7 +139,7 @@ static struct map_desc omap_perseus2_io_desc[] __initdata = {

static void __init omap_perseus2_map_io(void)
{
omap_map_io();
omap_map_common_io();
iotable_init(omap_perseus2_io_desc,
ARRAY_SIZE(omap_perseus2_io_desc));

Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-omap1/board-voiceblue.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
#include <asm/arch/tc.h>
#include <asm/arch/mux.h>
#include <asm/arch/usb.h>

#include "common.h"
#include <asm/arch/common.h>

extern void omap_init_time(void);
extern int omap_gpio_init(void);
Expand Down Expand Up @@ -170,7 +169,7 @@ static int __initdata omap_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1};

static void __init voiceblue_map_io(void)
{
omap_map_io();
omap_map_common_io();
omap_serial_init(omap_serial_ports);
}

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-omap1/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#include <asm/io.h>
#include <asm/arch/tc.h>

#include "../clock.h"

extern void omap_check_revision(void);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/arch/arm/plat-omap/common.h
* linux/include/asm-arm/arch-omap/common.h
*
* Header for code common to all OMAP machines.
*
Expand Down

0 comments on commit d48af15

Please sign in to comment.