From patchwork Mon Jan 21 10:52:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 14131 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 58AF423E39 for ; Mon, 21 Jan 2013 10:49:55 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id 4E6E1A1844A for ; Mon, 21 Jan 2013 10:49:54 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id d10so194504vea.8 for ; Mon, 21 Jan 2013 02:49:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-auditid:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-brightmail-tracker:x-brightmail-tracker :dlp-filter:x-mtr:x-cfilter-loop:x-gm-message-state; bh=GOVYFqMWrjhyF0NzdGsORLOB49Gwxg9SzXfgkJRo/Xw=; b=bv2jes651e43x/B2wSWZ4CV/SiQ9YEnUjZPUKqpMA/zzfDoFZ1kk1HfC0NJArUZamV bCKvKHPjVXmUk04pyCkRFuaBRDsuhg0yBoPveKfWI2l2qTGrLSb2r2M3XT94DtReFxa/ aIXaGFLCmybVyAMndbE/3ye77Q5jjeSUqJ/zUWbzBeXWdEO1A42QzbecTht8oOFJr+Qc 0wtrvGVxh11Dj7Defi0ymsuuU+58zqEtSH6oWOxvh4WnY4Xe4l33rgOq1eCVc5KSuJqW E7tAMK7Cq9JzCuvoUA3oZ8ToKSuW65yLIAQ06lmsP25wHFg9Ho/D1lY7NclnPSPkty3T iemg== X-Received: by 10.52.97.7 with SMTP id dw7mr16637886vdb.38.1358765393839; Mon, 21 Jan 2013 02:49:53 -0800 (PST) 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.58.145.101 with SMTP id st5csp195062veb; Mon, 21 Jan 2013 02:49:52 -0800 (PST) X-Received: by 10.66.77.201 with SMTP id u9mr45962534paw.80.1358765391966; Mon, 21 Jan 2013 02:49:51 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id h8si13665070pay.337.2013.01.21.02.49.51; Mon, 21 Jan 2013 02:49:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MGZ00BI322KZTN0@mailout1.samsung.com>; Mon, 21 Jan 2013 19:49:50 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3B.63.03880.E4D1DF05; Mon, 21 Jan 2013 19:49:50 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-77-50fd1d4edca8 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DA.63.03880.E4D1DF05; Mon, 21 Jan 2013 19:49:50 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MGZ009CX1UTT630@mmp1.samsung.com>; Mon, 21 Jan 2013 19:49:50 +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 Subject: [PATCH 7/7] EXYNOS5: Snow: Add a configuration file Date: Mon, 21 Jan 2013 16:22:39 +0530 Message-id: <1358765559-32709-8-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1358765559-32709-1-git-send-email-rajeshwari.s@samsung.com> References: <1358765559-32709-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsWyRsSkRtdP9m+AwcE9hhYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgy9s1tZCm4IlXRun0LUwPjLJEuRk4OCQETiRkrVrBA 2GISF+6tZ+ti5OIQEljKKLH7Wh8bTNHm17dYIBKLGCUmTZkH5Uxkkjh/dwUzSBWbgJHE1pPT GEFsEQEJiV/9V8FsZoEYidf7f4BNEhawkbh76QpYPYuAqsSaa8uBajg4eAU8JP5/Y4dYpiBx bOpXVhCbU8BT4saBTWDXCQGV/Nm4khlkr4TAbTaJda3XWCDmCEh8m3yIBWSOhICsxKYDzBBz JCUOrrjBMoFReAEjwypG0dSC5ILipPRcI73ixNzi0rx0veT83E2MwHA8/e+Z9A7GVQ0WhxgF OBiVeHgT+v4ECLEmlhVX5h5ilOBgVhLh/TkDKMSbklhZlVqUH19UmpNafIgxGWj5RGYp0eR8 YKzklcQbGpuYmxqbWhoZmZmakiasJM7LeOpJgJBAemJJanZqakFqEcwWJg5OqQZGxd0ic7zj 5vl90Xm1dfqxu1wzDX70Wuu8zon1sSvYKOtfF2OgY3v0zZseXduinM9G67Xa9v5R/HZ5vivv CaHMRyymSv8Xv5/T/yt2MSdT5QU+WXbe6rfLoouKWGsYFjI9PvVlRVS21fQ7t7KXWDFNOj75 cm3XzaOi7w53npwUcYWHsYu9PuqLEktxRqKhFnNRcSIAd3M5HosCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsVy+t9jAV0/2b8BBj0f1C0err/JYjHl8BcW ByaPO9f2sAUwRjUw2mSkJqakFimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4 BOi6ZeYAzVZSKEvMKQUKBSQWFyvp22GaEBripmsB0xih6xsSBNdjZIAGEtYwZuyb28hScEWq onX7FqYGxlkiXYycHBICJhKbX99igbDFJC7cW8/WxcjFISSwiFFi0pR5LBDORCaJ83dXMINU sQkYSWw9OY0RxBYRkJD41X8VzGYWiJF4vf8HG4gtLGAjcffSFbB6FgFViTXXlgPVcHDwCnhI /P/GDrFMQeLY1K+sIDangKfEjQObwI4QAir5s3El8wRG3gWMDKsYRVMLkguKk9JzjfSKE3OL S/PS9ZLzczcxgoP9mfQOxlUNFocYBTgYlXh4E/r+BAixJpYVV+YeYpTgYFYS4f05AyjEm5JY WZValB9fVJqTWnyIMRnoqInMUqLJ+cBIzCuJNzQ2MTc1NrU0sTAxsyRNWEmcl/HUkwAhgfTE ktTs1NSC1CKYLUwcnFINjCnv099dzD566IbqebP/t/6rF7EwMD1o73WdGc8WeWf5tJTGKUfs GUwmpzi7HgpTVLkttmDHWRexLVXzpn6dY8g8IzxMuKI5+e0v+4JoAbPGRK7w62d+PG/18HY2 yBJaNv+QIWvE4R0LTGNlX+9/yaJ2JTwjqmrhL1+fJx33nlotW/vol9W3LiWW4oxEQy3mouJE ANtSHru6AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQlQr3o7xanciSL9pLIByDV5NL71/1eaPUmaRwq/mMMeVn3gj97QriIt73vxIKTPhiZjHq/8 This patch adds the configuration file for Snow Board and defines the same in boards.cfg. The Audio codec required for SMDK5250 and Snow are different hence they are defined in the corresponding configuration files. Signed-off-by: Rajeshwari Shinde --- boards.cfg | 1 + include/configs/exynos5250-dt.h | 1 - include/configs/smdk5250.h | 1 + include/configs/snow.h | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 1 deletions(-) create mode 100644 include/configs/snow.h diff --git a/boards.cfg b/boards.cfg index e4b0d44..f247b03 100644 --- a/boards.cfg +++ b/boards.cfg @@ -283,6 +283,7 @@ s5p_goni arm armv7 goni samsung smdkc100 arm armv7 smdkc100 samsung s5pc1xx origen arm armv7 origen samsung exynos s5pc210_universal arm armv7 universal_c210 samsung exynos +snow arm armv7 smdk5250 samsung exynos smdk5250 arm armv7 smdk5250 samsung exynos smdkv310 arm armv7 smdkv310 samsung exynos trats arm armv7 trats samsung exynos diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index a01fb96..7b9c393 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -297,7 +297,6 @@ #ifdef CONFIG_CMD_SOUND #define CONFIG_SOUND #define CONFIG_I2S -#define CONFIG_SOUND_WM8994 #endif /* Enable devicetree support */ diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 81f83a8..b23b5bc 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -30,4 +30,5 @@ #undef CONFIG_DEFAULT_DEVICE_TREE #define CONFIG_DEFAULT_DEVICE_TREE exynos5250-smdk5250 +#define CONFIG_SOUND_WM8994 #endif /* __CONFIG_SMDK_H */ diff --git a/include/configs/snow.h b/include/configs/snow.h new file mode 100644 index 0000000..be38635 --- /dev/null +++ b/include/configs/snow.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2012 Samsung Electronics + * + * Configuration settings for the SAMSUNG SMDK5250 board. + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#ifndef __CONFIG_SMDK_H +#define __CONFIG_SMDK_H + +#include + +#undef CONFIG_DEFAULT_DEVICE_TREE +#define CONFIG_DEFAULT_DEVICE_TREE exynos5250-snow + +#define CONFIG_SOUND_MAX98095 +#endif /* __CONFIG_SMDK_H */