diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-04-20 15:38:24 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-04-24 14:08:32 +0800 |
commit | 6739ea7dfbd9f1cbc9c50973475fb1acc2467f11 (patch) | |
tree | e631489015ea4adc453e0532995f2e8c550682c8 /include | |
parent | 074efa5991c67fc70e4e6497b72da522b528005b (diff) | |
download | u-boot-imx-6739ea7dfbd9f1cbc9c50973475fb1acc2467f11.zip u-boot-imx-6739ea7dfbd9f1cbc9c50973475fb1acc2467f11.tar.gz u-boot-imx-6739ea7dfbd9f1cbc9c50973475fb1acc2467f11.tar.bz2 |
ENGR00180623 fastboot: add fastboot in MX6Q_SABERSD boards
add fastboot function back in MX6Q_SABERSD board.
the MX6DL_SABERSD have usb init related issue which will
keep RESET, but left as later developement.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-mx6/mx6_pins.h | 3 | ||||
-rw-r--r-- | include/configs/mx6dl_sabresd_android.h | 18 | ||||
-rw-r--r-- | include/configs/mx6q_sabresd_android.h | 7 |
3 files changed, 23 insertions, 5 deletions
diff --git a/include/asm-arm/arch-mx6/mx6_pins.h b/include/asm-arm/arch-mx6/mx6_pins.h index bfbf721..4cf9588 100644 --- a/include/asm-arm/arch-mx6/mx6_pins.h +++ b/include/asm-arm/arch-mx6/mx6_pins.h @@ -1582,6 +1582,8 @@ #define _MX6Q_PAD_ENET_REF_CLK__ANATOP_USBPHY1_TSTO_RX_SQUELCH \ IOMUX_PAD(0x04E8, 0x01D4, 7, 0x0000, 0, 0) +#define _MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID \ + IOMUX_PAD(0x04EC, 0x01D8, 0, 0x0000, 0, 0) #define _MX6Q_PAD_ENET_RX_ER__ENET_RX_ER \ IOMUX_PAD(0x04EC, 0x01D8, 1, 0x0000, 0, 0) #define _MX6Q_PAD_ENET_RX_ER__ESAI1_HCKR \ @@ -4452,6 +4454,7 @@ #define MX6Q_PAD_ENET_REF_CLK__SPDIF_SRCLK (_MX6Q_PAD_ENET_REF_CLK__SPDIF_SRCLK | MUX_PAD_CTRL(NO_PAD_CTRL)) #define MX6Q_PAD_ENET_REF_CLK__ANATOP_USBPHY1_TSTO_RX_SQUELCH (_MX6Q_PAD_ENET_REF_CLK__ANATOP_USBPHY1_TSTO_RX_SQUELCH | MUX_PAD_CTRL(NO_PAD_CTRL)) +#define MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID (_MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID | MUX_PAD_CTRL(NO_PAD_CTRL)) #define MX6Q_PAD_ENET_RX_ER__ENET_RX_ER (_MX6Q_PAD_ENET_RX_ER__ENET_RX_ER | MUX_PAD_CTRL(NO_PAD_CTRL)) #define MX6Q_PAD_ENET_RX_ER__ESAI1_HCKR (_MX6Q_PAD_ENET_RX_ER__ESAI1_HCKR | MUX_PAD_CTRL(NO_PAD_CTRL)) #define MX6Q_PAD_ENET_RX_ER__SPDIF_IN1 (_MX6Q_PAD_ENET_RX_ER__SPDIF_IN1 | MUX_PAD_CTRL(NO_PAD_CTRL)) diff --git a/include/configs/mx6dl_sabresd_android.h b/include/configs/mx6dl_sabresd_android.h index 7d836b3..4aee00c 100644 --- a/include/configs/mx6dl_sabresd_android.h +++ b/include/configs/mx6dl_sabresd_android.h @@ -25,6 +25,22 @@ #include <asm/arch/mx6.h> #include "mx6dl_sabresd.h" +#define CONFIG_USB_DEVICE +#define CONFIG_IMX_UDC 1 +#define CONFIG_FASTBOOT 1 +#define CONFIG_FASTBOOT_STORAGE_EMMC_SATA +#define CONFIG_FASTBOOT_VENDOR_ID 0x18d1 +#define CONFIG_FASTBOOT_PRODUCT_ID 0xc01 +#define CONFIG_FASTBOOT_BCD_DEVICE 0x311 +#define CONFIG_FASTBOOT_MANUFACTURER_STR "Freescale" +#define CONFIG_FASTBOOT_PRODUCT_NAME_STR "i.mx6dl Sabre SmartDevice" +#define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot" +#define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" +#define CONFIG_FASTBOOT_SERIAL_NUM "12345" +#define CONFIG_FASTBOOT_SATA_NO 0 +#define CONFIG_FASTBOOT_TRANSFER_BUF 0x30000000 +#define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ + #define CONFIG_CMD_BOOTI #define CONFIG_ANDROID_RECOVERY /* which mmc bus is your main storage ? */ @@ -40,6 +56,7 @@ #define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \ "booti mmc3 recovery" #define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command" +#define CONFIG_INITRD_TAG #undef CONFIG_LOADADDR #undef CONFIG_RD_LOADADDR @@ -53,5 +70,6 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ "ethprime=FEC0\0" \ + "fastboot_dev=mmc3\0" \ "bootcmd=booti mmc3\0" #endif diff --git a/include/configs/mx6q_sabresd_android.h b/include/configs/mx6q_sabresd_android.h index 2f842e5..7a149fd 100644 --- a/include/configs/mx6q_sabresd_android.h +++ b/include/configs/mx6q_sabresd_android.h @@ -24,9 +24,6 @@ #include "mx6q_sabresd.h" -/* Can't enable OTG on this board, if enable kernel will hang very - * early stage */ -#if 0 #define CONFIG_USB_DEVICE #define CONFIG_IMX_UDC 1 #define CONFIG_FASTBOOT 1 @@ -42,13 +39,11 @@ #define CONFIG_FASTBOOT_SATA_NO 0 #define CONFIG_FASTBOOT_TRANSFER_BUF 0x30000000 #define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x10000000 /* 256M byte */ -#endif /* if 0 */ #define CONFIG_CMD_BOOTI #define CONFIG_ANDROID_RECOVERY /* which mmc bus is your main storage ? */ #define CONFIG_ANDROID_MAIN_MMC_BUS 3 - #define CONFIG_ANDROID_BOOT_PARTITION_MMC 1 #define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 5 #define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 2 @@ -73,5 +68,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ "ethprime=FEC0\0" \ + "fastboot_dev=mmc3\0" \ "bootcmd=booti mmc3\0" + #endif |