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>
* boards/common/hwinit.c (hwinit0): Define here.
* boards/*/board.c (hwinit0): Removed.
* polarssl-0.14.0/library/aes.c (FT0, FT1, FT2): Specify the
section ".sys", so that we will have more room for flash ROM.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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