openwrt/target/linux/realtek
Jonas Jelonek 143407c6d3 realtek: pcs: rtl930x: adjust patch application facilities
Change how patches are applied to reduce redundancy and make the code
more readable. Define a generic function that applies any patch. Within
the RTL930x patch application, define a local macro that helps to get
rid of repeated even/odd checks. While making the code cleaner, it is
also a preparation for further refactoring here.

This adds a local helper macro intended to be only temporary but keeps
the style of the code clean by avoiding a lot of if-else clauses.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22582
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-26 10:53:45 +01:00
..
base-files realtek: fix D-Link fan control script 2026-03-23 11:27:26 +01:00
dts realtek: dts: new SWITCH_PORT_LED() macro 2026-03-26 10:53:05 +01:00
files-6.12 realtek: pcs: rtl930x: adjust patch application facilities 2026-03-26 10:53:45 +01:00
image realtek: dts: add monitor IC node for XikeStor SKS8310-8X 2026-03-01 14:46:12 +01:00
patches-6.12 realtek: hwmon: add LM75 alert pin polarity swap patch 2026-03-25 21:10:45 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl839x realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl930x realtek: rtl930x: adapt kernel configuration 2026-03-25 10:28:10 +01:00
rtl930x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl931x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl931x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00