summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-07-26 14:27:31 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-12 11:05:53 -0400
commit2e3e13aab2b9c991328726fe5134a6de8cba5104 (patch)
treec820c88f98fcb2d6db4665807dc76ad9b1d1a822 /lib_arm
parent8709d37d0811e3e60ccdaf09c4fbfbb63b6d65dc (diff)
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 a9b87b5d9c..1e7f0ba238 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"