]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: kirkwood: Dreamplug: Add DM SATA and remove IDE configs
authorTony Dinh <mibodhi@gmail.com>
Mon, 26 Jul 2021 06:01:20 +0000 (23:01 -0700)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:59:59 +0000 (09:59 +0200)
- 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>
include/configs/dreamplug.h

index 9106203ebc4614c2f6fa3b996af9330f12cb4dac..65962ee73305604be5316c50c9e0a1dc2eb2f72b 100644 (file)
@@ -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;"
 #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 */