TMS570: Clean up misc. build issues

This commit is contained in:
Gregory Nutt
2015-12-26 08:18:52 -06:00
parent c58393cb4d
commit 9c1b677bd5
5 changed files with 12 additions and 11 deletions
+3 -1
View File
@@ -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 */
+1 -1
View File
@@ -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. */
+4 -9
View File
@@ -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
+2
View File
@@ -45,6 +45,8 @@
#include <nuttx/config.h>
#include <stdint.h>
#include "tms570_selftest.h"
#ifdef CONFIG_TMS570_SELFTEST
+2
View File
@@ -42,6 +42,8 @@
#include <nuttx/config.h>
#include <stdint.h>
#ifdef CONFIG_TMS570_SELFTEST
/****************************************************************************