commit | 1d3b1f63c2d00d72ec6fac7f5ab77478e5620e7e | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Sep 09 19:59:21 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Fri Sep 23 15:09:15 2022 -0400 |
tree | c157e650dedbf88123ee2bbbf38c06b87ca7116e | |
parent | 1b0c7edfea1fb7e89d42c68bb6105cc8467b3e26 [diff] |
net: mediatek: use a struct to cover variations of all SoCs Using a single soc id to control different initialization and TX/RX flow for all SoCs is not extensible if more hardware variations are added in the future. This patch introduces a struct to replace the original mtk_soc to allow the driver be able handle newer hardwares. Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>