Fixes for recent header file reorganization

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2448 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-12-28 22:59:24 +00:00
parent 96ed7cf1b5
commit 4a3b6b964c
9 changed files with 24 additions and 2 deletions

View File

@ -48,6 +48,7 @@
#include <nuttx/arch.h>
#include <arch/board/board.h>
#include "chip.h"
#include "up_arch.h"
#include "up_internal.h"

View File

@ -41,6 +41,7 @@
#include <nuttx/config.h>
#include <stdint.h>
#include "chip.h"
#include "up_internal.h"
#include "up_arch.h"
@ -210,4 +211,15 @@ void up_boot(void)
/* Perform board-specific initialiation */
imx_boardinitialize();
/* Set up the board-specific LEDs */
#ifdef CONFIG_ARCH_LEDS
up_ledinit();
#endif
/* Perform early serial initialization */
#ifdef CONFIG_USE_EARLYSERIALINIT
up_earlyserialinit();
#endif
}

View File

@ -46,6 +46,7 @@
#include <assert.h>
#include <debug.h>
#include "chip.h"
#include "up_arch.h"
#include "os_internal.h"
#include "up_internal.h"

View File

@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "up_arch.h"
#include "imx_gpio.h"

View File

@ -43,6 +43,7 @@
#include <stdint.h>
#include <nuttx/irq.h>
#include "chip.h"
#include "up_arch.h"
#include "os_internal.h"
#include "up_internal.h"

View File

@ -39,6 +39,8 @@
**************************************************************************/
#include <nuttx/config.h>
#include "chip.h"
#include "up_internal.h"
#include "up_arch.h"

View File

@ -53,7 +53,9 @@
#include <nuttx/arch.h>
#include <nuttx/serial.h>
#include <arch/serial.h>
#include <arch/board/board.h>
#include "chip.h"
#include "up_arch.h"
#include "imx_gpio.h"
#include "os_internal.h"

View File

@ -332,7 +332,7 @@ static void spi_rxnull(struct imx_spidev_s *priv)
(void)spi_getreg(priv, CSPI_RXD_OFFSET);
}
static voidspi_rxuint16(struct imx_spidev_s *priv)
static void spi_rxuint16(struct imx_spidev_s *priv)
{
uint16_t *ptr = (uint16_t*)priv->rxbuffer;
*ptr++ = (uint16_t)spi_getreg(priv, CSPI_TXD_OFFSET);

View File

@ -44,10 +44,12 @@
#include <debug.h>
#include <errno.h>
#include <nuttx/arch.h>
#include <arch/board/board.h>
#include "chip.h"
#include "up_arch.h"
#include "clock_internal.h"
#include "up_internal.h"
#include "up_arch.h"
/****************************************************************************
* Pre-processor Definitions