ramips: lzma-loader: use default uart for rt305x
authorMichael Pratt <mcpratt@pm.me>
Wed, 6 Dec 2023 19:29:26 +0000 (14:29 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 5 Jan 2024 22:32:59 +0000 (23:32 +0100)
commit9cd589bd79aa94050261abd02f652eabed9396e0
tree7cf92cefa407fed2e07e624a9ce4a530d099cb40
parent2216b10ebbf45849f69b46650d8bf4b59d729963
ramips: lzma-loader: use default uart for rt305x

The rt305x series SOC have two UART devices,
and the one at bus address 0x500 is disabled by default.
Some boards do not even have a pinout for the first one,
so use the same one that the kernel uses at 0xc00 instead.

This allows the lzma-loader printing to be visible
alongside the kernel log in the same console.

Tested-by: Lech Perczak <lech.perczak@gmail.com> # zte,mf283plus
Signed-off-by: Michael Pratt <mcpratt@pm.me>
(cherry picked from commit bc00c78b4338779ca1b7cd08411f76218d1f3205)
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ramips/image/lzma-loader/src/board.c