mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-02 20:23:12 +01:00
arm, davinci: Fix build warnings for cam_enc_4xx
This patch fixes a build warning for the cam_enc_4xx board introduced by commit d6ec0c0dfc70447cf615ae80a952da81f73f16b4: spl.c:35:13: warning: 'gdata' defined but not used spl.c:36:13: warning: 'bdata' defined but not used Signed-off-by: Christian Riesch <christian.riesch@omicron.at> Cc: Tom Rini <trini@ti.com> Cc: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
13b178edc2
commit
8f7431400a
1 changed files with 3 additions and 2 deletions
|
|
@ -29,13 +29,14 @@
|
|||
#include <malloc.h>
|
||||
#include <spi_flash.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
/* Define global data structure pointer to it*/
|
||||
static gd_t gdata __attribute__ ((section(".data")));
|
||||
static bd_t bdata __attribute__ ((section(".data")));
|
||||
|
||||
#ifndef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
#else
|
||||
|
||||
void puts(const char *str)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue