forked from Imagelibrary/rtems
bsp/tms570: correct inclusion of header files for build with HW init.
The build fails when TMS570_USE_HWINIT_STARTUP=1 option is set.
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/tms570.h>
|
||||
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_selftest_parity.h"
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_selftest_parity.h>
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
void bsp_start_hook_0_done( void );
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
|
||||
void bsp_selftest_fail_notification( uint32_t flag )
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
void tms570_emif_sdram_init( void )
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
/**
|
||||
* @brief Error signaling module initialization (HCG:esmInit)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <bsp/tms570.h>
|
||||
#include <bsp/tms570-pinmux.h>
|
||||
#include <rtems.h>
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
/*
|
||||
* To check that content is right generated use
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
#include <stdbool.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include <bsp/tms570-pinmux.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
/**
|
||||
* @brief Setup all system PLLs (HCG:setupPLL)
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
/**
|
||||
* @brief Checks to see if the EFUSE Stuck at zero test is completed successfully (HCG:efcStuckZeroTest).
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_selftest_parity.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_selftest_parity.h>
|
||||
|
||||
/**
|
||||
* @brief run test to check that parity protection works for CAN modules RAM
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_selftest_parity.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_selftest_parity.h>
|
||||
|
||||
/**
|
||||
* @brief run test to check that parity protection works for MibSPI modules RAM
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_selftest_parity.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_selftest_parity.h>
|
||||
|
||||
/**
|
||||
* @brief run test to check that parity protection works for modules with common setup structure.
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
#include <stddef.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include <rtems.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_selftest_parity.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_selftest_parity.h>
|
||||
|
||||
/* HCG:het1ParityCheck */
|
||||
const tms570_selftest_par_desc_t
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <bsp/tms570.h>
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_hwinit.h"
|
||||
#include <bsp/tms570_selftest.h>
|
||||
#include <bsp/tms570_hwinit.h>
|
||||
|
||||
#define tcramA1bitError (*(volatile uint32_t *)(0x08400000U))
|
||||
#define tcramA2bitError (*(volatile uint32_t *)(0x08400010U))
|
||||
|
||||
Reference in New Issue
Block a user