From: Ranjani Vaidyanathan Date: Sun, 14 Oct 2012 12:40:10 +0000 (-0500) Subject: ENGR00229470-1 MX6SL-Add support for debug UART to be sourced from 24MHz. X-Git-Tag: v3.0.35-fsl~364 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=06c99c5b890fa00c473aee899b4c89072ba60402;p=karo-tx-linux.git ENGR00229470-1 MX6SL-Add support for debug UART to be sourced from 24MHz. 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 --- diff --git a/arch/arm/plat-mxc/cpu.c b/arch/arm/plat-mxc/cpu.c index 073c237cc387..eb163abd4f36 100755 --- a/arch/arm/plat-mxc/cpu.c +++ b/arch/arm/plat-mxc/cpu.c @@ -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 *