summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-11-17 14:45:22 +0100
committerStefan Roese <sr@denx.de>2008-11-24 10:55:35 +0100
commit45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d (patch)
treee09537e4e94eee767f4358109a4e7eed315bbdc6 /include/flash.h
parent9b827cf1720acda2473afa516956eab6f7cca9a1 (diff)
downloadu-boot-imx-45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d.zip
u-boot-imx-45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d.tar.gz
u-boot-imx-45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d.tar.bz2
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 'include/flash.h')
0 files changed, 0 insertions, 0 deletions