diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-14 14:50:42 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-14 15:11:17 +0800 |
commit | 2bb05eaa651cb22a6d2fceada7082b192aa7daf2 (patch) | |
tree | aade2b5a946115f3d965dc615174edc6eb4a7e10 /include | |
parent | c06971be58b28b61bcb4fc348b1f14d18a24c55e (diff) | |
download | u-boot-imx-2bb05eaa651cb22a6d2fceada7082b192aa7daf2.zip u-boot-imx-2bb05eaa651cb22a6d2fceada7082b192aa7daf2.tar.gz u-boot-imx-2bb05eaa651cb22a6d2fceada7082b192aa7daf2.tar.bz2 |
ENGR00209059 android: refine fastboot and recovery support.imx-android-r13.3
1. add check asrc register to enter recovery mode,
rather then check the file.
2. fix the boot.img can not fastboot flash function.
3. consolidate and cleanup fastboot code.
4. clean up many build warnning message.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fastboot.h | 6 | ||||
-rw-r--r-- | include/usb/imx_udc.h | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index b0bcaef..dfca793 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -3,7 +3,7 @@ * Windriver, <www.windriver.com> * Tom Rix <Tom.Rix@windriver.com> * - * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. + * Copyright (C) 2010-2012 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -326,6 +326,9 @@ int fastboot_flash_read_ext(fastboot_ptentry *ptn, int fastboot_flash_write(fastboot_ptentry *ptn, unsigned extra_per_page, const void *data, unsigned bytes); +/* 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[]); #else @@ -350,6 +353,7 @@ int fastboot_flash_write(fastboot_ptentry *ptn, unsigned extra_per_page, #define fastboot_flash_read_ext(a, b, c, d, e) 0 #define fastboot_flash_read(a, b, c, d, e) 0 #define fastboot_flash_write(a, b, c, d) 0 +#define do_fastboot(a, b, c, d) 0 #endif /* CONFIG_FASTBOOT */ #endif /* FASTBOOT_H */ diff --git a/include/usb/imx_udc.h b/include/usb/imx_udc.h index ca751ff..4e89d68 100644 --- a/include/usb/imx_udc.h +++ b/include/usb/imx_udc.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. + * Copyright (C) 2010-2012 Freescale Semiconductor, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -483,7 +483,8 @@ void udc_setup_ep(struct usb_device_instance *device, int udc_endpoint_write(struct usb_endpoint_instance *epi); void udc_irq(void); void usb_shutdown(void); - +void mxc_udc_rxqueue_update(u8 ep, u32 len); int is_usb_disconnected(void); +void reset_usb_phy1(); #endif |