From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 25 Jul 2013 16:50:39 +0200 Subject: [U-Boot] [PATCH] cfi_flash: Add prototypes of overridable functions In-Reply-To: <1370505244-5015-1-git-send-email-yamada.m@jp.panasonic.com> References: <1370505244-5015-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <51F13B3F.7020106@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/06/2013 09:54 AM, Masahiro Yamada wrote: > This commit adds some prototypes into include/mtd/cfi_flash.h. > These functions are defined with a weak attribute in > drivers/mtd/cfi_flash.c. > This means they can be overrided by board-specific ones > if necessary. > > When defining such functions under board/ directory or > somewhere, cfi_flash.h should be included. > This makes sure that board-specfic cfi functions > are defined in a correct prototype. > > Signed-off-by: Masahiro Yamada Is this patch still needed? Thanks, Stefan