From patchwork Fri Jun 7 11:55:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inderpal Singh X-Patchwork-Id: 17675 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f70.google.com (mail-vb0-f70.google.com [209.85.212.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5247925E1F for ; Fri, 7 Jun 2013 11:55:47 +0000 (UTC) Received: by mail-vb0-f70.google.com with SMTP id f13sf4036225vbg.5 for ; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=3cesYJnpW1vU1HfdbPYw4UIlQbFHyQNaSsOWl77vx3A=; b=V4IvPopOhoxZf4dDCgu1MSjYJYNRUrpxBS3VR4zzgKa8JPflVZXzjvd/NJ5n6k0A4+ oooS/DDR4X4NcLbozLF5wALK9s4i3kdvmYBzEVYdFoR3gG6Oc/JeSr2pUateW6IhbUfN UXRAmnyrzksScpaRnznx2aIc6YpaBzoTZ8KYfXGC0XKwN80T7w/EKhI0puLhK0CMtZqh +siUefU0T7vWptz75kB4Ene8qVvLZ+I1z3xgvtuaNUvLYJaNA3waKhCqlZJTHTomRUl0 +cju8RxJa8crrAIDxMloQdJSncYaaZBh+/sVBqZ1rVUtecSOk45kWfTPc54vcfzYTzJc 2t9A== X-Received: by 10.224.165.143 with SMTP id i15mr1266813qay.0.1370606146668; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.103.132 with SMTP id fw4ls1727228qeb.17.gmail; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) X-Received: by 10.58.215.200 with SMTP id ok8mr829926vec.21.1370606146451; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [2607:f8b0:400c:c02::229]) by mx.google.com with ESMTPS id p19si43316400vcw.43.2013.06.07.04.55.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 04:55:46 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::229; Received: by mail-vb0-f41.google.com with SMTP id p13so1380170vbe.28 for ; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) X-Received: by 10.52.36.115 with SMTP id p19mr19983258vdj.8.1370606146220; Fri, 07 Jun 2013 04:55:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp111331vcb; Fri, 7 Jun 2013 04:55:45 -0700 (PDT) X-Received: by 10.68.164.226 with SMTP id yt2mr43348885pbb.203.1370606145237; Fri, 07 Jun 2013 04:55:45 -0700 (PDT) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [2607:f8b0:400e:c03::234]) by mx.google.com with ESMTPS id vs6si26330781pbc.191.2013.06.07.04.55.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 04:55:45 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c03::234 is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) client-ip=2607:f8b0:400e:c03::234; Received: by mail-pa0-f52.google.com with SMTP id kq12so361954pab.25 for ; Fri, 07 Jun 2013 04:55:44 -0700 (PDT) X-Received: by 10.68.101.226 with SMTP id fj2mr43556356pbb.6.1370606144532; Fri, 07 Jun 2013 04:55:44 -0700 (PDT) Received: from inder-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id fr1sm77298105pbb.26.2013.06.07.04.55.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 04:55:43 -0700 (PDT) From: Inderpal Singh To: u-boot@lists.denx.de Cc: mk7.kang@samsung.com, promsoft@gmail.com, patches@linaro.org, chander.kashyap@linaro.org Subject: [PATCH v2] exynos5250: remove redundant SPI and PMIC related configs Date: Fri, 7 Jun 2013 17:25:39 +0530 Message-Id: <1370606139-2529-1-git-send-email-inderpal.singh@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlxGUy+XUcy8+0v59rAeCytnesXDCdq68XeauladBPGiemOUH262yIe85nhhowH9AgsOPpp X-Original-Sender: inderpal.singh@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , They have been defined once already. Hence remove the redundant definitions. Signed-off-by: Inderpal Singh --- v1 was posted as the first patch of [1] Changes in v2: - split from the patchset at [1] - removed redundant configs for PMIC - rebased to latest u-boot-samsung master branch [1] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/157101 include/configs/exynos5250-dt.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 62b83d4..03b07b2 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -246,11 +246,6 @@ #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_I2C_EDID -/* PMIC */ -#define CONFIG_PMIC -#define CONFIG_PMIC_I2C -#define CONFIG_PMIC_MAX77686 - /* SPI */ #define CONFIG_ENV_IS_IN_SPI_FLASH #define CONFIG_SPI_FLASH @@ -278,27 +273,6 @@ #define CONFIG_POWER_I2C #define CONFIG_POWER_MAX77686 -/* SPI */ -#define CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_SPI_FLASH - -#ifdef CONFIG_SPI_FLASH -#define CONFIG_EXYNOS_SPI -#define CONFIG_CMD_SF -#define CONFIG_CMD_SPI -#define CONFIG_SPI_FLASH_WINBOND -#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 -#define CONFIG_SF_DEFAULT_SPEED 50000000 -#define EXYNOS5_SPI_NUM_CONTROLLERS 5 -#endif - -#ifdef CONFIG_ENV_IS_IN_SPI_FLASH -#define CONFIG_ENV_SPI_MODE SPI_MODE_0 -#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE -#define CONFIG_ENV_SPI_BUS 1 -#define CONFIG_ENV_SPI_MAX_HZ 50000000 -#endif - /* Ethernet Controllor Driver */ #ifdef CONFIG_CMD_NET #define CONFIG_SMC911X