]> git.sur5r.net Git - u-boot/commit
PM520: add missing enable_interrupts()
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:16 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:11:24 +0000 (22:11 +0100)
commit17834a5c63b7a4327205107d9d3e689326f527a4
tree359524483e355f790873d1f4182cdeb121b5a341
parent6471ada534a917f89dd910cfe06279ea1238fbd0
PM520: add missing enable_interrupts()

The code disabled interrupts in several locations, without re-enabling
them again.  Fix this.

While we are at it, also fix a GCC 4.6 build warning:
flash.c: In function 'flash_erase':
flash.c:373:21: warning: variable 'last' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Josef Wagner <Wagner@Microsys.de>
board/pm520/flash.c