From patchwork Tue Jul 31 19:21:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 174321 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 2876D2C00B0 for ; Wed, 1 Aug 2012 05:22:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A4582811F; Tue, 31 Jul 2012 21:22:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wYmNCGH-wTla; Tue, 31 Jul 2012 21:22:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6EF4A2808B; Tue, 31 Jul 2012 21:22:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AFC8628081 for ; Tue, 31 Jul 2012 21:22:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id smiEwhPO5t6r for ; Tue, 31 Jul 2012 21:22:15 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe005.messaging.microsoft.com [216.32.181.185]) by theia.denx.de (Postfix) with ESMTPS id 45B24280E8 for ; Tue, 31 Jul 2012 21:22:14 +0200 (CEST) Received: from mail258-ch1-R.bigfish.com (10.43.68.234) by CH1EHSOBE003.bigfish.com (10.43.70.53) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jul 2012 19:22:12 +0000 Received: from mail258-ch1 (localhost [127.0.0.1]) by mail258-ch1-R.bigfish.com (Postfix) with ESMTP id 4D63316C00F8; Tue, 31 Jul 2012 19:22:12 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h839hd24he5bhf0ah107ah) Received: from mail258-ch1 (localhost.localdomain [127.0.0.1]) by mail258-ch1 (MessageSwitch) id 1343762531739146_746; Tue, 31 Jul 2012 19:22:11 +0000 (UTC) Received: from CH1EHSMHS020.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.254]) by mail258-ch1.bigfish.com (Postfix) with ESMTP id A8B29380046; Tue, 31 Jul 2012 19:22:11 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS020.bigfish.com (10.43.70.20) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jul 2012 19:22:09 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.2.298.5; Tue, 31 Jul 2012 14:22:08 -0500 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.240.143]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q6VJM1s2023257; Tue, 31 Jul 2012 12:22:07 -0700 From: Fabio Estevam To: Date: Tue, 31 Jul 2012 16:21:53 -0300 Message-ID: <1343762513-5574-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: marex@denx.de, Fabio Estevam Subject: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be redirected to the serial port. This is needed because in mx53loco.c we have: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { setenv("stdout", "serial"); return 0; } #endif Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- include/configs/mx53loco.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 0a25c7d..bd23387 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -41,6 +41,7 @@ #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_LATE_INIT #define CONFIG_MXC_GPIO #define CONFIG_REVISION_TAG