[PATCH] arm: mach-imx: enable all uart clocks for DEBUG_LL
From: Shawn Guo <hidden>
Date: 2011-08-30 15:27:26
From: Shawn Guo <hidden>
Date: 2011-08-30 15:27:26
On Tue, Aug 30, 2011 at 10:56:07PM +0800, Shawn Guo wrote:
On Thu, Aug 25, 2011 at 12:57:36PM +0200, Wolfram Sang wrote:quoted
If you want to move the DEBUG_LL uart, simply changing the base address in debug-macro.S will not be enough. One needs to enable the correct clock during clock init, too, otherwise the kernel remains silent. This is too easy to forget, so enable all uart clocks for DEBUG_LL to save precious developer time.I guess the patch is not welcomed from the power management POV. Shouldn't bootloader have enabled the clock for debug uart anyway?
Hmm, bootloader should be the only one who can enable the clock for DEBUG_LL uart, as DEBUG_LL could be used at the very early point of kernel booting. -- Regards, Shawn