sunxi: board: Add H616 MMC2 pins
authorAndre Przywara <andre.przywara@arm.com>
Sun, 25 Apr 2021 23:38:04 +0000 (00:38 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 10 Jul 2021 00:22:09 +0000 (01:22 +0100)
commit212224ed68f12616bcdc5384dd87d6454dc68b57
tree2d6b2ec9536d6e7b2433023089ef65326d97159e
parent2527b24f39d8f27ba2fd922ca27a1f14119cfa1b
sunxi: board: Add H616 MMC2 pins

We hardcode the pinctrl setting for the MMC controllers in boards.c,
since we need them also in the SPL, where there is no DT yet.

Add the respective setting for the H616 SoC, to enable eMMC on boards
with this SoC as well.
Also to make diagnosing this problem easier, print a warning if a board
tries to setup MMC2 pins without a respective SoC setting being defined.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec at siol.net>
board/sunxi/board.c