From patchwork Wed Sep 2 14:41:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 513535 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 8A6DD1401DA for ; Thu, 3 Sep 2015 00:42:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 23F524B723; Wed, 2 Sep 2015 16:42:41 +0200 (CEST) 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 TGTLwD5GfdG0; Wed, 2 Sep 2015 16:42:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ECADF4B779; Wed, 2 Sep 2015 16:42:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F06A44B737 for ; Wed, 2 Sep 2015 16:42:30 +0200 (CEST) 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 IBtnIi-q3De9 for ; Wed, 2 Sep 2015 16:42:30 +0200 (CEST) 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-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by theia.denx.de (Postfix) with ESMTPS id 159004B764 for ; Wed, 2 Sep 2015 16:42:25 +0200 (CEST) Received: by qkfq186 with SMTP id q186so5991823qkf.1 for ; Wed, 02 Sep 2015 07:42:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=mUuQ6PndjA4inAAvxBbqI9R5k0i94N/j3xIdheonF2c=; b=IJqGF0O3ZIijxf1rtkXT4kigphHYHngg1ACccHq3/0HA1mCKhJ6HpVtJYv20z+FQPe wWVjD8Qi1wcsGwoVzU/PYz68FLUHha9Zylr4FIXU8BvifwqhQp8vY2he2ZHQfflMObUH y4fbW+7vLaObMMtz/8fMemrh0u4JMB6NvtzyV+mfjI675MERFuV3d4fFW7m6rxNLuVxR tN+cWG3FcoADXVDqxI2tOyT23iJSNOwvMmYQmpzSq0x/HypYg+POjtq0sHIeumr68O3L j0irymDTkydN+o6NUKU2eEOdIjEyRMIjEHcamT3err0iR+RsvnHi2DphNzmR+BG5fPUj YVDA== X-Received: by 10.55.26.4 with SMTP id a4mr29652224qka.8.1441204944443; Wed, 02 Sep 2015 07:42:24 -0700 (PDT) Received: from localhost ([177.100.224.236]) by smtp.gmail.com with ESMTPSA id f201sm12852787qhe.26.2015.09.02.07.42.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 07:42:23 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Wed, 02 Sep 2015 11:42:18 -0300 From: Otavio Salvador To: U-Boot Mailing List Date: Wed, 2 Sep 2015 11:41:39 -0300 Message-Id: <1441204902-8204-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1441204902-8204-1-git-send-email-otavio@ossystems.com.br> References: <1441204902-8204-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Jagan Teki , Tom Rini , Otavio Salvador Subject: [U-Boot] [PATCH 2/5] spi_flash: Include spi_flash_cmd_write_status() prototype 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" Add a prototype for spi_flash_cmd_write_status(), so that it can be used by other files. Signed-off-by: Otavio Salvador --- include/spi_flash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spi_flash.h b/include/spi_flash.h index 3b2d555..4b13926 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -232,4 +232,6 @@ static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, void spi_boot(void) __noreturn; void spi_spl_load_image(uint32_t offs, unsigned int size, void *vdst); +int spi_flash_cmd_write_status(struct spi_flash *flash, u8 ws); + #endif /* _SPI_FLASH_H_ */