commit | cdbaefb5f5f03e54455d0439dcf6dbd97ead1f9d | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | Thu Dec 13 12:56:32 2007 +0100 |
committer | Stefan Roese <sr@denx.de> | Thu Dec 13 13:15:11 2007 +0100 |
tree | 2a89cf89f64c90da5f8307e81f41f2390241f940 | |
parent | 812711ce6b3a386125dcf0d6a59588e461abbb87 [diff] |
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>