aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/Kconfig
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-10-01 17:21:20 -0400
committerStephen Warren <swarren@nvidia.com>2012-11-16 14:22:17 -0500
commitadc18315889b3e67a4a2a9717fbbfab5cd2d7b57 (patch)
tree29e1af24405e1b2b21ae660e2d5b663a15029158 /arch/arm/mach-tegra/Kconfig
parentc5a4d6b07ac98405f347c796bc74f4367e516898 (diff)
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/Kconfig')
-rw-r--r--arch/arm/mach-tegra/Kconfig40
1 files changed, 9 insertions, 31 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 9ff6f6ea3617..97fcd16e2dab 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -58,11 +58,16 @@ config TEGRA_AHB
58 perfomance parameters(priority, prefech size). 58 perfomance parameters(priority, prefech size).
59 59
60choice 60choice
61 prompt "Default low-level debug console UART" 61 prompt "Low-level debug console UART"
62 default TEGRA_DEBUG_UART_NONE
63 62
64config TEGRA_DEBUG_UART_NONE 63config TEGRA_DEBUG_UART_AUTO_ODMDATA
65 bool "None" 64 bool "Via ODMDATA"
65 help
66 Automatically determines which UART to use for low-level debug based
67 on the ODMDATA value. This value is part of the BCT, and is written
68 to the boot memory device using nvflash, or other flashing tool.
69 When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
70 0/1/2/3/4 are UART A/B/C/D/E.
66 71
67config TEGRA_DEBUG_UARTA 72config TEGRA_DEBUG_UARTA
68 bool "UART-A" 73 bool "UART-A"
@@ -81,33 +86,6 @@ config TEGRA_DEBUG_UARTE
81 86
82endchoice 87endchoice
83 88
84choice
85 prompt "Automatic low-level debug console UART"
86 default TEGRA_DEBUG_UART_AUTO_NONE
87
88config TEGRA_DEBUG_UART_AUTO_NONE
89 bool "None"
90
91config TEGRA_DEBUG_UART_AUTO_ODMDATA
92 bool "Via ODMDATA"
93 help
94 Automatically determines which UART to use for low-level debug based
95 on the ODMDATA value. This value is part of the BCT, and is written
96 to the boot memory device using nvflash, or other flashing tool.
97 When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
98 0/1/2/3/4 are UART A/B/C/D/E.
99
100config TEGRA_DEBUG_UART_AUTO_SCRATCH
101 bool "Via UART scratch register"
102 help
103 Automatically determines which UART to use for low-level debug based
104 on the UART scratch register value. Some bootloaders put ASCII 'D'
105 in this register when they initialize their own console UART output.
106 Using this option allows the kernel to automatically pick the same
107 UART.
108
109endchoice
110
111config TEGRA_EMC_SCALING_ENABLE 89config TEGRA_EMC_SCALING_ENABLE
112 bool "Enable scaling the memory frequency" 90 bool "Enable scaling the memory frequency"
113 91