forked from Imagelibrary/rtems
2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/start.h: Define start section attributes.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* shared/include/start.h: Define start section attributes.
|
||||
|
||||
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* shared/irq_init.c: Removed file.
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* startup/bspstarthooks.c: Removed start section attribute defines.
|
||||
|
||||
2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* include/lpc24xx.h, misc/dma-copy.c, misc/dma.c,
|
||||
misc/system-clocks.c, ssp/ssp.c, startup/bspstarthooks.c: Removed
|
||||
superfluous macros.
|
||||
|
||||
2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* Makefile.am, preinstall.am, include/bsp.h, startup/bspstart.c: Use
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#include <bsp/lpc24xx.h>
|
||||
#include <bsp/linker-symbols.h>
|
||||
|
||||
#define BSP_START_SECTION __attribute__((section(".bsp_start")))
|
||||
|
||||
#if defined(LPC24XX_EMC_MICRON) || defined(LPC24XX_EMC_NUMONYX)
|
||||
#define LPC24XX_EMC_INIT
|
||||
#endif
|
||||
@@ -143,7 +141,7 @@ static void BSP_START_SECTION lpc24xx_init_emc_1(void)
|
||||
{
|
||||
#ifdef LPC24XX_EMC_INIT
|
||||
/* Use normal memory map */
|
||||
EMC_CTRL &= ~0x2;
|
||||
EMC_CTRL &= ~0x2U;
|
||||
#endif
|
||||
|
||||
#ifdef LPC24XX_EMC_MICRON
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* @defgroup bsp_start System Start
|
||||
*
|
||||
@@ -34,6 +38,10 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#define BSP_START_SECTION __attribute__((section(".bsp_start")))
|
||||
|
||||
#define BSP_START_DATA_SECTION __attribute__((section(".bsp_start_data")))
|
||||
|
||||
/**
|
||||
* @brief System start entry.
|
||||
*/
|
||||
@@ -71,4 +79,8 @@ void bsp_start_memcpy_arm(int *dest, const int *src, size_t n);
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* LIBBSP_ARM_SHARED_START_H */
|
||||
|
||||
Reference in New Issue
Block a user