Skip to content
Snippets Groups Projects
Commit 00dcb07c authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

cti_flash.c: use __weak when requested for flash_(read|write){8,16,32,64}


For various reasons (design, errata) boards may need to implement their
own versions of these accessors.  So in the case of
CONFIG_CFI_FLASH_USE_WEAK_ACCESSOR mark the functions as weak.  In the
normal case mark them as static to allow for better optimization.

Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
[trini: Reword commit message]
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent dd2a6cd0
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