cleanup hwinit0

This commit is contained in:
NIIBE Yutaka
2012-05-28 11:48:35 +09:00
parent f072de436b
commit 54f52838ef
10 changed files with 5 additions and 52 deletions

View File

@@ -1,5 +1,8 @@
2012-05-28 Niibe Yutaka <gniibe@fsij.org> 2012-05-28 Niibe Yutaka <gniibe@fsij.org>
* boards/common/hwinit.c (hwinit0): Define here.
* boards/*/board.c (hwinit0): Removed.
* polarssl-0.14.0/library/aes.c (FT0, FT1, FT2): Specify the * polarssl-0.14.0/library/aes.c (FT0, FT1, FT2): Specify the
section ".sys", so that we will have more room for flash ROM. section ".sys", so that we will have more room for flash ROM.

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0(void)
{
hwinit0_common ();
}
void void
hwinit1(void) hwinit1(void)
{ {

View File

@@ -4,12 +4,6 @@
#include "../common/hwinit.c" #include "../common/hwinit.c"
void
hwinit0 (void)
{
hwinit0_common ();
}
void void
hwinit1 (void) hwinit1 (void)
{ {

View File

@@ -29,10 +29,8 @@
* This initialization is performed just after reset before BSS and DATA * This initialization is performed just after reset before BSS and DATA
* segments initialization. * segments initialization.
*/ */
/* void
* Common code for hwinit0 hwinit0 (void)
*/
static void hwinit0_common (void)
{ {
#ifdef DFU_SUPPORT #ifdef DFU_SUPPORT
SCB->VTOR = 0x08003000; SCB->VTOR = 0x08003000;