]> git.sur5r.net Git - u-boot/commit
cfi_flash: Add prototypes of overridable functions
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 6 Jun 2013 07:54:04 +0000 (16:54 +0900)
committerStefan Roese <sr@denx.de>
Tue, 30 Jul 2013 07:11:54 +0000 (09:11 +0200)
commit6a19cc9df0ff76273cecd3cd72323a73ff44e8de
tree4dd535717d6d9654c11a2102182a2725b48484c4
parent9fab4bf4cc077c21e43941866f3f2c196f28670d
cfi_flash: Add prototypes of overridable functions

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 <yamada.m@jp.panasonic.com>
Signed-off-by: Stefan Roese <sr@denx.de>
include/mtd/cfi_flash.h