summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-r4/stack.c
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-20 21:09:45 +0800
committerGrissiom <[email protected]>2013-10-20 21:10:26 +0800
commite1e563e85c831e40c43cb7801434700e779dd750 (patch)
tree7c960f4cf86a345b309e06cb6940a8edf1b61597 /libcpu/arm/cortex-r4/stack.c
parentd3648dbc9fcd2852ff91d0b1ec7b0da31d96db53 (diff)
cortex-r4: remove RM48x50.h and add armv7.h
Diffstat (limited to 'libcpu/arm/cortex-r4/stack.c')
-rw-r--r--libcpu/arm/cortex-r4/stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/cortex-r4/stack.c b/libcpu/arm/cortex-r4/stack.c
index 769e3360ed..3c8e89444c 100644
--- a/libcpu/arm/cortex-r4/stack.c
+++ b/libcpu/arm/cortex-r4/stack.c
@@ -13,7 +13,8 @@
* 2013-05-24 Grissiom port to RM48x50
*/
#include <rtthread.h>
-#include "RM48x50.h"
+
+#include "armv7.h"
/**
* @addtogroup RM48x50
*/
@@ -60,7 +61,6 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
#if defined(__TI_VFP_SUPPORT__) || (defined (__VFP_FP__) && !defined(__SOFTFP__))
#ifndef RT_VFP_LAZY_STACKING
{
- #define VFP_DATA_NR 32
int i;
for (i = 0; i < VFP_DATA_NR; i++)