mbox series

[U-Boot,0/4] Updates for Turris Mox

Message ID 20180516143942.2309-1-marek.behun@nic.cz
Headers show
Series Updates for Turris Mox | expand

Message

Marek BehĂșn May 16, 2018, 2:39 p.m. UTC
Here are some updates for Turris Mox board.

The first patch updates Marvell's comphy driver to call function
board_update_comphy_map. The comphy driver contains a weak definition of this
function, which does nothing. Board file can then define this function to
update the serdes map before comphy lanes are initialized.
This is needed because on Turris Mox serdes lane 0 has to be initialized to
different speed when Topaz module is connected and when SFP module is connected.
This is a temporary solution. Once comphy driver for Armada 3720 is in kernel,
the comphy driver in u-boot shall also be rewritten to support changing the
speed even after the comphy lane is initialized.

The second patch changes the turris_mox board file to switch SERDES speed
according to module topology.

The third patch adds support for differentiating whether the board is with eMMC
card or with SD card slot.

The fourth patch adds the gpio command to turris_mox_defconfig.

Signed-off-by: Marek Behun <marek.behun@nic.cz>