From: Tom Rini Date: Tue, 12 Mar 2013 12:45:04 -0400 Subject: [U-Boot] [PATCH] cmd_mem.c: Fix warning when CONFIG_CMD_MEMTEST is not set In-Reply-To: <1363106619-23639-1-git-send-email-trini@ti.com> References: <1363106619-23639-1-git-send-email-trini@ti.com> Message-ID: <20130312164504.GH23324@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Mar 12, 2013 at 12:43:39PM -0400, Tom Rini wrote: > mem_test_quick and mem_test_alt functions are only called by > do_mem_mtest, so move them under the #ifdef > > Signed-off-by: Tom Rini As I've build-tested this on arm (where a few platforms didn't have CONFIG_CMD_MTEST) and one of the PowerPC boards I also saw this on, applied to u-boot/master. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: