summaryrefslogtreecommitdiff
path: root/board/freescale/mx6q_sabresd
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2012-10-19 14:26:00 +0800
committerTerry Lv <r65388@freescale.com>2012-10-19 14:28:02 +0800
commite4ab626ad1067aa9c3491d8888c8d402bcdca547 (patch)
treef2d27a06191c2d6f09bd50515e4960ad840a33dc /board/freescale/mx6q_sabresd
parent8397d1de635e0c781805423f9a379b8b3893db0b (diff)
downloadu-boot-imx-e4ab626ad1067aa9c3491d8888c8d402bcdca547.zip
u-boot-imx-e4ab626ad1067aa9c3491d8888c8d402bcdca547.tar.gz
u-boot-imx-e4ab626ad1067aa9c3491d8888c8d402bcdca547.tar.bz2
ENGR00230391: Fix build fail issue of sata
Fix build fail issue of sata. mx6q_arm2.c: In function 'sata_initialize': mx6q_arm2.c:261:6: error: 'sata_curr_device' undeclared (first use in this function) mx6q_arm2.c:261:6: note: each undeclared identifier is reported only once for each function it appears in mx6q_arm2.c:299:2: warning: implicit declaration of function '__sata_initialize' [-Wimplicit-function-declaration] mx6q_arm2.c: In function 'setup_sata': mx6q_arm2.c:346:6: error: 'sata_curr_device' undeclared (first use in this function) mx6q_arm2.c: At top level: mx6q_arm2.c:81:12: warning: 'system_rev' defined but not used [-Wunused-variable] make[1]: *** [mx6q_arm2.o] Error 1 Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale/mx6q_sabresd')
-rw-r--r--board/freescale/mx6q_sabresd/mx6q_sabresd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
index 2a82329..f3ae259 100644
--- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c
+++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
@@ -92,11 +92,12 @@ static enum boot_device boot_dev;
#define USB_OTG_PWR IMX_GPIO_NR(3, 22)
#define USB_H1_POWER IMX_GPIO_NR(1, 29)
+extern int sata_curr_device;
+
#ifdef CONFIG_VIDEO_MX5
extern unsigned char fsl_bmp_reversed_600x400[];
extern int fsl_bmp_reversed_600x400_size;
extern int g_ipu_hw_rev;
-extern int sata_curr_device;
#if defined(CONFIG_BMP_8BPP)
unsigned short colormap[256];