Skip to content
Snippets Groups Projects
Commit cdbaefb5 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen Committed by Stefan Roese
Browse files

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: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent 812711ce
No related branches found
No related tags found
Loading
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