Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
4ef37919
Commit
4ef37919
authored
Sep 19, 2011
by
Yuri Tikhonov
Browse files
RT72064. cortexm3: add some more comments, fix-up alignment
Signed-off-by:
Yuri Tikhonov
<
yur@emcraft.com
>
parent
a5a8b975
Changes
8
Hide whitespace changes
Inline
Side-by-side
board/stm/stm3220g-eval/board.c
View file @
4ef37919
...
...
@@ -63,7 +63,7 @@ int misc_init_r(void)
}
/*
* Setup
dynamic
RAM.
* Setup
external
RAM.
*/
int
dram_init
(
void
)
{
...
...
cpu/arm_cortexm3/cmd_cptf.c
View file @
4ef37919
...
...
@@ -23,6 +23,14 @@
#include <string.h>
#include "envm.h"
/*
* Base address and the length of buffer in internal RAM, which
* we use as a source for buffer to be written to eNVM.
* Size of this buffer is set in the configuration file, address
* (position within internal RAM) is calculated automatically, at
* linking stage. Thus, the appropriate symbols are exported from
* the linker script *.lds.
*/
extern
char
_mem_ram_buf_base
,
_mem_ram_buf_size
;
#define SOC_RAM_BUFFER_BASE (ulong)(&_mem_ram_buf_base)
...
...
cpu/arm_cortexm3/cpu.c
View file @
4ef37919
...
...
@@ -55,7 +55,7 @@ int arch_cpu_init(void)
#elif defined(CONFIG_SYS_STM32F2)
gd
->
bd
->
bi_arch_number
=
MACH_TYPE_STM32F2
;
#else
# error "Un
known
Cortex-M3 SOC."
# error "Un
supported
Cortex-M3 SOC."
#endif
/*
...
...
cpu/arm_cortexm3/start.c
View file @
4ef37919
...
...
@@ -20,6 +20,11 @@
#include <string.h>
#include "wdt.h"
/*
* FIXME: move to the appropriate header
*/
unsigned
char
cortex_m3_irq_vec_get
(
void
);
/*
* Declare symbols used in the start-up code
*/
...
...
@@ -39,8 +44,6 @@ extern char _bss_end;
void
_start
(
void
);
void
default_isr
(
void
);
unsigned
char
cortex_m3_irq_vec_get
(
void
);
extern
void
start_armboot
(
void
);
/*
...
...
include/configs/a2f-actel-dev-brd.h
View file @
4ef37919
...
...
@@ -92,13 +92,14 @@
/*
* Memory layout configuration
*/
#define CONFIG_MEM_NVM_BASE
(
0x00000000
)
#define CONFIG_MEM_NVM_BASE 0x00000000
#define CONFIG_MEM_NVM_LEN (256 * 1024)
#define CONFIG_MEM_RAM_BASE (0x20000000)
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
#define CONFIG_MEM_RAM_BASE 0x20000000
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
/*
* malloc() pool size
...
...
include/configs/a2f-hoermann-brd.h
View file @
4ef37919
...
...
@@ -88,13 +88,14 @@
/*
* Memory layout configuration
*/
#define CONFIG_MEM_NVM_BASE
(
0x00000000
)
#define CONFIG_MEM_NVM_BASE 0x00000000
#define CONFIG_MEM_NVM_LEN (256 * 1024)
#define CONFIG_MEM_RAM_BASE (0x20000000)
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
#define CONFIG_MEM_RAM_BASE 0x20000000
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
/*
* malloc() pool size
...
...
include/configs/a2f-lnx-evb.h
View file @
4ef37919
...
...
@@ -89,13 +89,14 @@
/*
* Memory layout configuration
*/
#define CONFIG_MEM_NVM_BASE
(
0x00000000
)
#define CONFIG_MEM_NVM_BASE 0x00000000
#define CONFIG_MEM_NVM_LEN (256 * 1024)
#define CONFIG_MEM_RAM_BASE (0x20000000)
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
#define CONFIG_MEM_RAM_BASE 0x20000000
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
/*
* malloc() pool size
...
...
include/configs/stm3220g-eval.h
View file @
4ef37919
...
...
@@ -82,13 +82,14 @@
/*
* Memory layout configuration
*/
#define CONFIG_MEM_NVM_BASE
(
0x00000000
)
#define CONFIG_MEM_NVM_BASE 0x00000000
#define CONFIG_MEM_NVM_LEN (1024 * 1024)
#define CONFIG_MEM_RAM_BASE (0x20000000)
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
#define CONFIG_MEM_RAM_BASE 0x20000000
#define CONFIG_MEM_RAM_LEN (16 * 1024)
#define CONFIG_MEM_RAM_BUF_LEN (32 * 1024)
#define CONFIG_MEM_MALLOC_LEN (12 * 1024)
#define CONFIG_MEM_STACK_LEN (4 * 1024)
/*
* malloc() pool size
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment