]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: engicam: Fix the ethernet clock initialization
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 30 Dec 2019 12:04:03 +0000 (17:34 +0530)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:57 +0000 (10:26 +0100)
commit90d466593ff5e19ebf4f5b391680653673df237e
treea56331f20f713b2b78e53a7422f7b149cb00fa7a
parent8811c4d04633272be2ef6b3aeac227f150af624e
board: engicam: Fix the ethernet clock initialization

According to the SOM and reference board the clock
can be taken from the external pin or provided from
ENET_REF_CLK. Add a new function that make the proper
set according the board type.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/engicam/common/board.c