summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb02247 <b02247@freescale.com>2013-01-16 12:55:59 +0800
committerb02247 <b02247@freescale.com>2013-01-16 13:04:03 +0800
commit04d02cae9ca8da4d1efe55a9d6293c5e1a6c9879 (patch)
tree2a05ec23db3ce2c69bfd723e92ce9bfeccce9e58
parent414014e11074d655ee7c985da2d3ac94a67bb291 (diff)
downloadu-boot-imx-04d02cae9ca8da4d1efe55a9d6293c5e1a6c9879.zip
u-boot-imx-04d02cae9ca8da4d1efe55a9d6293c5e1a6c9879.tar.gz
u-boot-imx-04d02cae9ca8da4d1efe55a9d6293c5e1a6c9879.tar.bz2
ENGR00240261 support fastboot for nand boot in sabreauto_android
Add partition table for nand boot. Signed-off-by: b02247 <b02247@freescale.com>
-rw-r--r--include/configs/mx6dl_sabreauto_nand_android.h2
-rw-r--r--include/configs/mx6q_sabreauto_nand_android.h2
-rw-r--r--include/configs/mx6solo_sabreauto_nand_android.h2
3 files changed, 6 insertions, 0 deletions
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