summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-07-26 14:27:31 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-07-26 14:27:31 +0800
commitd52f815a0dca515559d8239109fbc07a2dd99929 (patch)
treec820c88f98fcb2d6db4665807dc76ad9b1d1a822 /lib_arm
parent2dbfc63a4a0206d31e419d9e595828e6408dce48 (diff)
downloadu-boot-imx-d52f815a0dca515559d8239109fbc07a2dd99929.zip
u-boot-imx-d52f815a0dca515559d8239109fbc07a2dd99929.tar.gz
u-boot-imx-d52f815a0dca515559d8239109fbc07a2dd99929.tar.bz2
ENGR00217401 common: fix build warning
Fix the build warning in uboot build. Fix bug of incorrect dereference to periph2 clock pre divider. Fix incorrect type of maxpackage size assign, even it's not used at all in fastboot. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index a9b87b5..1e7f0ba 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -49,6 +49,12 @@
#include <nand.h>
#include <onenand_uboot.h>
#include <mmc.h>
+#ifdef CONFIG_ANDROID_RECOVERY
+#include <recovery.h>
+#endif
+#ifdef CONFIG_FASTBOOT
+#include <fastboot.h>
+#endif
#ifdef CONFIG_DRIVER_SMC91111
#include "../drivers/net/smc91111.h"