1
1
openwrt/target/linux/realtek
Rustam Adilov a03e379f5a realtek: arch: rtl-otto: change to __raw reads and writes
The realtek target uses the readl and writel for register access to
switchcore and SoC bases. This works but if at some point the target
wants to enable CONFIG_SWAP_IO_SPACE, the register access breaks as
readl/writel would be operating in little endian as opposed to native.

Fix it by replacing the readl/writel used in register access macros to
a __raw variant which aligns with what upstream use for native endian
access to registers.

Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/23206
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-06-01 19:17:58 +02:00
..
base-files realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
dts realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
files-6.18 realtek: arch: rtl-otto: change to __raw reads and writes 2026-06-01 19:17:58 +02:00
image realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
patches-6.18 realtek: migrate PCS to fwnode_pcs provider/consumer API 2026-05-31 12:52:41 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl839x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl930x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl930x_nand realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl931x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl931x_nand realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00