aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorArmando Visconti <armando.visconti@st.com>2012-03-14 02:17:08 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-26 19:57:44 -0400
commit04f168524e4b13205404fb46337312c8023d934e (patch)
tree5712c366a8f56001f87d09a771b13f227e96bf37 /drivers/mtd
parent7147032485293fc24751e4dede98ff29050fd3bd (diff)
mtd: nand/fsmc: Remove default partition information from driver
Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/fsmc_nand.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index 7338d33fe1ed..21d8393d85c4 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -269,64 +269,6 @@ static struct fsmc_eccplace fsmc_ecc4_sp_place = {
269 } 269 }
270}; 270};
271 271
272/*
273 * Default partition tables to be used if the partition information not
274 * provided through platform data.
275 *
276 * Default partition layout for small page(= 512 bytes) devices
277 * Size for "Root file system" is updated in driver based on actual device size
278 */
279static struct mtd_partition partition_info_16KB_blk[] = {
280 {
281 .name = "X-loader",
282 .offset = 0,
283 .size = 4*0x4000,
284 },
285 {
286 .name = "U-Boot",
287 .offset = 0x10000,
288 .size = 20*0x4000,
289 },
290 {
291 .name = "Kernel",
292 .offset = 0x60000,
293 .size = 256*0x4000,
294 },
295 {
296 .name = "Root File System",
297 .offset = 0x460000,
298 .size = MTDPART_SIZ_FULL,
299 },
300};
301
302/*
303 * Default partition layout for large page(> 512 bytes) devices
304 * Size for "Root file system" is updated in driver based on actual device size
305 */
306static struct mtd_partition partition_info_128KB_blk[] = {
307 {
308 .name = "X-loader",
309 .offset = 0,
310 .size = 4*0x20000,
311 },
312 {
313 .name = "U-Boot",
314 .offset = 0x80000,
315 .size = 12*0x20000,
316 },
317 {
318 .name = "Kernel",
319 .offset = 0x200000,
320 .size = 48*0x20000,
321 },
322 {
323 .name = "Root File System",
324 .offset = 0x800000,
325 .size = MTDPART_SIZ_FULL,
326 },
327};
328
329
330/** 272/**
331 * struct fsmc_nand_data - structure for FSMC NAND device state 273 * struct fsmc_nand_data - structure for FSMC NAND device state
332 * 274 *