summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-02-26 15:49:34 +0100
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:28 -0500
commitdbb417bc40bec0c59387817174d4fdb4ea28135c (patch)
tree7a35525105c9f7f1a5b9b8ded5bd0c82682280c5 /arch
parent13fbc9a4bee13bd208ace24fc3322596b8794169 (diff)
phyflex-imx6: Remove NAND partition defenition from code
The partition info will added over bootargs Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_phytec-nand.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_phytec-nand.c b/arch/arm/mach-mx6/board-mx6q_phytec-nand.c
index d83c88cbc096..39a464ad5a0b 100644
--- a/arch/arm/mach-mx6/board-mx6q_phytec-nand.c
+++ b/arch/arm/mach-mx6/board-mx6q_phytec-nand.c
@@ -64,40 +64,11 @@ static int __init gpmi_nand_platform_init(void)
return mxc_iomux_v3_setup_multiple_pads(mx6q_gpmi_nand, ARRAY_SIZE(mx6q_gpmi_nand));
}
-/* To be shure with sizes on bootloader, please check definitions in
- barebox-phytec/arch/arm/boards/phyflex-imx6/board.c
- NAND_PART_BAREBOX_SIZE
- NAND_PART_BAREBOXENV_SIZE
- NAND_PART_KERNEL_SIZE
- NAND_PART_ROOT_SIZE
-*/
-static struct mtd_partition phyflex_nand_partitions[] = {
- {
- .name = "bootloader",
- .offset = 0,
- .size = SZ_2M,
- }, {
- .name = "env",
- .offset = MTDPART_OFS_NXTBLK,
- .size = SZ_4M, // SZ_512K,
- }, {
- .name = "kernel",
- .offset = MTDPART_OFS_NXTBLK,
- .size = SZ_8M,
- }, {
- .name = "filesystem",
- .offset = MTDPART_OFS_NXTBLK,
- .size = MTDPART_SIZ_FULL,
- },
-};
-
static const struct gpmi_nand_platform_data mx6_gpmi_nand_platform_data __initconst = {
.platform_init = gpmi_nand_platform_init,
.min_prop_delay_in_ns = 5,
.max_prop_delay_in_ns = 9,
.max_chip_count = 1,
- .partitions = phyflex_nand_partitions,
- .partition_count = ARRAY_SIZE(phyflex_nand_partitions),
.enable_bbt = 1,
};