]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: uncompress - print debug messages if DEBUG_LL is defined
authorTushar Behera <tushar.behera@linaro.org>
Tue, 4 Jun 2013 04:19:10 +0000 (09:49 +0530)
committerOlof Johansson <olof@lixom.net>
Sat, 8 Jun 2013 01:09:22 +0000 (18:09 -0700)
commitb06ccab120e22599f4c438ec3386af6554625705
tree714a1bb6d453e63d2ab65ab5ba44c3dbc399c1c1
parent48fc5577107d0683583b52b643aa564a168d60c7
ARM: EXYNOS: uncompress - print debug messages if DEBUG_LL is defined

Printing low-level debug messages make an assumption that the specified
UART port has been preconfigured by the bootloader. Incorrectly
specified UART port results in system getting stalled while printing the
message "Uncompressing Linux... done, booting the kernel"
This UART port number is specified through S3C_LOWLEVEL_UART_PORT. Since
the UART port might different for different board, it is not possible to
specify it correctly for every board that use a common defconfig file.

Calling this print subroutine only when DEBUG_LL fixes the problem. By
disabling DEBUG_LL in default config file, we would be able to boot
multiple boards with different default UART ports.

With this current approach, we miss the print "Uncompressing Linux...
done, booting the kernel." when DEBUG_LL is not defined.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/plat-samsung/include/plat/uncompress.h