Skip to content

Commit

Permalink
u-boot: Support marvell switch 352 HYP-31325
Browse files Browse the repository at this point in the history
The 352 switch version is also recognized as a valid switch.

Signed-off-by: Mario Schuknecht <[email protected]>
  • Loading branch information
Mario Schuknecht committed Feb 5, 2024
1 parent 529a350 commit c8d31e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-bsp/u-boot/u-boot-2022.01/himx0294/himx0294.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ int board_phy_config(struct phy_device *phydev)
const char* devname = miiphy_get_current_dev();

miiphy_read(devname, 0x10, 0x3, &val);
if (((val & 0xFFF0) == 0x1760) || ((val & 0xFFF0) == 0x1720)) {
printf("Marvell Switch 0x176/0x172 detected\n");
if (((val & 0xFFF0) == 0x1760) || ((val & 0xFFF0) == 0x1720) || ((val & 0xfff0) == 0x3520)) {
printf("Marvell Switch 0x176/0x172/0x352 detected\n");

phy_speed();

Expand Down

0 comments on commit c8d31e0

Please sign in to comment.