diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2018-07-21 19:06:46 +0800 |
---|---|---|
committer | Icenowy Zheng <icenowy@aosc.io> | 2018-09-05 22:43:38 +0800 |
commit | 7e4d562077463f39360df06975545c5b42910794 (patch) | |
tree | a5c587b0d90c7e1650bd338000073f59f48009a0 /plat/marvell | |
parent | f348c3519e138f607b18cc63d1d34a61352fb7c6 (diff) |
drivers: mentor: extract MI2CV driver from Marvell driver
The Marvell A8K SoCs use the MI2CV IP core from Mentor Graphics, which
is also used by Allwinner.
As Mentor Graphics allows a lot of customization, the MI2CV in the two
SoC families are not compatible, and driver modifications are needed.
Extract the common code to a MI2CV driver.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Diffstat (limited to 'plat/marvell')
-rw-r--r-- | plat/marvell/a8k/a80x0/board/dram_port.c | 2 | ||||
-rw-r--r-- | plat/marvell/a8k/a80x0_mcbin/board/dram_port.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plat/marvell/a8k/a80x0/board/dram_port.c b/plat/marvell/a8k/a80x0/board/dram_port.c index c720c117..a99bf7c2 100644 --- a/plat/marvell/a8k/a80x0/board/dram_port.c +++ b/plat/marvell/a8k/a80x0/board/dram_port.c @@ -6,8 +6,8 @@ */ #include <arch_helpers.h> -#include <a8k_i2c.h> #include <debug.h> +#include <mentor/mi2cv.h> #include <mmio.h> #include <mv_ddr_if.h> #include <mvebu_def.h> diff --git a/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c b/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c index b455b837..fa222eec 100644 --- a/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c +++ b/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c @@ -6,8 +6,8 @@ */ #include <arch_helpers.h> -#include <a8k_i2c.h> #include <debug.h> +#include <mentor/mi2cv.h> #include <mmio.h> #include <mv_ddr_if.h> #include <mvebu_def.h> |