]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7357f898fc05d6539ee88b1b648a3255280a3572
tree6e7dae71d8fab680ee92688a4e8449a0f99545c7
parent0e783df49d1ff064f2682a56caecf3ed9dfbe4ce
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