From: Tony Dinh <mibodhi@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>,
Stefan Roese <sr@denx.de>, Jason Cooper <u-boot@lakedaemon.net>
Cc: Chris Packham <judge.packham@gmail.com>,
Tom Rini <trini@konsulko.com>, Tony Dinh <mibodhi@gmail.com>
Subject: [PATCH 3/3] arm: kirkwood: Dreamplug: Add DM SATA and remove IDE configs
Date: Sun, 25 Jul 2021 23:01:20 -0700 [thread overview]
Message-ID: <20210726060121.7253-4-mibodhi@gmail.com> (raw)
In-Reply-To: <20210726060121.7253-1-mibodhi@gmail.com>
- Enable DM SATA, removed IDE driver, and add SATA MV driver.
- Use ethernet PHY names from device tree in default boot command
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
---
include/configs/dreamplug.h | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 9106203ebc..65962ee733 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -31,8 +31,8 @@
/*
* Default environment variables
*/
-#define CONFIG_BOOTCOMMAND "setenv ethact egiga0; " \
- "${x_bootcmd_ethernet}; setenv ethact egiga1; " \
+#define CONFIG_BOOTCOMMAND "setenv ethact ethernet-controller@72000; " \
+ "${x_bootcmd_ethernet}; setenv ethact ethernet-controller@76000; " \
"${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; "\
"setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \
"bootm 0x6400000;"
@@ -52,4 +52,12 @@
#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_DREAMPLUG_H */
--
2.20.1
next prev parent reply other threads:[~2021-07-26 6:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-26 6:01 [PATCH 0/3] Convert the Dreamplug Ethernet and SATA to Driver Model Tony Dinh
2021-07-26 6:01 ` [PATCH 1/3] arm: kirkwood: Dreamplug: Add DM Ethernet and DM SATA configs Tony Dinh
2021-07-31 7:42 ` Stefan Roese
2021-07-26 6:01 ` [PATCH 2/3] arm: kirkwood: Dreamplug: Use Ethernet PHY name and address from device tree Tony Dinh
2021-07-31 7:41 ` Stefan Roese
2021-07-31 9:55 ` Tony Dinh
2021-07-31 10:27 ` Stefan Roese
2021-07-31 11:50 ` Stefan Roese
2021-07-31 22:37 ` Tony Dinh
2021-08-02 6:39 ` Stefan Roese
2021-08-02 7:54 ` Tony Dinh
2021-07-26 6:01 ` Tony Dinh [this message]
2021-07-31 7:43 ` [PATCH 3/3] arm: kirkwood: Dreamplug: Add DM SATA and remove IDE configs Stefan Roese
2021-07-31 10:00 ` [PATCH 0/3] Convert the Dreamplug Ethernet and SATA to Driver Model Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210726060121.7253-4-mibodhi@gmail.com \
--to=mibodhi@gmail.com \
--cc=judge.packham@gmail.com \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lakedaemon.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox