diff options
author | Stefan Roese <sr@denx.de> | 2008-11-17 14:45:22 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-11-24 10:55:35 +0100 |
commit | 45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d (patch) | |
tree | e09537e4e94eee767f4358109a4e7eed315bbdc6 /board/inka4x0/hyb25d512160bf-5.h | |
parent | 9b827cf1720acda2473afa516956eab6f7cca9a1 (diff) |
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: Stefan Roese <sr@denx.de>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'board/inka4x0/hyb25d512160bf-5.h')
0 files changed, 0 insertions, 0 deletions