summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/irammap.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-10-02 01:33:20 +0400
committerStephen Warren <swarren@nvidia.com>2012-11-16 23:22:17 +0400
commit1a6d3da8bc45502940efb19604d4c94c470ef6be (patch)
treeb0fcdf1c6950019c2eabed1ebd0f8513127418c8 /arch/arm/mach-tegra/irammap.h
parentadc18315889b3e67a4a2a9717fbbfab5cd2d7b57 (diff)
downloadlinux-1a6d3da8bc45502940efb19604d4c94c470ef6be.tar.xz
ARM: tegra: decouple uncompress.h and debug-macro.S
Prior to this change, Tegra's debug-macro.S relied on uncompress.h having determined which UART to use, and whether it was safe to use the UART (i.e. is it not in reset, and is clocked). This determination was communicated from uncompress.h to debug-macro.S using a few bytes of Tegra's IRAM (an on-SoC RAM). This had the disadvantage that uncompress.h was a required part of the kernel boot process; booting a non-compressed kernel would not allow earlyprintk to operate. This change duplicates the UART selection and validation logic into debug-macro.S so that the reliance on uncompress.h is removed. This also helps out with single-zImage work, since there is currently no support for using any uncompress.h with single-zImage. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/irammap.h')
-rw-r--r--arch/arm/mach-tegra/irammap.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/irammap.h b/arch/arm/mach-tegra/irammap.h
index 0cbe63261854..501952a84344 100644
--- a/arch/arm/mach-tegra/irammap.h
+++ b/arch/arm/mach-tegra/irammap.h
@@ -23,13 +23,4 @@
#define TEGRA_IRAM_RESET_HANDLER_OFFSET 0
#define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K
-/*
- * These locations are written to by uncompress.h, and read by debug-macro.S.
- * The first word holds the cookie value if the data is valid. The second
- * word holds the UART physical address.
- */
-#define TEGRA_IRAM_DEBUG_UART_OFFSET SZ_1K
-#define TEGRA_IRAM_DEBUG_UART_SIZE 8
-#define TEGRA_IRAM_DEBUG_UART_COOKIE 0x55415254
-
#endif