Permalink
Browse files

Disable LP0 support for the smb_a1002 until the sleep-of-death gets r…

…esolved.
  • Loading branch information...
1 parent 2f674e2 commit 7e493d8ede76d6403900b48aa205f0a6b22f7a87 @dpw13 committed Nov 23, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 arch/arm/mach-tegra/board-smba1002.c
@@ -318,10 +318,12 @@ NvBootArgs.MemHandleArgs[NvBootArgs.FramebufferArgs.MemHandleKey - ATAG_NVIDIA_P
tegra_bootloader_fb_start = NvBootArgs.MemHandleArgs[NvBootArgs.FramebufferArgs.MemHandleKey - ATAG_NVIDIA_PRESERVED_MEM_0].Address;
tegra_bootloader_fb_size = NvBootArgs.MemHandleArgs[NvBootArgs.FramebufferArgs.MemHandleKey - ATAG_NVIDIA_PRESERVED_MEM_0].Size;
-pr_info("Nvidia TAG: framebuffer: %u @ 0x%08lx\n",tegra_bootloader_fb_size,tegra_bootloader_fb_start);
+pr_info("Nvidia TAG: framebuffer: %lu @ 0x%08lx\n",tegra_bootloader_fb_size,tegra_bootloader_fb_start);
tegra_bootloader_fb_start = tegra_bootloader_fb_size = 0;
}
+// LP0 is broken right now. TODO: fix this to reduce power usage during standby...
+#if 0
/* If the LP0 vector is found, use it */
if (tegra_lp0_vec_start == 0 && tegra_lp0_vec_size == 0 &&
NvBootArgs.WarmbootArgs.MemHandleKey >= ATAG_NVIDIA_PRESERVED_MEM_0 &&
@@ -336,6 +338,7 @@ pr_info("Nvidia TAG: LP0: %u @ 0x%08lx\n",tegra_lp0_vec_size,tegra_lp0_vec_start
// tegra_lp0_vec_start = tegra_lp0_vec_size = 0;
}
+#endif
return 0;
}

0 comments on commit 7e493d8

Please sign in to comment.