]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: sl28: add SATA support
authorMichael Walle <michael@walle.cc>
Thu, 7 Jan 2021 23:08:59 +0000 (00:08 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:16 +0000 (14:01 +0530)
commit805b2423b45a4a9273cedcb73c01d900f7e8c77d
treec333ab543a1e910c7a5a80145b4ac31f4c5a1758
parentb463010be067ba4b8ef9b7b80919f592a0f83bfb
board: sl28: add SATA support

Enable SATA support. Although not supported by the usual SATA pins on
the SMARC baseboard connector, SATA mode is supported on a PCIe lane.
This way one can use a mSATA card in a Mini PCI slot.

We need to invert the received data because in this mode the polarity of
the SerDes lane is swapped. Provide a fixup in board_early_init_f() for
the SPL. board_early_init_f() is then not common between SPL and u-boot
proper anymore, thus common.c is removed, as it just contained said
function.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a-kontron-sl28.dts
board/kontron/sl28/Makefile
board/kontron/sl28/common.c [deleted file]
board/kontron/sl28/sl28.c
board/kontron/sl28/spl.c
configs/kontron_sl28_defconfig
include/configs/kontron_sl28.h