public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH atmel/next 4/7] at91rm9200ek: use atmel_usart
Date: Sun, 12 Jun 2011 13:49:14 +0200	[thread overview]
Message-ID: <1307879357-97986-5-git-send-email-andreas.devel@googlemail.com> (raw)
In-Reply-To: <1307879357-97986-1-git-send-email-andreas.devel@googlemail.com>

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 board/atmel/at91rm9200ek/at91rm9200ek.c |    7 +++++++
 include/configs/at91rm9200ek.h          |    7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/board/atmel/at91rm9200ek/at91rm9200ek.c b/board/atmel/at91rm9200ek/at91rm9200ek.c
index 5ebc24d..ec0daba 100644
--- a/board/atmel/at91rm9200ek/at91rm9200ek.c
+++ b/board/atmel/at91rm9200ek/at91rm9200ek.c
@@ -31,6 +31,7 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pio.h>
 #include <asm/arch/at91_pmc.h>
+#include <asm/arch/at91_common.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -54,6 +55,12 @@ int board_init(void)
 	return 0;
 }
 
+int board_early_init_f(void)
+{
+	at91_seriald_hw_init();
+	return 0;
+}
+
 int dram_init (void)
 {
 	/* dram_init must store complete ramsize in gd->ram_size */
diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h
index ee199ab..b847798 100644
--- a/include/configs/at91rm9200ek.h
+++ b/include/configs/at91rm9200ek.h
@@ -73,6 +73,8 @@
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG
 
+#define CONFIG_BOARD_EARLY_INIT_F
+
 /*
  * Memory Configuration
  */
@@ -123,8 +125,9 @@
  * CONFIG_DBGU is DBGU unit on J10
  * CONFIG_USART1 is USART1 on J14
  */
-#define CONFIG_AT91RM9200_USART
-#define CONFIG_DBGU
+#define CONFIG_ATMEL_USART
+#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_BAUDRATE			115200
-- 
1.7.5.4

  parent reply	other threads:[~2011-06-12 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12 11:49 [U-Boot] [PATCH atmel/next 0/7] replace at91rm9200_usart by atmel_usart Andreas Bießmann
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 1/7] arm920t/at91: add clock.c Andreas Bießmann
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 2/7] arm920t/at91: use new clock.c features Andreas Bießmann
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 3/7] arm920t/at91: add at91rm9200_devices.c Andreas Bießmann
2011-06-12 11:49 ` Andreas Bießmann [this message]
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 5/7] eb_cpux9k2: use atmel_usart Andreas Bießmann
2011-06-26 18:10   ` Jens Scharsig
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 6/7] cpuat91: " Andreas Bießmann
2011-06-12 11:49 ` [U-Boot] [PATCH atmel/next 7/7] driver/serial: delete at91rm9200_usart Andreas Bießmann
2011-06-30  8:42 ` [U-Boot] [PATCH atmel/next 0/7] replace at91rm9200_usart by atmel_usart Reinhard Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307879357-97986-5-git-send-email-andreas.devel@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox