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:
parent
96ed7cf1b5
commit
4a3b6b964c
@ -48,6 +48,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -40,6 +40,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_arch.h"
|
||||
#include "imx_gpio.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -39,6 +39,8 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_internal.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user