From: Mike Frysinger Date: Wed, 2 Sep 2009 05:18:30 -0400 Subject: [U-Boot] [PATCH 9/8] Blackfin: enable 64bit printf for nand In-Reply-To: <1251882972-15942-1-git-send-email-vapier@gentoo.org> References: <1251882972-15942-1-git-send-email-vapier@gentoo.org> Message-ID: <1251883110-16019-1-git-send-email-vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Since the NAND code now uses 64bit code, make sure we enable support for ADI Blackfin boards in printf to avoid the warning: nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! Signed-off-by: Mike Frysinger --- blah, one more ... include/configs/bfin_adi_common.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index b615c79..00bfc6e 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -87,6 +87,9 @@ # define CONFIG_CMD_SPIBOOTLDR # endif #endif +#ifdef CONFIG_CMD_NAND +# define CONFIG_SYS_64BIT_VSPRINTF +#endif /* * Console Settings -- 1.6.4.2