public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vasanth Ananthan <vasanthananthan@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] SMDK55250: Enable SATA
Date: Fri, 23 Nov 2012 17:38:58 +0530	[thread overview]
Message-ID: <1353672538-15610-5-git-send-email-vasanthananthan@gmail.com> (raw)
In-Reply-To: <1353672538-15610-1-git-send-email-vasanthananthan@gmail.com>

This patch adds required macros for enabling SATA.

Signed-off-by: Vasanth Ananthan <vasanth.a@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

      parent reply	other threads:[~2012-11-23 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 12:08 [U-Boot] [PATCH v2 0/4] Support for SATA on EXYNOS5 Vasanth Ananthan
2012-11-23 12:08 ` [U-Boot] [PATCH v2 1/4] Exynos5: Add clock support for SATA Vasanth Ananthan
2012-11-23 12:08 ` [U-Boot] [PATCH v2 2/4] Exynos5: Add base addresses " Vasanth Ananthan
2012-11-23 12:08 ` [U-Boot] [PATCH v2 3/4] Drivers: block: Support for SATA in Exynos5 Vasanth Ananthan
2012-11-23 15:41   ` Luka Perkov
2012-11-23 12:08 ` Vasanth Ananthan [this message]

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=1353672538-15610-5-git-send-email-vasanthananthan@gmail.com \
    --to=vasanthananthan@gmail.com \
    --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