summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Cha <joshuac@nvidia.com>2012-01-13 17:53:30 +0900
committerVarun Colbert <vcolbert@nvidia.com>2012-01-30 12:31:36 -0800
commitbac4549bd4c8a8481db8d1c89e08702c8d7e0794 (patch)
tree168c3f892852bbe457816d228b0334e5ebd12aca
parenta8d72677486e22a4405d51ba28f3f87210d64eeb (diff)
arm: tegra: whistler/ventana: add ram console
Reviewed-on: http://git-master/r/75209 Change-Id: I4c90973c808bb9f21a01d6d30fd1bfe915728439 Signed-off-by: Joshua Cha <joshuac@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77747 Reviewed-by: Automatic_Commit_Validation_User
-rw-r--r--arch/arm/mach-tegra/board-ventana.c3
-rw-r--r--arch/arm/mach-tegra/board-whistler.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 097644021ebc..21278d1f4417 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -595,7 +595,7 @@ static void __init tegra_ventana_init(void)
tegra_ehci2_device.dev.platform_data
= &ventana_ehci2_ulpi_platform_data;
platform_add_devices(ventana_devices, ARRAY_SIZE(ventana_devices));
-
+ tegra_ram_console_debug_init();
ventana_sdhci_init();
ventana_charge_init();
ventana_regulator_init();
@@ -644,6 +644,7 @@ void __init tegra_ventana_reserve(void)
pr_warn("Cannot reserve first 4K of memory for safety\n");
tegra_reserve(SZ_256M, SZ_8M + SZ_1M, SZ_16M);
+ tegra_ram_console_debug_reserve(SZ_1M);
}
MACHINE_START(VENTANA, "ventana")
diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c
index 031ab936d870..0a5ad7161d2d 100644
--- a/arch/arm/mach-tegra/board-whistler.c
+++ b/arch/arm/mach-tegra/board-whistler.c
@@ -573,7 +573,7 @@ static void __init tegra_whistler_init(void)
whistler_i2c_init();
whistler_uart_init();
platform_add_devices(whistler_devices, ARRAY_SIZE(whistler_devices));
-
+ tegra_ram_console_debug_init();
whistler_sdhci_init();
whistler_regulator_init();
whistler_panel_init();
@@ -603,6 +603,7 @@ void __init tegra_whistler_reserve(void)
pr_warn("Cannot reserve first 4K of memory for safety\n");
tegra_reserve(SZ_160M, SZ_8M, SZ_16M);
+ tegra_ram_console_debug_reserve(SZ_1M);
}
MACHINE_START(WHISTLER, "whistler")