]> git.baikalelectronics.ru Git - 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)
commitdf672defbbaded8c944bf904cdecfbf25f68c9b0
tree9d58f3a5f6a7914966b229941b622b6ba3475622
parentee18b3aee40c4d3015153f35919525e265bf475d
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: fd29464d6e35 ("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