]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00229470-1 MX6SL-Add support for debug UART to be sourced from 24MHz.
authorRanjani Vaidyanathan <ra5478@freescale.com>
Sun, 14 Oct 2012 12:40:10 +0000 (07:40 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:13 +0000 (14:13 +0200)
If "debug_uart" is specified in the command line, uart will
be sourced from 24MHz XTAL. This is required for getting the
correct power measurements on MX6SL.
Certain analog power optimizations are done only if ALL PLLs
are bypassed on MX6SL. To verify this path, we need to ensure
that UART is not sourced from PLL3.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/plat-mxc/cpu.c

index 073c237cc3874b8599a6960fd632c7f7010fd59a..eb163abd4f36952438b55f1e357df348c03a1703 100755 (executable)
@@ -61,6 +61,16 @@ static int __init jtag_wfi_setup(char *p)
        return 0;
 }
 early_param("jtag", jtag_wfi_setup);
+
+
+static int __init setup_debug_uart(char *p)
+{
+       uart_at_24 = 1;
+       return 0;
+}
+
+early_param("debug_uart", setup_debug_uart);
+
 /**
  * early_console_setup - setup debugging console
  *