Skip to content

Commit

Permalink
Merge tag 'tegra-for-3.13-cleanup' of git://git.kernel.org/pub/scm/li…
Browse files Browse the repository at this point in the history
…nux/kernel/git/tegra/linux into next/cleanup

ARM: tegra: cleanup for 3.13

This branch mainly removes dead code and defines that were useful only
when booting using board files. A few other misc cleanups are also
included.

This branch is based on previous pull request
tegra-for-3.13-deps-for-arm-init-time-cleanup.

* tag 'tegra-for-3.13-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: fix ARCH_TEGRA_114_SOC select sort order
  ARM: tegra: make tegra_init_fuse() __init
  ARM: tegra: remove much of iomap.h
  ARM: tegra: move resume vector define to irammap.h
  ARM: tegra: delete gpio-names.h
  ARM: tegra: delete stale header content
  ARM: tegra: remove common.c

Signed-off-by: Kevin Hilman <khilman@linaro.org>
  • Loading branch information
Kevin Hilman committed Oct 17, 2013
2 parents 751bfe3 + b6bda4e commit b25a51c
Show file tree
Hide file tree
Showing 18 changed files with 99 additions and 569 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ config ARCH_TEGRA_3x_SOC

config ARCH_TEGRA_114_SOC
bool "Enable support for Tegra114 family"
select HAVE_ARM_ARCH_TIMER
select ARM_ERRATA_798181
select ARM_L1_CACHE_SHIFT_6
select HAVE_ARM_ARCH_TIMER
select PINCTRL_TEGRA114
help
Support for NVIDIA Tegra T114 processor family, based on the
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asflags-y += -march=armv7-a

obj-y += common.o
obj-y += io.o
obj-y += irq.o
obj-y += fuse.o
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-tegra/board-paz00.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
#include <linux/platform_device.h>
#include <linux/rfkill-gpio.h>
#include "board.h"
#include "board-paz00.h"

static struct rfkill_gpio_platform_data wifi_rfkill_platform_data = {
.name = "wifi_rfkill",
.reset_gpio = TEGRA_WIFI_RST,
.shutdown_gpio = TEGRA_WIFI_PWRN,
.reset_gpio = 25, /* PD1 */
.shutdown_gpio = 85, /* PK5 */
.type = RFKILL_TYPE_WLAN,
};

Expand Down
25 changes: 0 additions & 25 deletions arch/arm/mach-tegra/board-paz00.h

This file was deleted.

12 changes: 0 additions & 12 deletions arch/arm/mach-tegra/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,8 @@
#include <linux/types.h>
#include <linux/reboot.h>

void tegra_assert_system_reset(enum reboot_mode mode, const char *cmd);

void __init tegra_init_early(void);
void __init tegra_map_common_io(void);
void __init tegra_init_irq(void);
void __init tegra_dt_init_irq(void);

void tegra_init_late(void);

#ifdef CONFIG_DEBUG_FS
int tegra_clk_debugfs_init(void);
#else
static inline int tegra_clk_debugfs_init(void) { return 0; }
#endif

int __init tegra_powergate_init(void);
#if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
Expand Down
113 changes: 0 additions & 113 deletions arch/arm/mach-tegra/common.c

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ u32 tegra_read_chipid(void)
return readl_relaxed(IO_ADDRESS(TEGRA_APB_MISC_BASE) + 0x804);
}

void tegra_init_fuse(void)
void __init tegra_init_fuse(void)
{
u32 id;

Expand Down
Loading

0 comments on commit b25a51c

Please sign in to comment.