From patchwork Sat Feb 13 11:02:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 582383 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8157214031B for ; Sat, 13 Feb 2016 22:03:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b=udT87rAR; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B729EA750E; Sat, 13 Feb 2016 12:03:06 +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 Ppiyk_KoMLcE; Sat, 13 Feb 2016 12:03:06 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 390C4A74E3; Sat, 13 Feb 2016 12:03:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 360D2A74E3 for ; Sat, 13 Feb 2016 12:03:03 +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 vZQThiETnUgZ for ; Sat, 13 Feb 2016 12:03:03 +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-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by theia.denx.de (Postfix) with ESMTPS id 05663A748A for ; Sat, 13 Feb 2016 12:02:59 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id g62so50350839wme.0 for ; Sat, 13 Feb 2016 03:02:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=YvQZOTfNqHdkyOtjHdAnYnCtgP9uF5/52l1YwnXtG5Q=; b=udT87rARebVLppPBVkw/Qjx9h9GFd9H0K2XwoGoq05zztzF2BFUgDie+6fvr2pP3D8 5GLZisphqF1n+ZbYkg5RzU9nFWW9BTOzUdHS1dLpE4q/L7aEcEay+BKBKZrI7sOqvzrF UHI8/JItif0660egTSyRx+4YWVK+FCT/TYcXr43CBpiDBfGukA9+bOHpRC0oiVbE2tET AXhxwl8FIuRLeavt29FXk6/EY2gBrTt2PJOIvGX4o1ut8WOqfFOGFKAJ69296oRGxFh0 VodtcrxOHJNYQzJkSChoQCPmhl0+epW2e1L7P4mJz/1N2v3VFS52r3ZlvHbEFEnraXGN gjag== 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; bh=YvQZOTfNqHdkyOtjHdAnYnCtgP9uF5/52l1YwnXtG5Q=; b=UVgukCPB645CIHcfSRhx6St6Ca6jRSvnTOmK3eElUkY0xIvq4wDyqudDHTmrPs7Elc PW2gKTRvos+Ctd2kRh7Mtr2jRdF/nybCMxJVfoEk0HYpwtAQatsLqC1T0qOcesxz7EFC lOWzKEGjGFI5f3jrnoalELzIwDjir/ALooy1POloV3mAJOoIINZ0hPA+ZFBITaxqCq4Y VQmu7Gj5nleC5ftVPmnpCUNW0xkPhqXe9cjH6WS4Mh/e17AN2D5KJ0UY8QQ7jmTZF7Au 2Njf812YfUR8g+V0dsvX3uqD3O+O/pCxay1/iYbWbMXBSGuegdLSLopctE0ZjSI9AAD5 2z9g== X-Gm-Message-State: AG10YOTJV6FLH4XG6Xvrb7UnTANkZ6WMPsKl4xOyV3T28kMumoAyrBcKsdYYMu+Qb/3OdA== X-Received: by 10.194.19.5 with SMTP id a5mr6591949wje.46.1455361379626; Sat, 13 Feb 2016 03:02:59 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id lc3sm16010875wjb.7.2016.02.13.03.02.58 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 13 Feb 2016 03:02:58 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Sat, 13 Feb 2016 12:02:53 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 Subject: [U-Boot] [PATCH] ARM: zynq: Wire-up saving environment to QSPI 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" Extend options for saving variables to QSPI. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 73b7f2072bc6..1eee8a0667dc 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -198,7 +198,11 @@ /* Environment */ #ifndef CONFIG_ENV_IS_NOWHERE # ifndef CONFIG_SYS_NO_FLASH +/* Environment in NOR flash */ # define CONFIG_ENV_IS_IN_FLASH +# elif defined(CONFIG_ZYNQ_QSPI) +/* Environment in Serial Flash */ +# define CONFIG_ENV_IS_IN_SPI_FLASH # elif defined(CONFIG_SYS_NO_FLASH) # define CONFIG_ENV_IS_NOWHERE # endif