* include/mpc55xxevb.h, network/network.c, startup/sd-card-init.c,
	tests/tests.c: Added copyright information.  Added missing prototypes.
	Fixed integer conversion warning.
	* startup/bspclean.c: Include bootcard.h.
This commit is contained in:
Joel Sherrill
2008-08-20 17:28:14 +00:00
parent bbbb8f0840
commit dab9e55c77
7 changed files with 71 additions and 26 deletions

View File

@@ -1,3 +1,10 @@
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/mpc55xxevb.h, network/network.c, startup/sd-card-init.c,
tests/tests.c: Added copyright information. Added missing prototypes.
Fixed integer conversion warning.
* startup/bspclean.c: Include bootcard.h.
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org> 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, startup/sd-card-init.c, tests/tests.c: * startup/bspclean.c, startup/sd-card-init.c, tests/tests.c:

View File

@@ -43,7 +43,7 @@ extern unsigned int bsp_clock_speed;
/** @brief Time base clicks per micro second */ /** @brief Time base clicks per micro second */
extern uint32_t bsp_clicks_per_usec; extern uint32_t bsp_clicks_per_usec;
rtems_status_code mpc55xx_sd_card_init(); rtems_status_code mpc55xx_sd_card_init( void);
#endif /* ASM */ #endif /* ASM */

View File

@@ -3,19 +3,17 @@
* *
* @ingroup mpc55xx * @ingroup mpc55xx
* *
* @brief Documentation for this file * @brief Empty file.
*/
/*
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
* *
* More details.
*
* @par Copyright
* Copyright (c) 2008<br>
* Embedded Brains GmbH<br>
* Obere Lagerstr. 30<br>
* D-82178 Puchheim<br>
* Germany<br>
* rtems@embedded-brains.de<br>
*
* @par License
* The license and distribution terms for this file may be found in the file * The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/ */

View File

@@ -3,19 +3,17 @@
* *
* @ingroup mpc55xx * @ingroup mpc55xx
* *
* @brief Documentation for this file * @brief Empty file.
*/
/*
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
* *
* More details.
*
* @par Copyright
* Copyright (c) 2008<br>
* Embedded Brains GmbH<br>
* Obere Lagerstr. 30<br>
* D-82178 Puchheim<br>
* Germany<br>
* rtems@embedded-brains.de<br>
*
* @par License
* The license and distribution terms for this file may be found in the file * The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/ */

View File

@@ -18,6 +18,8 @@
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/ */
#include <bsp/bootcard.h>
void bsp_cleanup(void) void bsp_cleanup(void)
{ {
/* TODO - Add something BSP specific here */ /* TODO - Add something BSP specific here */

View File

@@ -1,3 +1,23 @@
/**
* @file
*
* @ingroup mpc55xx
*
* @brief SD Card initialization code.
*/
/*
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
*
* The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/
#include <stdio.h> #include <stdio.h>
#include <mpc55xx/mpc55xx.h> #include <mpc55xx/mpc55xx.h>
@@ -60,7 +80,7 @@ static rtems_status_code mpc55xx_dspi_init(void)
mpc55xx_dspi_bus_table [3].master = 0; mpc55xx_dspi_bus_table [3].master = 0;
for (i = 0; i < MPC55XX_DSPI_NUMBER; ++i) { for (i = 0; i < MPC55XX_DSPI_NUMBER; ++i) {
device_name [8] = '0' + i; device_name [8] = (char) ('0' + i);
rv = rtems_libi2c_register_bus( device_name, (rtems_libi2c_bus_t *) &mpc55xx_dspi_bus_table [i]); rv = rtems_libi2c_register_bus( device_name, (rtems_libi2c_bus_t *) &mpc55xx_dspi_bus_table [i]);
CHECK_RVSC( rv, device_name); CHECK_RVSC( rv, device_name);
} }

View File

@@ -1,3 +1,23 @@
/**
* @file
*
* @ingroup mpc55xx
*
* @brief Some tests.
*/
/*
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
*
* The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/
#include <stdio.h> #include <stdio.h>
#include <rtems/irq.h> #include <rtems/irq.h>