diff options
author | Michael Walle <michael@walle.cc> | 2021-01-08 00:08:59 +0100 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-02-08 14:01:16 +0530 |
commit | 805b2423b45a4a9273cedcb73c01d900f7e8c77d (patch) | |
tree | c333ab543a1e910c7a5a80145b4ac31f4c5a1758 /arch | |
parent | b463010be067ba4b8ef9b7b80919f592a0f83bfb (diff) | |
download | u-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.zip u-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.tar.gz u-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/fsl-ls1028a-kontron-sl28.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-ls1028a-kontron-sl28.dts b/arch/arm/dts/fsl-ls1028a-kontron-sl28.dts index 9561a58..ea77a83 100644 --- a/arch/arm/dts/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm/dts/fsl-ls1028a-kontron-sl28.dts @@ -172,6 +172,10 @@ }; }; +&sata { + status = "okay"; +}; + &serial0 { status = "okay"; }; |