summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-01-08 00:08:59 +0100
committerPriyanka Jain <priyanka.jain@nxp.com>2021-02-08 14:01:16 +0530
commit805b2423b45a4a9273cedcb73c01d900f7e8c77d (patch)
treec333ab543a1e910c7a5a80145b4ac31f4c5a1758 /arch
parentb463010be067ba4b8ef9b7b80919f592a0f83bfb (diff)
downloadu-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.tar.gz
u-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.tar.xz
u-boot-805b2423b45a4a9273cedcb73c01d900f7e8c77d.zip
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.dts4
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 9561a58562..ea77a83d2f 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";
};