• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-cqtcocoa誰得pythonphprubygameguibathyscaphec翻訳計画中(planning stage)omegatframeworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisión09de565f76b8dded1c7a77f62eb459a2b1060891 (tree)
Tiempo2022-07-26 18:29:01
AutorPeng Fan <peng.fan@nxp....>
CommiterStefano Babic

Log Message

net: fec_mxc: support i.MX93

Support i.MX93 in fec_mxc driver

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>

Cambiar Resumen

Diferencia incremental

--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -349,7 +349,7 @@ config FEC_MXC_MDIO_BASE
349349
350350 config FEC_MXC
351351 bool "FEC Ethernet controller"
352- depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || VF610
352+ depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
353353 help
354354 This driver supports the 10/100 Fast Ethernet controller for
355355 NXP i.MX processors.
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -598,7 +598,8 @@ static int fecmxc_init(struct udevice *dev)
598598 writel(0x00000000, &fec->eth->gaddr2);
599599
600600 /* Do not access reserved register */
601- if (!is_mx6ul() && !is_mx6ull() && !is_imx8() && !is_imx8m() && !is_imx8ulp()) {
601+ if (!is_mx6ul() && !is_mx6ull() && !is_imx8() && !is_imx8m() && !is_imx8ulp() &&
602+ !is_imx93()) {
602603 /* clear MIB RAM */
603604 for (i = mib_ptr; i <= mib_ptr + 0xfc; i += 4)
604605 writel(0, i);
@@ -1357,6 +1358,7 @@ static const struct udevice_id fecmxc_ids[] = {
13571358 { .compatible = "fsl,imx53-fec" },
13581359 { .compatible = "fsl,imx7d-fec" },
13591360 { .compatible = "fsl,mvf600-fec" },
1361+ { .compatible = "fsl,imx93-fec" },
13601362 { }
13611363 };
13621364