]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor
authorDmitry Osipenko <digetx@gmail.com>
Tue, 15 Dec 2020 15:16:44 +0000 (16:16 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Jan 2021 11:34:40 +0000 (11:34 +0000)
commit538eea5362a1179dfa7770dd2b6607dc30cc50c6
tree9d58f3a5f6a7914966b229941b622b6ba3475622
parent39d3454c3513840eb123b3913fda6903e45ce671
ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor

The tegra_uart_config of the DEBUG_LL code is now placed right at the
start of the .text section after commit which enabled debug output in the
decompressor. Tegra devices are not booting anymore if DEBUG_LL is enabled
since tegra_uart_config data is executes as a code. Fix the misplaced
tegra_uart_config storage by embedding it into the code.

Cc: stable@vger.kernel.org
Fixes: 2596a72d3384 ("ARM: 9009/1: uncompress: Enable debug in head.S")
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/debug/tegra.S