summaryrefslogtreecommitdiff
path: root/include/configs/km/kmp204x-common.h
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2014-01-27 10:49:10 (GMT)
committerYork Sun <yorksun@freescale.com>2014-02-03 16:38:50 (GMT)
commitcf7707a1df14e644d378c6d36f27e17dd666ac34 (patch)
treea337d04dd691b08e97569481e2c4742cbf458c7d /include/configs/km/kmp204x-common.h
parent1f07a71b965d751864dd1064d6c848500d30a090 (diff)
downloadu-boot-cf7707a1df14e644d378c6d36f27e17dd666ac34.tar.xz
KM: add the KM_UBI_PART_BOOT_OPTS #define
This define can be used if the ubi boot partition (defined for all Keymile boards with KM_UBI_PARTITION_NAME_BOOT #define to ubi0) needs some additionnal boot options. This is the case for the kmp204x boards since u-boot does not support NAND Flash subpage accesses on this platform, an additionnal argument that defines the VID offstet must be given to the kernel. The UBI cmd line option now looks like this "ubi.mtd=ubi0,2048" on this platform. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/km/kmp204x-common.h')
-rw-r--r--include/configs/km/kmp204x-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index afb2246..e55b722 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -15,6 +15,10 @@
#define CONFIG_KM_DEF_NETDEV "netdev=eth0\0"
+/* an additionnal option is required for UBI as subpage access is
+ * supported in u-boot */
+#define CONFIG_KM_UBI_PART_BOOT_OPTS ",2048"
+
#define CONFIG_NAND_ECC_BCH
/* common KM defines */