summaryrefslogtreecommitdiff
path: root/board/cm4008/flash.c
Commit message (Collapse)AuthorAgeLines
* board/cm4008/flash.c: Fix GCC 4.6 warningsAnatolij Gustschin2011-11-16-4/+3
| | | | | | | | | | | | Fix: flash.c: In function 'flash_erase': flash.c:209:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:373:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
* CM4000: fix broken flash base for OpenGear boardsGreg Ungerer2011-09-10-1/+1
| | | | | | | | | | | | | | | | Use _bss_start_ofs as the size of the boot loader code+data that we want to protect in the flash. This replaces use of the no longer defined _armboot_start. Fixes: flash.c: In function ‘flash_init’: flash.c:75: error: ‘_bss_start’ undeclared (first use in this function) flash.c:75: error: (Each undeclared identifier is reported only once flash.c:75: error: for each function it appears in.) flash.c:75: error: ‘_armboot_start’ undeclared (first use in this function) Signed-off-by: <greg.ungerer@opengear.com>
* Timer: Fix misuse of ARM *timer_masked() functions outside arch/armGraeme Russ2011-07-16-4/+6
| | | | Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-9/+9
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Patch by Greg Ungerer, 19 May 2005:wdenk2005-05-19-0/+409
add support for the OpenGear CM4008 board