arm/tegra: cleanup tegra20 support
* add a dependency to ARCH_TEGRA_2x_SOC in Kconfig to all tegra20 based boards and TEGRA_PCI * make powergating dependent on ARCH_TEGRA_2x_SOC * remove dependency on ARCH_TEGRA_2x_SOC for clock.c Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Colin Cross <ccross@android.com> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
2d85b5d8e1
commit
b2bbbc4d5b
@ -21,18 +21,21 @@ endchoice
|
|||||||
|
|
||||||
config TEGRA_PCI
|
config TEGRA_PCI
|
||||||
bool "PCI Express support"
|
bool "PCI Express support"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select PCI
|
select PCI
|
||||||
|
|
||||||
comment "Tegra board type"
|
comment "Tegra board type"
|
||||||
|
|
||||||
config MACH_HARMONY
|
config MACH_HARMONY
|
||||||
bool "Harmony board"
|
bool "Harmony board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
||||||
help
|
help
|
||||||
Support for nVidia Harmony development platform
|
Support for nVidia Harmony development platform
|
||||||
|
|
||||||
config MACH_KAEN
|
config MACH_KAEN
|
||||||
bool "Kaen board"
|
bool "Kaen board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select MACH_SEABOARD
|
select MACH_SEABOARD
|
||||||
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
||||||
help
|
help
|
||||||
@ -40,11 +43,13 @@ config MACH_KAEN
|
|||||||
|
|
||||||
config MACH_PAZ00
|
config MACH_PAZ00
|
||||||
bool "Paz00 board"
|
bool "Paz00 board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
help
|
help
|
||||||
Support for the Toshiba AC100/Dynabook AZ netbook
|
Support for the Toshiba AC100/Dynabook AZ netbook
|
||||||
|
|
||||||
config MACH_SEABOARD
|
config MACH_SEABOARD
|
||||||
bool "Seaboard board"
|
bool "Seaboard board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
|
||||||
help
|
help
|
||||||
Support for nVidia Seaboard development platform. It will
|
Support for nVidia Seaboard development platform. It will
|
||||||
@ -59,18 +64,21 @@ config MACH_TEGRA_DT
|
|||||||
|
|
||||||
config MACH_TRIMSLICE
|
config MACH_TRIMSLICE
|
||||||
bool "TrimSlice board"
|
bool "TrimSlice board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select TEGRA_PCI
|
select TEGRA_PCI
|
||||||
help
|
help
|
||||||
Support for CompuLab TrimSlice platform
|
Support for CompuLab TrimSlice platform
|
||||||
|
|
||||||
config MACH_WARIO
|
config MACH_WARIO
|
||||||
bool "Wario board"
|
bool "Wario board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select MACH_SEABOARD
|
select MACH_SEABOARD
|
||||||
help
|
help
|
||||||
Support for the Wario version of Seaboard
|
Support for the Wario version of Seaboard
|
||||||
|
|
||||||
config MACH_VENTANA
|
config MACH_VENTANA
|
||||||
bool "Ventana board"
|
bool "Ventana board"
|
||||||
|
depends on ARCH_TEGRA_2x_SOC
|
||||||
select MACH_TEGRA_DT
|
select MACH_TEGRA_DT
|
||||||
help
|
help
|
||||||
Support for the nVidia Ventana development platform
|
Support for the nVidia Ventana development platform
|
||||||
|
@ -5,9 +5,8 @@ obj-y += irq.o
|
|||||||
obj-y += clock.o
|
obj-y += clock.o
|
||||||
obj-y += timer.o
|
obj-y += timer.o
|
||||||
obj-y += pinmux.o
|
obj-y += pinmux.o
|
||||||
obj-y += powergate.o
|
|
||||||
obj-y += fuse.o
|
obj-y += fuse.o
|
||||||
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clock.o
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += powergate.o
|
||||||
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o
|
||||||
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o
|
||||||
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pinmux-t2-tables.o
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pinmux-t2-tables.o
|
||||||
|
Loading…
Reference in New Issue
Block a user