summaryrefslogtreecommitdiff
path: root/include
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 /include
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 '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 dfca793281..f0ed108442 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 5dde01df39..d3f6e55042 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