forked from Imagelibrary/rtems
arm/csb337: Fix warnings
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
*
|
||||
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
|
||||
* which includes this notice:
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
**************************************************************************
|
||||
* General notice:
|
||||
* This code is part of a boot-monitor package developed as a generic base
|
||||
@@ -359,7 +361,7 @@ void sed_writechar(uint8_t c)
|
||||
}
|
||||
} /* sed_writechar() */
|
||||
|
||||
void sed_update_fb_offset(void)
|
||||
static void sed_update_fb_offset(void)
|
||||
{
|
||||
/* write the new sed_fb_offset value */
|
||||
if (sed_disp_mode_crt) {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/*
|
||||
* Cogent CSB337 - AT91RM9200 Startup code
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 by Cogent Computer Systems
|
||||
* Written by Jay Monkman <jtm@lopingdog.com>
|
||||
*
|
||||
@@ -19,9 +21,11 @@ void bsp_reset(void)
|
||||
rtems_interrupt_level level;
|
||||
|
||||
rtems_interrupt_disable(level);
|
||||
(void) level; /* avoid set but not used warning */
|
||||
|
||||
/* Enable the watchdog timer, then wait for the world to end. */
|
||||
ST_REG(ST_WDMR) = ST_WDMR_RSTEN | 1;
|
||||
/* Enable the watchdog timer, then wait for the world to end. */
|
||||
ST_REG(ST_WDMR) = ST_WDMR_RSTEN | 1;
|
||||
|
||||
while(1);
|
||||
while(1)
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user