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