diff options
author | Shiji Yang <yangshiji66@outlook.com> | 2023-06-20 19:44:32 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-06-21 14:54:50 +0200 |
commit | fd99ac5055d4705e91c73d1adba18bc71c8511a8 (patch) | |
tree | e6a739d2439de459568511ddb359d89b2dc217ef /arch/mips/ath25/devices.h | |
parent | 89ec9bbe60b61cc6ae3eddd6d4f43e128f8a88de (diff) |
mips: ralink: introduce commonly used remap node function
The ralink_of_remap() function is repeated several times on SoC specific
source files. They have the same structure, but just differ in compatible
strings. In order to make commonly use of these codes, this patch
introduces a newly designed mtmips_of_remap_node() function to match and
remap all supported system controller and memory controller nodes.
Build and run tested on MT7620 and MT7628.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/ath25/devices.h')
0 files changed, 0 insertions, 0 deletions