diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-10-01 15:21:20 -0600 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-16 12:22:17 -0700 |
commit | adc18315889b3e67a4a2a9717fbbfab5cd2d7b57 (patch) | |
tree | 29e1af24405e1b2b21ae660e2d5b663a15029158 /arch/arm/mach-tegra/common.c | |
parent | c5a4d6b07ac98405f347c796bc74f4367e516898 (diff) | |
download | linux-stable-adc18315889b3e67a4a2a9717fbbfab5cd2d7b57.tar.gz linux-stable-adc18315889b3e67a4a2a9717fbbfab5cd2d7b57.tar.bz2 linux-stable-adc18315889b3e67a4a2a9717fbbfab5cd2d7b57.zip |
ARM: tegra: simplify DEBUG_LL UART selection options
Delete CONFIG_TEGRA_DEBUG_UART_AUTO_SCRATCH; it's not useful any more:
* No upstream bootloader currently or will ever support this option.
* CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA is a much more direct alternative.
Merge the fixed and automatic UART selection menus into a single choice
for simplicity; now you either pick AUTO_ODMDATA or a single fixed UART,
rather than potentially having an AUTO option override whatever fixed
option was chosen.
Remove TEGRA_DEBUG_UART_NONE; if you don't want a Tegra DEBUG_LL UART,
simply don't turn on DEBUG_LL. NONE used to be the default option, so
pick AUTO_ODMDATA as the new default.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r-- | arch/arm/mach-tegra/common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 3e03e5f15c14..8b41e4c0d53f 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c @@ -44,14 +44,13 @@ * kernel is loaded. The data is declared here rather than debug-macro.S so * that multiple inclusions of debug-macro.S point at the same data. */ -#define TEGRA_DEBUG_UART_OFFSET (TEGRA_DEBUG_UART_BASE & 0xFFFF) u32 tegra_uart_config[3] = { /* Debug UART initialization required */ 1, /* Debug UART physical address */ - (u32)(IO_APB_PHYS + TEGRA_DEBUG_UART_OFFSET), + 0, /* Debug UART virtual address */ - (u32)(IO_APB_VIRT + TEGRA_DEBUG_UART_OFFSET), + 0, }; #ifdef CONFIG_OF |