[PATCH 4/4] NSA310S : Add DM SATA configs
Tony Dinh
mibodhi at gmail.com
Thu Jul 1 06:26:25 CEST 2021
Enable DM SATA, removed IDE driver, and add SATA MV driver.
Signed-off-by: Tony Dinh <mibodhi at gmail.com>
---
include/configs/nsa310s.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index e38c65a485..94f293de90 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/*
+ * Copyright (C) 2021 Tony Dinh <mibodhi at gmail.com>
* Copyright (C) 2015
* Gerald Kerma <dreagle at doukki.net>
* Tony Dinh <mibodhi at gmail.com>
@@ -46,10 +47,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