Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
3432a93b
Commit
3432a93b
authored
13 years ago
by
Andreas Bießmann
Committed by
Albert ARIBAUD
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
at91rm9200ek: use atmel_usart
Signed-off-by:
Andreas Bießmann
<
andreas.devel@googlemail.com
>
parent
d703355f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/atmel/at91rm9200ek/at91rm9200ek.c
+7
-0
7 additions, 0 deletions
board/atmel/at91rm9200ek/at91rm9200ek.c
include/configs/at91rm9200ek.h
+5
-2
5 additions, 2 deletions
include/configs/at91rm9200ek.h
with
12 additions
and
2 deletions
board/atmel/at91rm9200ek/at91rm9200ek.c
+
7
−
0
View file @
3432a93b
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include
<asm/arch/hardware.h>
#include
<asm/arch/hardware.h>
#include
<asm/arch/at91_pio.h>
#include
<asm/arch/at91_pio.h>
#include
<asm/arch/at91_pmc.h>
#include
<asm/arch/at91_pmc.h>
#include
<asm/arch/at91_common.h>
#include
<asm/io.h>
#include
<asm/io.h>
DECLARE_GLOBAL_DATA_PTR
;
DECLARE_GLOBAL_DATA_PTR
;
...
@@ -54,6 +55,12 @@ int board_init(void)
...
@@ -54,6 +55,12 @@ int board_init(void)
return
0
;
return
0
;
}
}
int
board_early_init_f
(
void
)
{
at91_seriald_hw_init
();
return
0
;
}
int
dram_init
(
void
)
int
dram_init
(
void
)
{
{
/* dram_init must store complete ramsize in gd->ram_size */
/* dram_init must store complete ramsize in gd->ram_size */
...
...
This diff is collapsed.
Click to expand it.
include/configs/at91rm9200ek.h
+
5
−
2
View file @
3432a93b
...
@@ -73,6 +73,8 @@
...
@@ -73,6 +73,8 @@
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define CONFIG_INITRD_TAG
#define CONFIG_BOARD_EARLY_INIT_F
/*
/*
* Memory Configuration
* Memory Configuration
*/
*/
...
@@ -123,8 +125,9 @@
...
@@ -123,8 +125,9 @@
* CONFIG_DBGU is DBGU unit on J10
* CONFIG_DBGU is DBGU unit on J10
* CONFIG_USART1 is USART1 on J14
* CONFIG_USART1 is USART1 on J14
*/
*/
#define CONFIG_AT91RM9200_USART
#define CONFIG_ATMEL_USART
#define CONFIG_DBGU
#define CONFIG_USART_BASE ATMEL_BASE_DBGU
#define CONFIG_USART_ID 0
/* ignored in arm */
#define CONFIG_SYS_BAUDRATE_TABLE {115200 , 19200, 38400, 57600, 9600 }
#define CONFIG_SYS_BAUDRATE_TABLE {115200 , 19200, 38400, 57600, 9600 }
#define CONFIG_BAUDRATE 115200
#define CONFIG_BAUDRATE 115200
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment