From 04d02cae9ca8da4d1efe55a9d6293c5e1a6c9879 Mon Sep 17 00:00:00 2001 From: b02247 Date: Wed, 16 Jan 2013 12:55:59 +0800 Subject: ENGR00240261 support fastboot for nand boot in sabreauto_android Add partition table for nand boot. Signed-off-by: b02247 --- include/configs/mx6dl_sabreauto_nand_android.h | 2 ++ include/configs/mx6q_sabreauto_nand_android.h | 2 ++ include/configs/mx6solo_sabreauto_nand_android.h | 2 ++ 3 files changed, 6 insertions(+) (limited to 'include/configs') diff --git a/include/configs/mx6dl_sabreauto_nand_android.h b/include/configs/mx6dl_sabreauto_nand_android.h index c653f36..8cf595c 100644 --- a/include/configs/mx6dl_sabreauto_nand_android.h +++ b/include/configs/mx6dl_sabreauto_nand_android.h @@ -29,6 +29,7 @@ #define CONFIG_IMX_UDC 1 #define CONFIG_FASTBOOT 1 #define CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_CMD_NAND_LOCK_UNLOCK #define CONFIG_FASTBOOT_VENDOR_ID 0x18d1 #define CONFIG_FASTBOOT_PRODUCT_ID 0x0d02 #define CONFIG_FASTBOOT_BCD_DEVICE 0x311 @@ -73,5 +74,6 @@ "netdev=eth0\0" \ "ethprime=FEC0\0" \ "fastboot_dev=mmc2\0" \ + "fbparts=16m@16m(boot) 128m@32m(recovery) 810m@160m(android_root)\0" \ "bootcmd=nand read 0x12800000 0x1000000 0x500000;booti 0x12800000\0" #endif diff --git a/include/configs/mx6q_sabreauto_nand_android.h b/include/configs/mx6q_sabreauto_nand_android.h index dbc22a9..b55fcb5 100644 --- a/include/configs/mx6q_sabreauto_nand_android.h +++ b/include/configs/mx6q_sabreauto_nand_android.h @@ -30,6 +30,7 @@ #define CONFIG_FASTBOOT 1 #define CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_CMD_NAND_LOCK_UNLOCK #define CONFIG_FASTBOOT_VENDOR_ID 0x18d1 #define CONFIG_FASTBOOT_PRODUCT_ID 0x0d02 #define CONFIG_FASTBOOT_BCD_DEVICE 0x311 @@ -75,5 +76,6 @@ "netdev=eth0\0" \ "ethprime=FEC0\0" \ "fastboot_dev=mmc2\0" \ + "fbparts=16m@16m(boot) 128m@32m(recovery) 810m@160m(android_root)\0" \ "bootcmd=nand read 0x12800000 0x1000000 0x500000;booti 0x12800000\0" #endif diff --git a/include/configs/mx6solo_sabreauto_nand_android.h b/include/configs/mx6solo_sabreauto_nand_android.h index e5e05d4..e74cbdc 100644 --- a/include/configs/mx6solo_sabreauto_nand_android.h +++ b/include/configs/mx6solo_sabreauto_nand_android.h @@ -29,6 +29,7 @@ #define CONFIG_IMX_UDC 1 #define CONFIG_FASTBOOT 1 #define CONFIG_FASTBOOT_STORAGE_NAND +#define CONFIG_CMD_NAND_LOCK_UNLOCK #define CONFIG_FASTBOOT_VENDOR_ID 0x18d1 #define CONFIG_FASTBOOT_PRODUCT_ID 0x0d02 #define CONFIG_FASTBOOT_BCD_DEVICE 0x311 @@ -73,5 +74,6 @@ "netdev=eth0\0" \ "ethprime=FEC0\0" \ "fastboot_dev=mmc2\0" \ + "fbparts=16m@16m(boot) 128m@32m(recovery) 810m@160m(android_root)\0" \ "bootcmd=nand read 0x12800000 0x1000000 0x500000;booti 0x12800000\0" #endif -- cgit v1.1