cleanup hwinit0
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0(void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1(void)
|
hwinit1(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,12 +4,6 @@
|
|||||||
|
|
||||||
#include "../common/hwinit.c"
|
#include "../common/hwinit.c"
|
||||||
|
|
||||||
void
|
|
||||||
hwinit0 (void)
|
|
||||||
{
|
|
||||||
hwinit0_common ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hwinit1 (void)
|
hwinit1 (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user