]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit79ae699e712c4b79834734f2747b43bcf384f713
tree2d6b2ec9536d6e7b2433023089ef65326d97159e
parenta104540bf411ccf43acc494b19e72270c6f5b324
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