Fix flash chip detection by using a volatile pointer
authorAndreas Oberritter <obi@saftware.de>
Fri, 7 Jan 2011 22:50:04 +0000 (23:50 +0100)
committerSteve Markgraf <steve@steve-m.de>
Fri, 7 Jan 2011 22:58:30 +0000 (23:58 +0100)
commit0e130bf467923ddaff6000aa43747e88a6d3e00f
tree0ee8c72530cdbd14b11ecbe86e0938b7075b4c3a
parentd6ab52aa9a43a2fe19c3c3970a6329231da1e218
Fix flash chip detection by using a volatile pointer

* This might be a workaround for a compiler bug
  (gcc 4.5.2, binutils 2.21)

Signed-off-by: Andreas Oberritter <obi@saftware.de>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
src/target/firmware/flash/cfi_flash.c