[PATCH v2 4/4] NSA310S : Add DM SATA configs

Tony Dinh mibodhi at gmail.com
Sat Jul 3 05:08:14 CEST 2021


Enable DM SATA, removed IDE driver, and add SATA MV driver.

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

Changes in v2:
- Correct copyright

 include/configs/nsa310s.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index e38c65a485..23cf94ec99 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
+ * Copyright (C) 2015, 2021 Tony Dinh <mibodhi at gmail.com>
  * Copyright (C) 2015
  * Gerald Kerma <dreagle at doukki.net>
- * Tony Dinh <mibodhi at gmail.com>
  * Luka Perkov <luka.perkov at sartura.hr>
  */
 
@@ -46,10 +46,10 @@
 #endif /* CONFIG_CMD_NET */
 
 /* SATA driver configuration */
-#ifdef CONFIG_IDE
-#define __io
-#define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
-#endif /* CONFIG_IDE */
+#ifdef CONFIG_SATA
+#define CONFIG_SYS_SATA_MAX_DEVICE	1
+#define CONFIG_LBA48
+#endif /* CONFIG_SATA */
 
 /* RTC driver configuration */
 #ifdef CONFIG_CMD_DATE
-- 
2.20.1



More information about the U-Boot mailing list