[U-Boot] [PATCH 12/56] PM520: add missing enable_interrupts()
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:11:31 CET 2011
Dear Wolfgang Denk,
In message <1320458160-23136-13-git-send-email-wd at denx.de> you wrote:
> 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 at denx.de>
> Cc: Josef Wagner <Wagner at Microsys.de>
> ---
> board/pm520/flash.c | 17 ++++++++++++-----
> 1 files changed, 12 insertions(+), 5 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you can't beat it or corrupt it, you pretend it was your idea in
the first place. - Terry Pratchett, _Guards! Guards!_
More information about the U-Boot
mailing list