From patchwork Fri Jun 29 12:59:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 9713 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7FC1F23E40 for ; Fri, 29 Jun 2012 12:56:27 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 4577FA186FD for ; Fri, 29 Jun 2012 12:56:27 +0000 (UTC) Received: by ghbz12 with SMTP id z12so2937331ghb.11 for ; Fri, 29 Jun 2012 05:56:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-tm-as-mml:x-gm-message-state; bh=H5auoHQlp9MrA4DOA5YUvxjL3d10m8t8FESyYMb5a5M=; b=hA9NE9uGO7lq+NMpJxHLDeJl0D/NmUk6jv2tdN59uqTdmmaOChps1qGTrQfArPjRlg T20EZPj8vCK9R1/XNwSwdF4BWr9Cv+IHRP3Ri9FW/7UUBqRxyIpYFHXaVNyeIQbdUDR3 4ZMGRllXNE6QznB7HOKdTd8Ly9CLu5p6D+v+exEWAdP2SzPlw2LwOH/9BmPJyx5Y5RzH U/bL6sAM0vMu4Ws/to6LgMPKI1dd7izCp6HFHTallk8IASZd0Y2WfDNE40RzACYO0KNb FhSSUBFH/hbfkD30R6SxOqaTOaA2ZPR5O3tZNCQW1ea/NgIEADNuxUFmRqYqj+8ewIUa wcjQ== Received: by 10.50.40.193 with SMTP id z1mr1016561igk.0.1340974586408; Fri, 29 Jun 2012 05:56:26 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp90914ibb; Fri, 29 Jun 2012 05:56:25 -0700 (PDT) Received: by 10.68.232.201 with SMTP id tq9mr6410703pbc.70.1340974585673; Fri, 29 Jun 2012 05:56:25 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id pv10si8301788pbb.64.2012.06.29.05.56.25; Fri, 29 Jun 2012 05:56:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M6D00106QKL8FD0@mailout2.samsung.com>; Fri, 29 Jun 2012 21:56:24 +0900 (KST) X-AuditID: cbfee61b-b7f776d000002f3f-5c-4feda5f872d7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B7.2E.12095.8F5ADEF4; Fri, 29 Jun 2012 21:56:24 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M6D00JE7QK7T260@mmp2.samsung.com>; Fri, 29 Jun 2012 21:56:24 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, alim.akhtar@samsung.com, dofmind@gmail.com, jh80.chung@samsung.com Subject: [PATCH 10/10 V4] SMDK5250: Enable UART and MMC for Exynos5250 Rev 1.0 Date: Fri, 29 Jun 2012 18:29:10 +0530 Message-id: <1340974750-19969-11-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1340974750-19969-1-git-send-email-rajeshwari.s@samsung.com> References: <1340974750-19969-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOJMWRmVeSWpSXmKPExsVy+t9jQd0fS9/6GxxdK2XxcP1NFosph7+w ODB53Lm2hy2AMYrLJiU1J7MstUjfLoEr48K+braCxdwV/748Z2tg7OHsYuTgkBAwkTj8PrCL kRPIFJO4cG89WxcjF4eQwHRGid+HXkM5E5kkHu/8xQZSxSZgJLH15DRGEFtEQELiV/9VRpAi ZoFFjBJ3e36xgySEBfwkuv48ZgaxWQRUJX5++MwKso1XwFPieAcjxDYFiWNTv7KC2JxA4Seb msBsIQEPiRdvLrJOYORdwMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyPY+8+kdzCuarA4 xCjAwajEw6uw6K2/EGtiWXFl7iFGCQ5mJRHeh4uBQrwpiZVVqUX58UWlOanFhxilOViUxHmb rC/4CwmkJ5akZqemFqQWwWSZODilGhh783+m77xw7dyKNdY+vC9ZPAQzHomdze3k71YvVvM9 LFW7PrJQKlEjelXWs0e3G9P9KjmU1wZYNXBcNl7YqbPQtfjB75lbA/f8ZndbfHX5g5L4PVks xc92ZLFP//LXJeuvcdvktIXhDDYbTuT/MgheNF13v7vhbZG7hT8mVprzMP8/vktoi68SS3FG oqEWc1FxIgDuL0/5+gEAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQk9+gX+1GKk9JMDiHFAfjt0TYpf3l/FfZvPTRd/rSl23RDLIcIV0JDFeLF4B+GijCxKZXgS This patch sets UART3 and MMC channle 0 for Exynos5250 Rev 1.0 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None. Changes in V3: - None Changes in V4: - None board/samsung/smdk5250/smdk5250.c | 6 +++--- include/configs/smdk5250.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c index 3b078da..b593325 100644 --- a/board/samsung/smdk5250/smdk5250.c +++ b/board/samsung/smdk5250/smdk5250.c @@ -130,13 +130,13 @@ int board_mmc_init(bd_t *bis) { int err; - err = exynos_pinmux_config(PERIPH_ID_SDMMC2, PINMUX_FLAG_NONE); + err = exynos_pinmux_config(PERIPH_ID_SDMMC0, PINMUX_FLAG_8BIT_MODE); if (err) { - debug("SDMMC2 not configured\n"); + debug("SDMMC0 not configured\n"); return err; } - err = s5p_mmc_init(2, 4); + err = s5p_mmc_init(0, 8); return err; } #endif diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 405abd5..d4d370f 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -69,7 +69,7 @@ /* select serial console configuration */ #define CONFIG_SERIAL_MULTI -#define CONFIG_SERIAL1 /* use SERIAL 1 */ +#define CONFIG_SERIAL3 /* use SERIAL 3 */ #define CONFIG_BAUDRATE 115200 #define EXYNOS5_DEFAULT_UART_OFFSET 0x010000