From patchwork Mon Jul 9 09:20:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 169727 X-Patchwork-Delegate: monstr@monstr.eu 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 8BBA72C0220 for ; Mon, 9 Jul 2012 19:22:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 020BF28132; Mon, 9 Jul 2012 11:21:50 +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 mwDuD2ReNZzp; Mon, 9 Jul 2012 11:21:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A55A728152; Mon, 9 Jul 2012 11:21:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3DC952812E for ; Mon, 9 Jul 2012 11:21:20 +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 LbhjFxX1otX8 for ; Mon, 9 Jul 2012 11:21:19 +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-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by theia.denx.de (Postfix) with ESMTPS id 233DE2815B for ; Mon, 9 Jul 2012 11:21:11 +0200 (CEST) Received: by wibhm6 with SMTP id hm6so2254567wib.9 for ; Mon, 09 Jul 2012 02:21:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=niSof7nXRN27wOefznpuHFJpcZW/EpFncmyDoe4aoM0=; b=Sx9hw5z0ZM6g/5ZORy924AijzM2f0iC6idDJTe+1mVV75+KXahWskQR5Hg0gcl1nYa wWS+MYtth0bV2WNbn+CNkeKwQjW9Y2kxvop1B3cZQ/9joLPqSAxBJ6K8RygbRRbpzVjJ pPnASFAIWJgbD4jkejWq+QedXfMqoNn3J5xhz+BKh84TWK64cSDuc1NOLOVg8xwZ+9WS kDVK6wE7aUDfwYlXQ23lg/MZMwoLh1oz6pIpWYOWBiYKykd1VtwQ4ghk9lGVp7TKVFSv oamCR/2EgV37vE27rlWX6nlHfEp20M4DExe/A5ZkqLNRQyitS3gmRaboJvRunRAAA3Mj nhIQ== Received: by 10.180.103.136 with SMTP id fw8mr27805137wib.20.1341825671493; Mon, 09 Jul 2012 02:21:11 -0700 (PDT) Received: from localhost (11.161.broadband5.iol.cz. [88.100.161.11]) by mx.google.com with ESMTPS id cu1sm13115388wib.6.2012.07.09.02.21.10 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 02:21:10 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de Date: Mon, 9 Jul 2012 11:20:37 +0200 Message-Id: <1341825639-23475-10-git-send-email-monstr@monstr.eu> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1341825639-23475-1-git-send-email-monstr@monstr.eu> References: <1341825639-23475-1-git-send-email-monstr@monstr.eu> X-Gm-Message-State: ALoCoQnwy5IBt85p9XFV1B9ner+M16UVCZoofGIoYxoyvEkQo+9gkKxPgLZmDeILP+/nD6/u4tSi Cc: linz@li-pro.net Subject: [U-Boot] [PATCH 10/12] microblaze: Call serial multi initialization 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Michal Simek Acked-by: Simon Glass --- arch/microblaze/lib/board.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index ddbc862..37ec665 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -118,6 +119,10 @@ void board_init (void) */ mem_malloc_init (CONFIG_SYS_MALLOC_BASE, CONFIG_SYS_MALLOC_LEN); +#ifdef CONFIG_SERIAL_MULTI + serial_initialize(); +#endif + for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) { WATCHDOG_RESET (); if ((*init_fnc_ptr) () != 0) {