From patchwork Wed Jun 1 06:24:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 98126 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 9C6DEB6F7E for ; Wed, 1 Jun 2011 16:30:11 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BA293281BA; Wed, 1 Jun 2011 08:30:09 +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 GvqarRweLMxs; Wed, 1 Jun 2011 08:30:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EB25B281BB; Wed, 1 Jun 2011 08:30:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2517E281BD for ; Wed, 1 Jun 2011 08:30: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 Ok326TZPThzd for ; Wed, 1 Jun 2011 08:30:03 +0200 (CEST) X-policyd-weight: IN_SBL_XBL_SPAMHAUS=4.35 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pollux.denx.de (p4FD634B4.dip.t-dialin.net [79.214.52.180]) by theia.denx.de (Postfix) with ESMTP id 1F6F7281BB for ; Wed, 1 Jun 2011 08:30:01 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 03F0818565C91; Wed, 1 Jun 2011 08:24:13 +0200 (CEST) From: Heiko Schocher To: u-boot@lists.denx.de Date: Wed, 1 Jun 2011 08:24:07 +0200 Message-Id: <1306909447-19603-3-git-send-email-hs@denx.de> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1306909447-19603-1-git-send-email-hs@denx.de> References: <1306909447-19603-1-git-send-email-hs@denx.de> Cc: Heiko Schocher Subject: [U-Boot] [PATCH] post, memory test: add memory_post_test() to include file 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 include is needed, if this memory test is used "outside" from post code, for example booting with nand_spl, and using this memory test before copying u-boot code to RAM and jumping to it. Signed-off-by: Heiko Schocher --- include/post.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/post.h b/include/post.h index 519cef1..cda6e76 100644 --- a/include/post.h +++ b/include/post.h @@ -187,6 +187,7 @@ extern int post_hotkeys_pressed(void); #define CONFIG_SYS_POST_CODEC 0x00200000 #define CONFIG_SYS_POST_COPROC 0x00400000 +int memory_post_test(int flags); #endif /* CONFIG_POST */ #endif /* _POST_H */