mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
TMS570: Clean up misc. build issues
This commit is contained in:
@@ -62,7 +62,9 @@
|
||||
|
||||
#include "chip/tms570_sys.h"
|
||||
#include "chip/tms570_esm.h"
|
||||
#include "chip/tms570_pbist.h"
|
||||
#include "tms570_clockconfig.h"
|
||||
#include "tms570_selftest.h"
|
||||
#include "tms570_gio.h"
|
||||
#include "tms570_boot.h"
|
||||
|
||||
@@ -231,7 +233,7 @@ void arm_boot(void)
|
||||
|
||||
/* Run the memory selftest on CPU RAM. */
|
||||
|
||||
tms570_memtest_start(PBIST_RINFOL_ESRAM1_RAM)
|
||||
tms570_memtest_start(PBIST_RINFOL_ESRAM1_RAM);
|
||||
ASSERT(tms570_memtest_complete() == 0);
|
||||
#endif /* CONFIG_TMS570_SELFTEST */
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ static int tms3570_gio_interrupt(int irq, void *context)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void tms570_gioirqinitialize(void)
|
||||
void tms570_gioirq_initialize(void)
|
||||
{
|
||||
/* Disable all pin interrupts on the pin. Make sure they are all level 0. */
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/tms570_vim.h"
|
||||
#include "tms570_gio.h"
|
||||
#include "tms570_irq.h"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -207,7 +208,7 @@ uint32_t *arm_decodeirq(uint32_t *regs)
|
||||
int vector;
|
||||
|
||||
/* Check for a VRAM parity error. This is not to critical in this
|
||||
* implementatin since VIM RAM is not used.
|
||||
* implementation since VIM RAM is not used.
|
||||
*/
|
||||
#warning Missing logic
|
||||
|
||||
@@ -225,9 +226,6 @@ uint32_t *arm_decodeirq(uint32_t *regs)
|
||||
regs = arm_doirq(vector - 1, regs);
|
||||
}
|
||||
|
||||
/* Acknowledge interrupt */
|
||||
#warning Verify not needed
|
||||
|
||||
return regs;
|
||||
}
|
||||
|
||||
@@ -252,7 +250,7 @@ uint32_t *arm_decodefiq(FAR uint32_t *regs)
|
||||
int vector;
|
||||
|
||||
/* Check for a VRAM parity error. This is not to critical in this
|
||||
* implementatin since VIM RAM is not used.
|
||||
* implementation since VIM RAM is not used.
|
||||
*/
|
||||
#warning Missing logic
|
||||
|
||||
@@ -267,12 +265,9 @@ uint32_t *arm_decodefiq(FAR uint32_t *regs)
|
||||
* number offset by one to skip over the "phantom" vector.
|
||||
*/
|
||||
|
||||
regs = arm_doirq(vector - 1, regs)
|
||||
regs = arm_doirq(vector - 1, regs);
|
||||
}
|
||||
|
||||
/* Acknowledge interrupt */
|
||||
#warning Verify not needed
|
||||
|
||||
return regs;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "tms570_selftest.h"
|
||||
|
||||
#ifdef CONFIG_TMS570_SELFTEST
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef CONFIG_TMS570_SELFTEST
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user