diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-03-10 15:05:10 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 15:00:32 +0800 |
commit | eefcd91b30a0ee7ae2f0f3d03d4f4e667374443b (patch) | |
tree | d79e3b140ff257a3da4a39e028e32e7d46c65f52 /include/recovery.h | |
parent | b7f153c8b55c4ccccf792de9dd63ece243c72435 (diff) | |
download | u-boot-imx-eefcd91b30a0ee7ae2f0f3d03d4f4e667374443b.zip u-boot-imx-eefcd91b30a0ee7ae2f0f3d03d4f4e667374443b.tar.gz u-boot-imx-eefcd91b30a0ee7ae2f0f3d03d4f4e667374443b.tar.bz2 |
MLK-10774-33 imx:mx6 add udc and fastboot support
Add udc and fastboot support
We did not use the upstream way.
Currently use CI_UDC and USB_GAGDET of upstream can make fastboot work,
but lack of flash operation, so we still use our way.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/recovery.h')
-rw-r--r-- | include/recovery.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/recovery.h b/include/recovery.h new file mode 100644 index 0000000..1e0492a --- /dev/null +++ b/include/recovery.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2010-2014 Freescale Semiconductor, Inc. All Rights Reserved. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __RECOVERY_H_ +#define __RECOVERY_H_ + +struct reco_envs { + char *cmd; + char *args; +}; + +void check_recovery_mode(void); +int recovery_check_and_clean_flag(void); +int check_recovery_cmd_file(void); +void board_recovery_setup(void); + +#endif |