Skip to content

Commit

Permalink
VAR-SOM-6UL on SymphonyBoard: test only SoM PHY
Browse files Browse the repository at this point in the history
Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
  • Loading branch information
varigigi committed May 21, 2023
1 parent 40cbec4 commit 59effd9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,14 @@ static machine_phyconfig_t * get_machine_phyconfig() {
machine_phyconfig = &machine_config_imx8qx;
else if (strstr(soc, "i.MX7D"))
machine_phyconfig = &machine_config_imx7;
else if (strstr(soc, "i.MX6UL") && !strstr(soc, "i.MX6ULZ"))
else if (strstr(soc, "i.MX6UL") && !strstr(soc, "i.MX6ULZ")) {
/* VAR-SOM-6UL on SymphonyBoard don't support on-board phy */
if (strstr(machine, "Symphony") || strstr(machine, "symphony")) {
machine_config_imx6ul.phy_count = 1;
machine_config_imx6ul.phy_configs[1].phy.if_name = NULL;
}
machine_phyconfig = &machine_config_imx6ul;
else if (strstr(soc, "i.MX6") && !strstr(soc, "i.MX6ULZ"))
} else if (strstr(soc, "i.MX6") && !strstr(soc, "i.MX6ULZ"))
machine_phyconfig = &machine_config_imx6dl;
else if (strstr(soc, "i.MX93") || strstr(soc, "imx93"))
machine_phyconfig = &machine_config_imx93;
Expand Down

0 comments on commit 59effd9

Please sign in to comment.