summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/fastboot.h1
-rw-r--r--include/recovery.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index dfca793..f0ed108 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -329,6 +329,7 @@ int fastboot_flash_write(fastboot_ptentry *ptn, unsigned extra_per_page,
/* Check the board special boot mode reboot to fastboot mode. */
int fastboot_check_and_clean_flag(void);
int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
+void check_fastboot_mode(void);
#else
diff --git a/include/recovery.h b/include/recovery.h
index 5dde01d..d3f6e55 100644
--- a/include/recovery.h
+++ b/include/recovery.h
@@ -28,5 +28,6 @@ struct reco_envs {
};
int check_and_clean_recovery_flag(void);
+void check_recovery_mode(void);
#endif