summaryrefslogtreecommitdiff
path: root/include/configs/dreamplug.h
diff options
context:
space:
mode:
authorTony Dinh <mibodhi@gmail.com>2021-07-25 23:01:20 -0700
committerStefan Roese <sr@denx.de>2021-07-31 09:59:59 +0200
commit46e08f7ce6c2b83ef761de184c9fdad996b5b4e9 (patch)
treec2b356d8f277976d2cecb44958cfb734f97aebb5 /include/configs/dreamplug.h
parentad2ec5d728b4e5d78228883c4d566f0cf88fc0cd (diff)
arm: kirkwood: Dreamplug: Add DM SATA and remove IDE configs
- 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> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/dreamplug.h')
-rw-r--r--include/configs/dreamplug.h12
1 files 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 */