ARM: tegra12: Fix link problems in 3.7
Alex Van Brunt [Sat, 12 Jan 2013 00:32:35 +0000 (16:32 -0800)]
Always compile headsmp.c to get tegra_resume.
Always compule reset.c to get tegra_cpu_reset_handler_save.
Turn on THERMAL to get thermal_cooling_device_register.

Change-Id: Ib69d2032b875b49b323eba2527544390f540c079
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/board-bonaire.c

index 8503f1c..045556e 100644 (file)
@@ -165,6 +165,7 @@ config ARCH_TEGRA_12x_SOC
        select TEGRA_DUAL_CBUS
        select ARCH_TEGRA_VIC
        select SOC_BUS
+       select THERMAL
        help
          Support for NVIDIA Tegra 12x family of SoCs, based upon the
          ARM Cortex-A15MP CPU
index fe5d170..6ee7237 100644 (file)
@@ -606,7 +606,6 @@ static void __init tegra_bonaire_reserve(void)
 
 MACHINE_START(BONAIRE, BONAIRE_BOARD_NAME)
        .atag_offset    = 0x80000100,
-       .soc            = &tegra_soc_desc,
        .map_io         = tegra_map_common_io,
        .reserve        = tegra_bonaire_reserve,
        .init_early     = tegra12x_init_early,