Skip to content
Commit ea32ad2c authored by Marcin Wojtas's avatar Marcin Wojtas Committed by Leif Lindholm
Browse files

Marvell/Library: UtmiPhyLib: Switch to use MARVELL_BOARD_DESC protocol



UTMI driver used to get Armada7k8k UTMI controller description from
hardcoded values stored in the header file MvHwDescLib.h.
As a result it is very hard to support other Armada SoC families
with this driver.

This patch updates the driver to get UTMI controller description from
newly introduced MARVELL_BOARD_DESC protocol, and removes the dependency
on the hardcoded structures. Use the protocol and pass information to
further to the library init routine.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
Reviewed-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
parent 71089d08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment