[U-Boot] [PATCH 4/4] SMDK55250: Enable SATA
Vasanth Ananthan
vasanthananthan at gmail.com
Thu Nov 22 14:41:06 CET 2012
This patch adds required macros for enabling SATA.
Signed-off-by: Vasanth Ananthan <vasanth.a at samsung.com>
---
include/configs/smdk5250.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index e412da8..123fcc3 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -97,6 +97,7 @@
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FAT
#define CONFIG_CMD_NET
+#define CONFIG_CMD_SATA
#define CONFIG_BOOTDELAY 3
#define CONFIG_ZERO_BOOTDELAY_CHECK
@@ -259,4 +260,14 @@
/* Enable devicetree support */
#define CONFIG_OF_LIBFDT
+/* Enable SATA */
+#ifdef CONFIG_CMD_SATA
+ #define CONFIG_DWC_AHSATA
+ #define CONFIG_SYS_SATA_MAX_DEVICE 1
+ #define CONFIG_DWC_AHSATA_PORT_ID 0
+ #define CONFIG_DWC_AHSATA_BASE_ADDR EXYNOS5_SATA_BASE
+ #define CONFIG_LBA48
+ #define CONFIG_LIBATA
+#endif
+
#endif /* __CONFIG_H */
--
1.7.9.5
More information about the U-Boot
mailing list