forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
* startup/bspclean.c, startup/sd-card-init.c, tests/tests.c:
|
||||
|
||||
@@ -43,7 +43,7 @@ extern unsigned int bsp_clock_speed;
|
||||
/** @brief Time base clicks per micro second */
|
||||
extern uint32_t bsp_clicks_per_usec;
|
||||
|
||||
rtems_status_code mpc55xx_sd_card_init();
|
||||
rtems_status_code mpc55xx_sd_card_init( void);
|
||||
|
||||
#endif /* ASM */
|
||||
|
||||
|
||||
@@ -3,19 +3,17 @@
|
||||
*
|
||||
* @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
|
||||
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
|
||||
*/
|
||||
|
||||
@@ -3,19 +3,17 @@
|
||||
*
|
||||
* @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
|
||||
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
|
||||
*/
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
|
||||
*/
|
||||
|
||||
#include <bsp/bootcard.h>
|
||||
|
||||
void bsp_cleanup(void)
|
||||
{
|
||||
/* TODO - Add something BSP specific here */
|
||||
|
||||
@@ -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 <mpc55xx/mpc55xx.h>
|
||||
@@ -60,7 +80,7 @@ static rtems_status_code mpc55xx_dspi_init(void)
|
||||
|
||||
mpc55xx_dspi_bus_table [3].master = 0;
|
||||
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]);
|
||||
CHECK_RVSC( rv, device_name);
|
||||
}
|
||||
|
||||
@@ -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 <rtems/irq.h>
|
||||
|
||||
Reference in New Issue
Block a user