]> git.sur5r.net Git - u-boot/commit
arm64: mvebu: armada-8k: Only configure xHCI power on DB-88F7040 board
authorStefan Roese <sr@denx.de>
Tue, 25 Oct 2016 10:41:45 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Mon, 5 Dec 2016 12:28:23 +0000 (13:28 +0100)
commitacd3b0760b1fb045cc67f394c33029efba391458
treeb39f19a4a4b5bb6ea415c7d7cf9ceb21066cf810
parentbf2150b9aea145a4b33abc4b5efc7ac515a04498
arm64: mvebu: armada-8k: Only configure xHCI power on DB-88F7040 board

This patch uses of_machine_is_compatible() to detect the board at runtime
and only configured the I2C IO expander for the xHCI power / reset on
the DB-88F7040 board. As this code will be used by other Armada-7k/8k
ports, its necessary to use this runtime detection here.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
board/Marvell/mvebu_armada-8k/board.c