diff options
| author | Tom Rini <[email protected]> | 2022-05-23 13:52:53 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-05-23 13:52:53 -0400 |
| commit | c04a418d520005d2cbad5d5f9e3d52dfe58f0e00 (patch) | |
| tree | fba72973e7f91d3375c42c5e854dc0c90cf1583f /include/phy_interface.h | |
| parent | 004d30c786056d443d40428c4b1c11e2f8f0bc32 (diff) | |
| parent | faa6ce6061a03617785310ccbc5436a56cce4ab4 (diff) | |
Merge branch '2022-05-23-regression-fixes'
- Fix PowerPC NOR booting, important SPI uclass fixes/updates, gic_v2
fix when CPU is not in EL3, fsl_esdhc_spl fix, and squashfs fix for
linking on some architectures, and fix phy_string_for_interface
Diffstat (limited to 'include/phy_interface.h')
| -rw-r--r-- | include/phy_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phy_interface.h b/include/phy_interface.h index ce3b5004ec2..fed3357b9a2 100644 --- a/include/phy_interface.h +++ b/include/phy_interface.h @@ -85,7 +85,7 @@ static const char * const backplane_mode_strings[] = { static inline const char *phy_string_for_interface(phy_interface_t i) { /* Default to unknown */ - if (i > PHY_INTERFACE_MODE_NA) + if (i >= PHY_INTERFACE_MODE_MAX) i = PHY_INTERFACE_MODE_NA; return phy_interface_strings[i]; |
