From patchwork Wed Nov 18 10:39:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Harkin X-Patchwork-Id: 56935 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2482425lbb; Wed, 18 Nov 2015 02:40:09 -0800 (PST) X-Received: by 10.194.243.227 with SMTP id xb3mr1163217wjc.96.1447843209389; Wed, 18 Nov 2015 02:40:09 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id iw7si3105575wjb.105.2015.11.18.02.40.08; Wed, 18 Nov 2015 02:40:09 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3724F4B7AA; Wed, 18 Nov 2015 11:39:58 +0100 (CET) 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 DsV5uj3_wtkW; Wed, 18 Nov 2015 11:39:58 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E1AB74B7C1; Wed, 18 Nov 2015 11:39:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E23284B782 for ; Wed, 18 Nov 2015 11:39:38 +0100 (CET) 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 23HbUY-a7C-O for ; Wed, 18 Nov 2015 11:39:38 +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-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by theia.denx.de (Postfix) with ESMTPS id 2C87A4B748 for ; Wed, 18 Nov 2015 11:39:32 +0100 (CET) Received: by wmdw130 with SMTP id w130so192505326wmd.0 for ; Wed, 18 Nov 2015 02:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w+ApyT1XEhN8G/8+5DHzVBKYvT0bvcIeDT+DpaCS5aw=; b=bGtx0uZQ+nlVz+/WsEaafjqsYuCNYF6DQG6YB9Lfovw9jM4lFBA8P5rICcl9RR7RYr CQrxvqjDYsB/D+asEruW40+SiPEbcmlLhMBMUXUvT6PsXxQQ+lEzh40PKR8VWovUfq23 y62bJxfvJQyFH2R0/s36Vvr9DROLZafC/xfJy6IncksUjHW3xdx9ClTNPNBxEd4SEcPd gnRjkAJfatANDsVOX1RLpwd2S+l9rJt31TVWDtqPxlJPHxKLKqLKQcCoANbYWf5fuf8J tCsptuoEYMfXk1V4hGeChLqeUNxtPxFoOenRX791jpDowQr+0d8SaWZlfNOyPAJ9bmiC O4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w+ApyT1XEhN8G/8+5DHzVBKYvT0bvcIeDT+DpaCS5aw=; b=KpzE2JIi8U7kTCO3gsT91PA09ILF3zlzPrSdT1TJmxV/sPeKGXdc5AoT3kvR81hlvU FcWPPthSs3BQONMSQIAIjQdjPJXUEwt2IJn18hhyvq5OEqZG9s4NdJCCCORzHTk0gFBx eux6WqEgUNRsZXRRnEBqrFbeCOkua2J5sIH60ceDvJ9ZIdyY894Si29Vi9BnesPRv4iO cW7FZBzyDP0ZdUyFgqL2v1CcBXWuOSl9OfOhOJNwVEyA6utMXqAs01PAHluinOUMtQ6V 27jm9gl1IeEFzxQGGR4BFqqGUAuqrcx31EK23VZGIzCfrWRxXEPUJRk7oLK4MGra60sx 6Exg== X-Gm-Message-State: ALoCoQl2SSEo3b60rzxV8O0KBcZbTBlMZP0QgMe/go1Y5eVPnAN5QMFD23FSISyraLG/3kUJgT4c X-Received: by 10.28.87.72 with SMTP id l69mr3033711wmb.70.1447843172253; Wed, 18 Nov 2015 02:39:32 -0800 (PST) Received: from localhost.localdomain (82-69-54-187.dsl.in-addr.zen.co.uk. [82.69.54.187]) by smtp.gmail.com with ESMTPSA id c4sm2148269wjs.36.2015.11.18.02.39.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Nov 2015 02:39:31 -0800 (PST) From: Ryan Harkin To: Tom Rini , u-boot@lists.denx.de Date: Wed, 18 Nov 2015 10:39:08 +0000 Message-Id: <1447843149-28412-4-git-send-email-ryan.harkin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447843149-28412-1-git-send-email-ryan.harkin@linaro.org> References: <1447843149-28412-1-git-send-email-ryan.harkin@linaro.org> Cc: Steve Rae , Liviu Dudau , Stefan Roese Subject: [U-Boot] [PATCH v2 3/4] vexpress64: remove #error X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch allows vexpress64 targets to be compiled when CONFIG_SYS_FLASH_CFI is enabled. I considered using #warning instead of #error, but this just clutters up the build output and hides real warnings. Without this patch, you see errors during compilation like this: include/configs/vexpress_aemv8a.h:42:2: error: #error "Unknown board variant" #error "Unknown board variant" include/configs/vexpress_aemv8a.h:115:2: error: #error "Unknown board variant" #error "Unknown board variant" include/configs/vexpress_aemv8a.h:280:2: error: #error "Unknown board variant" #error "Unknown board variant" make[1]: *** [tools/envcrc.o] Error 1 make: *** [tools] Error 2 In file included from include/config.h:5:0, from tools/envcrc.c:19: Signed-off-by: Ryan Harkin Acked-by: Linus Walleij --- include/configs/vexpress_aemv8a.h | 6 ------ 1 file changed, 6 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 3c9faf4..6734d7e 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -35,8 +35,6 @@ #elif CONFIG_TARGET_VEXPRESS64_JUNO #define CONFIG_SYS_TEXT_BASE 0xe0000000 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) -#else -#error "Unknown board variant" #endif #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ @@ -108,8 +106,6 @@ #elif CONFIG_TARGET_VEXPRESS64_JUNO #define GICD_BASE (0x2C010000) #define GICC_BASE (0x2C02f000) -#else -#error "Unknown board variant" #endif #endif /* !CONFIG_GICV3 */ @@ -278,8 +274,6 @@ #define CONFIG_BOOTDELAY 1 -#else -#error "Unknown board variant" #endif /* Do not preserve environment */