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

Marvell/Drivers: MvI2cDxe: Switch driver to use MARVELL_BOARD_DESC



MvI2cDxe driver used to get Armada7k8k 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, so that it can obtain the
description from newly introduced MARVELL_BOARD_DESC protocol,
and removes the dependency on the hardcoded structures.

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 35c69c0f
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