Skip to content
Snippets Groups Projects
Commit 6a19cc9d authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Stefan Roese
Browse files

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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 9fab4bf4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment