From patchwork Tue Mar 26 09:37:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inderpal Singh X-Patchwork-Id: 15647 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 5BE4623DEE for ; Tue, 26 Mar 2013 09:38:07 +0000 (UTC) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by fiordland.canonical.com (Postfix) with ESMTP id EFAD7A19894 for ; Tue, 26 Mar 2013 09:38:06 +0000 (UTC) Received: by mail-vb0-f48.google.com with SMTP id fc21so4321058vbb.7 for ; Tue, 26 Mar 2013 02:38:06 -0700 (PDT) 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-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=3gGbe60a20JpRQUgvggjAAae5iipESB5GQEcyJnsWlg=; b=JerDPB04HP/OUHv5ZTEePVd+cksLFOUMkmCVvYysXRfwRyGrAzDDQFUUAu7pzSoGLY FR1h7yF5sp5XxtRwg/gFa6QZHFhplFPY/ZYx1cvIIrH4ETkexbxB8TVwT0OE6EhmBEip nSz0zSBk73PzpICnodlgPAzrWfv0EmtkahDBCL/eBnWlp+DBGAKJTaSzjaWOvTF98jNt 7UqY/RSiK3/tfXhKGtE3LniT06aDM7MHf6ym4nHsAeK5U+fryzXf9XKasPBQ9nVrEMyD GsqGQvEvFSntylrhkS5xVV9JAuhtuffBM1byMF5SnqK+Oq7tdRymgL1c2UpVAz9YlWoe w74A== X-Received: by 10.220.154.199 with SMTP id p7mr19145617vcw.46.1364290686447; Tue, 26 Mar 2013 02:38:06 -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.59.4.204 with SMTP id cg12csp62909ved; Tue, 26 Mar 2013 02:38:05 -0700 (PDT) X-Received: by 10.66.117.196 with SMTP id kg4mr13491635pab.95.1364290685435; Tue, 26 Mar 2013 02:38:05 -0700 (PDT) Received: from mail-da0-x22c.google.com (mail-da0-x22c.google.com [2607:f8b0:400e:c00::22c]) by mx.google.com with ESMTPS id hi1si17291852pac.174.2013.03.26.02.38.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 02:38:05 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::22c is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) client-ip=2607:f8b0:400e:c00::22c; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c00::22c is neither permitted nor denied by best guess record for domain of inderpal.singh@linaro.org) smtp.mail=inderpal.singh@linaro.org Received: by mail-da0-f44.google.com with SMTP id z20so3601134dae.31 for ; Tue, 26 Mar 2013 02:38:05 -0700 (PDT) X-Received: by 10.68.204.10 with SMTP id ku10mr22463408pbc.41.1364290685059; Tue, 26 Mar 2013 02:38:05 -0700 (PDT) Received: from inder-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id hu2sm16867167pbc.38.2013.03.26.02.38.01 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 02:38:04 -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 1/3] exynos5250: remove redundant SPI related configs Date: Tue, 26 Mar 2013 15:07:48 +0530 Message-Id: <1364290670-7443-2-git-send-email-inderpal.singh@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364290670-7443-1-git-send-email-inderpal.singh@linaro.org> References: <1364290670-7443-1-git-send-email-inderpal.singh@linaro.org> X-Gm-Message-State: ALoCoQmPMiXzAi2nZWN32qiK3TUe5ZB6XPMw3ZdAkfNpQm8OmAmOcF3COlNSnzbfY3Njxtqwvthv They have been defined once already. Hence remove the redundant definitions. Signed-off-by: Inderpal Singh --- include/configs/exynos5250-dt.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 7308522..d5d8e3a 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -267,27 +267,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