forked from Imagelibrary/rtems
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, i2c/i2cdrv.c, nvram/nvram.c, startup/bspstart.c, tod/ds1307.c: Removed warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-11-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* console/console.c, i2c/i2cdrv.c, nvram/nvram.c, startup/bspstart.c,
|
||||
tod/ds1307.c: Removed warnings.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
|
||||
@@ -197,22 +197,6 @@ console_last_close(int major, int minor, void *arg)
|
||||
return mcfuart_disable(&uart[minor]);
|
||||
}
|
||||
|
||||
/* console_reserve_resources --
|
||||
* reserve termios resources for 2 UART channels
|
||||
*
|
||||
* PARAMETERS:
|
||||
* configuration -- pointer to the RTEMS configuration table
|
||||
*
|
||||
* RETURNS:
|
||||
* none
|
||||
*/
|
||||
void
|
||||
console_reserve_resources(rtems_configuration_table *configuration)
|
||||
{
|
||||
if (console_mode != CONSOLE_MODE_RAW)
|
||||
rtems_termios_reserve_resources (configuration, 2);
|
||||
}
|
||||
|
||||
/* console_initialize --
|
||||
* This routine initializes the console IO drivers and register devices
|
||||
* in RTEMS I/O system.
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "i2c.h"
|
||||
#include "i2cdrv.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <bsp.h>
|
||||
#include <nvram.h>
|
||||
#include <i2c.h>
|
||||
@@ -173,5 +174,3 @@ nvram_driver_write(rtems_device_major_number major,
|
||||
args->bytes_moved = count;
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,11 +70,6 @@ void bsp_start( void )
|
||||
|
||||
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
|
||||
|
||||
/*
|
||||
* Account for the console's resources
|
||||
*/
|
||||
console_reserve_resources( &BSP_Configuration );
|
||||
|
||||
/*
|
||||
* initialize the CPU table for this BSP
|
||||
*/
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <libchip/rtc.h>
|
||||
#include <string.h>
|
||||
#include "ds1307.h"
|
||||
#include "i2c.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user