summaryrefslogtreecommitdiffstats
path: root/include/asm-nios
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-12-13 12:56:32 +0100
committerStefan Roese <sr@denx.de>2007-12-13 13:15:11 +0100
commitcdbaefb5f5f03e54455d0439dcf6dbd97ead1f9d (patch)
tree2a89cf89f64c90da5f8307e81f41f2390241f940 /include/asm-nios
parent812711ce6b3a386125dcf0d6a59588e461abbb87 (diff)
downloadtalos-obmc-uboot-cdbaefb5f5f03e54455d0439dcf6dbd97ead1f9d.tar.gz
talos-obmc-uboot-cdbaefb5f5f03e54455d0439dcf6dbd97ead1f9d.zip
cfi_flash: Introduce read and write accessors
Introduce flash_read{8,16,32,64) and flash_write{8,16,32,64} and use them to access the flash memory. This makes it clearer when the flash is actually being accessed; merely dereferencing a volatile pointer looks just like any other kind of access. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-nios')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud