Skip to content

Commit

Permalink
ARM: omap1: enable multiplatform
Browse files Browse the repository at this point in the history
With all the header files out of the way, and the clock driver
converted to the common framework, nothing stops us from building
OMAP together with the other platforms.

As usual, the decompressor support is a victim here, and is
only available when CONFIG_DEBUG_LL is configured for the
particular board.

Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
arndb committed Jun 3, 2022
1 parent c73b909 commit 7036440
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 133 deletions.
13 changes: 0 additions & 13 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -396,19 +396,6 @@ config ARCH_SA1100
help
Support for StrongARM 11x0 based boards.

config ARCH_OMAP1
bool "TI OMAP1"
depends on CPU_LITTLE_ENDIAN
select CLKSRC_MMIO
select FORCE_PCI if PCCARD
select GENERIC_IRQ_CHIP
select GPIOLIB
select HAVE_LEGACY_CLK
select IRQ_DOMAIN
select SPARSE_IRQ
help
Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)

endchoice

menu "Multiple platform selection"
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/configs/omap1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_BLK_DEV_BSG is not set
CONFIG_ARCH_MULTI_V4T=y
CONFIG_ARCH_MULTI_V5=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_OMAP=y
CONFIG_ARCH_OMAP1=y
CONFIG_OMAP_RESET_CLOCKS=y
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/mach-omap1/Kconfig
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
# SPDX-License-Identifier: GPL-2.0-only
menuconfig ARCH_OMAP1
bool "TI OMAP1"
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
depends on CPU_LITTLE_ENDIAN
select ARCH_HAS_HOLES_MEMORYMODEL
select ARCH_OMAP
select CLKSRC_MMIO
select FORCE_PCI if PCCARD
select GPIOLIB
help
Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)

if ARCH_OMAP1

menu "TI OMAP1 specific features"

comment "OMAP Core Type"

config ARCH_OMAP730
depends on ARCH_MULTI_V5
bool "OMAP730 Based System"
select ARCH_OMAP_OTG
select CPU_ARM926T
select OMAP_MPU_TIMER

config ARCH_OMAP850
depends on ARCH_MULTI_V5
bool "OMAP850 Based System"
select ARCH_OMAP_OTG
select CPU_ARM926T

config ARCH_OMAP15XX
depends on ARCH_MULTI_V4T
default y
bool "OMAP15xx Based System"
select CPU_ARM925T
select OMAP_MPU_TIMER

config ARCH_OMAP16XX
depends on ARCH_MULTI_V5
bool "OMAP16xx Based System"
select ARCH_OMAP_OTG
select CPU_ARM926T
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static inline u32 omap_cs3_phys(void)
#define OMAP1_IO_OFFSET 0x00f00000 /* Virtual IO = 0xff0b0000 */
#define OMAP1_IO_ADDRESS(pa) IOMEM((pa) - OMAP1_IO_OFFSET)

#include <mach/serial.h>
#include "serial.h"

/*
* ---------------------------------------------------------------------------
Expand Down
117 changes: 0 additions & 117 deletions arch/arm/mach-omap1/include/mach/uncompress.h

This file was deleted.

3 changes: 1 addition & 2 deletions arch/arm/mach-omap1/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

#include <asm/mach-types.h>

#include <mach/serial.h>

#include "serial.h"
#include "mux.h"
#include "pm.h"
#include "soc.h"
Expand Down
File renamed without changes.

0 comments on commit 7036440

Please sign in to comment.