From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Sun, 12 Jun 2011 13:49:15 +0200 Subject: [U-Boot] [PATCH atmel/next 5/7] eb_cpux9k2: use atmel_usart In-Reply-To: <1307879357-97986-1-git-send-email-andreas.devel@googlemail.com> References: <1307879357-97986-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <1307879357-97986-6-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Andreas Bie?mann CC: Jens Scharsig --- board/BuS/eb_cpux9k2/cpux9k2.c | 7 +++++++ include/configs/eb_cpux9k2.h | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c index e9a1cb2..a918b04 100644 --- a/board/BuS/eb_cpux9k2/cpux9k2.c +++ b/board/BuS/eb_cpux9k2/cpux9k2.c @@ -33,6 +33,7 @@ #include #include #include +#include #ifdef CONFIG_STATUS_LED #include @@ -77,6 +78,12 @@ int board_init(void) return 0; } +int board_early_init_f(void) +{ + at91_seriald_hw_init(); + return 0; +} + #ifdef CONFIG_MISC_INIT_R int misc_init_r(void) diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h index 25b28f5..c4b1e65 100644 --- a/include/configs/eb_cpux9k2.h +++ b/include/configs/eb_cpux9k2.h @@ -39,6 +39,7 @@ #include /* needed for port definitions */ #define CONFIG_MISC_INIT_R +#define CONFIG_BOARD_EARLY_INIT_F /*--------------------------------------------------------------------------*/ #define CONFIG_SYS_TEXT_BASE 0x00000000 @@ -174,8 +175,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 19200, 38400, 57600, 9600 } #define CONFIG_BAUDRATE 115200 -#define CONFIG_AT91RM9200_USART -#define CONFIG_DBGU /* define DBGU as console */ +#define CONFIG_ATMEL_USART +#define CONFIG_USART_BASE ATMEL_BASE_DBGU +#define CONFIG_USART_ID 0/* ignored in arm */ /* * network -- 1.7.5.4