From patchwork Sat Sep 10 20:28:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 114198 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 C583BB7252 for ; Sun, 11 Sep 2011 06:28:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F0E6284E8; Sat, 10 Sep 2011 22:28:26 +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 ALYsKU6j87FT; Sat, 10 Sep 2011 22:28:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5BFA8284EA; Sat, 10 Sep 2011 22:28:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1CDFF284EA for ; Sat, 10 Sep 2011 22:28:21 +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 fVOc9svbchsl for ; Sat, 10 Sep 2011 22:28: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-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by theia.denx.de (Postfix) with ESMTP id 0A1BC284E8 for ; Sat, 10 Sep 2011 22:28:17 +0200 (CEST) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3663D1C1D9E1; Sat, 10 Sep 2011 22:28:16 +0200 (CEST) X-Auth-Info: /biYd+ASoAUtD776YVZNqghrC4FEdGdC5QYGnmLNylI= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id E2A6A1C0021D; Sat, 10 Sep 2011 22:28:16 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id BB99FC000A96; Sat, 10 Sep 2011 22:28:16 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id 9EF0B1408770; Sat, 10 Sep 2011 22:28:16 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Sat, 10 Sep 2011 22:28:15 +0200 Message-Id: <1315686495-9133-1-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.6 Cc: Syed Mohammed Khasim Subject: [U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl 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 Fix build problem: nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return Signed-off-by: Wolfgang Denk Cc: Syed Mohammed Khasim Cc: Sughosh Ganu Cc: Albert ARIBAUD --- board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c b/board/davinci/da8xxevm/hawkboard_nand_spl.c index 9155236..e5e65e5 100644 --- a/board/davinci/da8xxevm/hawkboard_nand_spl.c +++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c @@ -28,6 +28,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR;