]> git.baikalelectronics.ru Git - uboot.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)
commit05d3e3ebbe3d4042b8f54a158fc54fdad2754f1c
treea56331f20f713b2b78e53a7422f7b149cb00fa7a
parent8dc6f2a4c20182b3f833b40de2a4884dbc5d0941
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