[PATCH 2/3] arm: kirkwood: GoFlex Home: Add DM SATA configs

Tony Dinh mibodhi at gmail.com
Fri Jul 30 05:02:42 CEST 2021


Enable DM SATA in board file.

Signed-off-by: Tony Dinh <mibodhi at gmail.com>
---

 include/configs/goflexhome.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/goflexhome.h b/include/configs/goflexhome.h
index a18e7869b0..2e89d72285 100644
--- a/include/configs/goflexhome.h
+++ b/include/configs/goflexhome.h
@@ -72,4 +72,10 @@
 #define CONFIG_PHY_BASE_ADR	0
 #endif /* CONFIG_CMD_NET */
 
+/* SATA driver configuration */
+#ifdef CONFIG_SATA
+#define CONFIG_SYS_SATA_MAX_DEVICE	1
+#define CONFIG_LBA48
+#endif /* CONFIG_SATA */
+
 #endif /* _CONFIG_GOFLEXHOME_H */
-- 
2.20.1



More information about the U-Boot mailing list