From patchwork Tue Sep 13 07:10:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 114444 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 2281EB70C7 for ; Tue, 13 Sep 2011 17:13:22 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EDB83282B2; Tue, 13 Sep 2011 09:12:49 +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 J0EtHApmeqre; Tue, 13 Sep 2011 09:12:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C44C828269; Tue, 13 Sep 2011 09:11:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E6912822A for ; Tue, 13 Sep 2011 09:11:05 +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 V76VWSUmSkNl for ; Tue, 13 Sep 2011 09:11:04 +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 mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 2B5DB282B5 for ; Tue, 13 Sep 2011 09:10:49 +0200 (CEST) Received: by mail-bw0-f44.google.com with SMTP id q10so194975bka.3 for ; Tue, 13 Sep 2011 00:10:49 -0700 (PDT) Received: by 10.204.132.70 with SMTP id a6mr2114036bkt.45.1315897849561; Tue, 13 Sep 2011 00:10:49 -0700 (PDT) Received: from localhost ([178.23.216.97]) by mx.google.com with ESMTPS id f15sm459181bke.2.2011.09.13.00.10.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Sep 2011 00:10:49 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de Date: Tue, 13 Sep 2011 09:10:08 +0200 Message-Id: <1315897821-23049-14-git-send-email-monstr@monstr.eu> X-Mailer: git-send-email 1.5.5.1 In-Reply-To: <1315897821-23049-13-git-send-email-monstr@monstr.eu> References: <1315897821-23049-1-git-send-email-monstr@monstr.eu> <1315897821-23049-2-git-send-email-monstr@monstr.eu> <1315897821-23049-3-git-send-email-monstr@monstr.eu> <1315897821-23049-4-git-send-email-monstr@monstr.eu> <1315897821-23049-5-git-send-email-monstr@monstr.eu> <1315897821-23049-6-git-send-email-monstr@monstr.eu> <1315897821-23049-7-git-send-email-monstr@monstr.eu> <1315897821-23049-8-git-send-email-monstr@monstr.eu> <1315897821-23049-9-git-send-email-monstr@monstr.eu> <1315897821-23049-10-git-send-email-monstr@monstr.eu> <1315897821-23049-11-git-send-email-monstr@monstr.eu> <1315897821-23049-12-git-send-email-monstr@monstr.eu> <1315897821-23049-13-git-send-email-monstr@monstr.eu> Subject: [U-Boot] [PATCH 13/26] microblaze: Initialize jumptable and console X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This changes were done to get support for netconsole. Signed-off-by: Michal Simek --- v2: Fix commit message v3: Fix coding style --- arch/microblaze/lib/board.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index af33a15..75748f3 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -165,6 +165,12 @@ void board_init (void) /* Initialize stdio devices */ stdio_init (); + /* Initialize the jump table for applications */ + jumptable_init(); + + /* Initialize the console (after the relocation and devices init) */ + console_init_r(); + if ((s = getenv ("loadaddr")) != NULL) { load_addr = simple_strtoul (s, NULL, 16); }