1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/realtek
Markus Stockhausen cd808d9997 realtek: relocate mips cpc probing
The MIPS CPC (Cluster Power Controller) is setup during boot and can take
its configuration from the devicetree. This is currently not possible
because the cpc probing happens before dt initialization. Call order
during startup is:

setup_arch()
  prom_init() <- our function
    mips_cpc_probe()
    smp_stuff()
  arch_mem_init()
    device_tree_init() <- our function
      unflatten_and_copy_device_tree()

To avoid ugly hacking and support a clean devicetree relocate the cps/smp
stuff to device_tree_init(). This is basically the same location as in
generic mips initialization.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Link: https://github.com/openwrt/openwrt/pull/18888
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-24 21:20:58 +02:00
..
base-files realtek: Split Zyxel GS1900-8 into v1 and v2 2025-01-25 15:07:13 +01:00
dts realtek: fix cpu port link type 2025-05-06 10:56:58 +02:00
files/firmware/rtl838x_phy
files-6.6 realtek: relocate mips cpc probing 2025-05-24 21:20:58 +02:00
image realtek: add support for D-Link DGS-1210-26 2025-04-07 12:22:00 +02:00
patches-6.6 realtek: take over boot command line patch into driver 2025-05-24 21:09:52 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl839x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl930x realtek: add missing symbol 2025-05-03 23:23:10 +03:00
rtl931x realtek: prepare RTL931x for full SMP support 2025-05-24 11:54:43 +02:00
Makefile realtek: trim default package selection 2025-01-04 20:35:48 +01:00