mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 08:20:53 +07:00
f604931238
Additional cleanup for debug boards on H2/P2/H3/H4: move the init code that's not board-specific into a new file where it can be easily shared between all the different boards (avoiding code duplication, and making it easier to support more devices). Make H4 use that. This should be easy to drop in to the OMAP1 boards using these debug cards; the only difference seems to be that the p2 does an extra reset of the smc using the fpga (probably all boards could do that, if it's necessary) and doesn't use the gpio mux or request APIs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
29 lines
596 B
Plaintext
29 lines
596 B
Plaintext
comment "OMAP Core Type"
|
|
depends on ARCH_OMAP2
|
|
|
|
config ARCH_OMAP24XX
|
|
bool "OMAP24xx Based System"
|
|
depends on ARCH_OMAP2
|
|
|
|
config ARCH_OMAP2420
|
|
bool "OMAP2420 support"
|
|
depends on ARCH_OMAP24XX
|
|
select OMAP_DM_TIMER
|
|
select ARCH_OMAP_OTG
|
|
|
|
comment "OMAP Board Type"
|
|
depends on ARCH_OMAP2
|
|
|
|
config MACH_OMAP_GENERIC
|
|
bool "Generic OMAP board"
|
|
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
|
|
|
config MACH_OMAP_H4
|
|
bool "OMAP 2420 H4 board"
|
|
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
|
select OMAP_DEBUG_DEVICES
|
|
|
|
config MACH_OMAP_APOLLON
|
|
bool "OMAP 2420 Apollon board"
|
|
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|