Skip to content
Snippets Groups Projects
Commit 45aa5a7f authored by Stefan Roese's avatar Stefan Roese
Browse files

cfi_flash: Make all flash access functions weak


This patch defines all flash access functions as weak so that
they can be overridden by board specific versions.

This will be used by the upcoming VCTH board support where the NOR
FLASH unfortunately can't be accessed memory-mapped. Special
accessor functions are needed here.

To enable this weak functions you need to define
CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS in your board config header.
Otherwise the "old" default functions will be used resulting
in smaller code.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Acked-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent 9b827cf1
No related branches found
No related tags found
No related merge requests found
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