realtek: more generic platform initialization
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 19 Aug 2022 19:08:42 +0000 (21:08 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 20 Aug 2022 09:49:30 +0000 (11:49 +0200)
commit396e190f0be7caa15d3d217d30c15df8a77047d1
tree83f6803f69b9674bca73b3c79d8ad4f50deee66a
parent8c04a5c45677aa460d75dcbb9ba40b1b8c343eda
realtek: more generic platform initialization

Platform startup still "guesses" the CPU clock speed by DT fixed values.
If possible take clock rates from a to be developed driver and align to
MIPS generic platfom initialization code. Pack old behaviour into a
fallback function. We might get rid of that some day.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c