openwrt-6.x/target/linux
Michael Pratt 2e47913c64 ramips: lzma-loader: use proper register names
Before this was reworked, in the file for mt7621 subtarget
(target/linux/ramips/image/lzma-loader/src/board-mt7621.c)
the "Transmitter shift register empty" bit TEMT was used instead of
the "Transmitter holding register empty" bit THRE,
but after the rework, this value was labeled as the THRE bit instead.

Functionally there is no difference, but this is confusing to read,
as it suggests that the subtargets have different bits for the same
register in UART when in reality they are exactly the same.

One can use either bit, or both, at user's descretion
in order to determine whether the UART TX buffer is ready.
The generic kernel early-printk uses both,
(arch/mips/kernel/early_printk_8250.c)
while the ralink-specific early-printk uses only THRE,
(arch/mips/ralink/early_printk.c).

Define both bits and rewrite macros for readability,
keep the same values, as changing which to use should be tested first.

Ref: c31319b66 ("ramips: lzma-loader: Refactor loader")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2024-01-02 22:10:34 +01:00
..
airoha
apm821xx
archs38
armsr kernel: bump 6.1 to 6.1.69 2023-12-21 11:26:35 +01:00
at91
ath25
ath79 ath79: generic: disable SPI-NOR write protect unconditionally 2023-12-24 12:42:12 +01:00
bcm27xx kernel: bump 6.1 to 6.1.70 2024-01-02 18:28:58 +01:00
bcm47xx
bcm53xx kernel: backport upstream brcm_nvram fix for NAND controller 2023-12-18 08:33:04 +01:00
bcm63xx
bcm4908
bmips
gemini
generic kernel: bump 6.1 to 6.1.70 2024-01-02 18:28:58 +01:00
imx imx: enable CONFIG_CPU_FREQ_THERMAL 2023-12-12 19:35:03 +01:00
ipq40xx
ipq806x kernel: bump 6.1 to 6.1.70 2024-01-02 18:28:58 +01:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: backport fix Ctera C200 V1 ubi part name to 6.1 2023-12-15 17:59:35 +01:00
lantiq kernel: bump 5.15 to 5.15.143 2023-12-19 14:18:55 +01:00
layerscape kernel: bump 5.15 to 5.15.142 2023-12-11 17:39:57 +01:00
malta
mediatek mediatek: Add support for D-Link EAGLE PRO AI R32 2024-01-02 21:22:46 +01:00
mpc85xx mpc85xx: fix reserved-memory node name 2023-12-28 23:37:51 +01:00
mvebu mvebu: fix RTC of IEI-World Puzzle M90x devices 2023-12-18 22:17:09 +00:00
mxs
octeon kernel: bump 6.1 to 6.1.68 2023-12-19 14:12:25 +01:00
octeontx
omap
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio
qoriq
qualcommax qualcommax: Fix Buffalo WXR-5950AX12 Ethernet DTS 2023-12-25 19:14:26 +01:00
ramips ramips: lzma-loader: use proper register names 2024-01-02 22:10:34 +01:00
realtek realtek: Use hex for "soc" identifier in debugfs 2023-12-31 14:13:43 +01:00
rockchip rockchip: make SMP affinity of RTL8152 on XHCI more robust 2023-12-15 18:02:43 +01:00
sifiveu
sunxi sunxi: mark upstreamed patches as such 2023-12-19 16:02:05 +01:00
tegra
uml
x86 Revert "x86: add support for Mellanox Spectrum SN2000 Switches" 2023-12-23 07:52:05 +00:00
zynq
Makefile