From patchwork Thu Nov 22 13:41:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasanth Ananthan X-Patchwork-Id: 201048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 2A11B2C0093 for ; Fri, 23 Nov 2012 00:55:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5F29B4A023; Thu, 22 Nov 2012 14:55:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L8OP-FVqLJwt; Thu, 22 Nov 2012 14:55:20 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B43784A025; Thu, 22 Nov 2012 14:55:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3CD504A021 for ; Thu, 22 Nov 2012 14:41:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1prMZqc4t2gB for ; Thu, 22 Nov 2012 14:41:47 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 758D54A01F for ; Thu, 22 Nov 2012 14:41:43 +0100 (CET) Received: by mail-pa0-f44.google.com with SMTP id hz11so3776424pad.3 for ; Thu, 22 Nov 2012 05:41:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ZFmWufRQiqUmmrFIOV0/YZXrHv5j2/RGl/BsIqX1dFg=; b=PgYOzF47n/SekxTa2bvgT28fYwLk/0TVJqhijZfbJC4Ize2yKXVHKY+dDJ8iUk5jxv 3qwXrBfnlG/54gYSm0loMZtC/NvGg6uOgO+23Y6OGeX3ApIFLZ/7fPQ6Vf251uLcWB7G mMYKZED1HhigpCfmXnygXlJLeeG8zZdE3r8bEAXDAxlS98TMbzSaUilEzn/l+KlyatI4 eXW6W7i90AMkbVSD1QJ52A/MLCKEbA0ed+JX+nYzQIlI1DBJS3wsClqFELKQyAhU180F PtkBzNdn16D7mnN+uopFtbtZSGwhtxo6CKXzjy2NLBd3IwwfLMbNcFmfFGsb1tSZzrUt vBWg== Received: by 10.66.85.195 with SMTP id j3mr1713690paz.1.1353591698687; Thu, 22 Nov 2012 05:41:38 -0800 (PST) Received: from vasanth-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id oi2sm2090091pbb.62.2012.11.22.05.41.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 05:41:38 -0800 (PST) From: Vasanth Ananthan To: u-boot@lists.denx.de Date: Thu, 22 Nov 2012 19:11:06 +0530 Message-Id: <1353591666-32490-5-git-send-email-vasanthananthan@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1353591666-32490-1-git-send-email-vasanthananthan@gmail.com> References: <1353591666-32490-1-git-send-email-vasanthananthan@gmail.com> X-Mailman-Approved-At: Thu, 22 Nov 2012 14:54:56 +0100 Cc: Vasanth Ananthan , Vasanth Ananthan Subject: [U-Boot] [PATCH 4/4] SMDK55250: Enable SATA X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch adds required macros for enabling SATA. Signed-off-by: Vasanth Ananthan --- 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 */