phy: marvell: add missing speed during info prints
authorIgal Liberman <igall@marvell.com>
Wed, 26 Apr 2017 14:20:47 +0000 (17:20 +0300)
committerStefan Roese <sr@denx.de>
Thu, 29 Apr 2021 05:45:24 +0000 (07:45 +0200)
commit89351ba4c8afae71314228003dcb0fbba809d372
tree6e7dae71d8fab680ee92688a4e8449a0f99545c7
parent2dbba24088b8ef06aabee5df17ff7105ff259aca
phy: marvell: add missing speed during info prints

In get_speed_string() we have an array (speed_strings[])
which includes all possible speed strings.
This array size and content must be aligned to the speed
defines in comphy_data.h.

This patch adds missing 5.125G speed, aligns speed_strings[]
and fixes incorrect printing when speed > 5.0G.

Change-Id: I9900d23595094be321be0c62fcaa88036324568e
Signed-off-by: Igal Liberman <igall@marvell.com>
drivers/phy/marvell/comphy_core.c