arm/csb337: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-14 16:50:45 -05:00
parent 7b5da2606b
commit fc137e7d91
2 changed files with 12 additions and 6 deletions

View File

@@ -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) {

View File

@@ -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)
;
}