Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298169
b: refs/heads/master
c: 04f1685
h: refs/heads/master
i:
  298167: 51cf84d
v: v3
  • Loading branch information
Armando Visconti authored and David Woodhouse committed Mar 26, 2012
1 parent e70d6da commit 412017d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 59 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7147032485293fc24751e4dede98ff29050fd3bd
refs/heads/master: 04f168524e4b13205404fb46337312c8023d934e
58 changes: 0 additions & 58 deletions trunk/drivers/mtd/nand/fsmc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,64 +269,6 @@ static struct fsmc_eccplace fsmc_ecc4_sp_place = {
}
};

/*
* Default partition tables to be used if the partition information not
* provided through platform data.
*
* Default partition layout for small page(= 512 bytes) devices
* Size for "Root file system" is updated in driver based on actual device size
*/
static struct mtd_partition partition_info_16KB_blk[] = {
{
.name = "X-loader",
.offset = 0,
.size = 4*0x4000,
},
{
.name = "U-Boot",
.offset = 0x10000,
.size = 20*0x4000,
},
{
.name = "Kernel",
.offset = 0x60000,
.size = 256*0x4000,
},
{
.name = "Root File System",
.offset = 0x460000,
.size = MTDPART_SIZ_FULL,
},
};

/*
* Default partition layout for large page(> 512 bytes) devices
* Size for "Root file system" is updated in driver based on actual device size
*/
static struct mtd_partition partition_info_128KB_blk[] = {
{
.name = "X-loader",
.offset = 0,
.size = 4*0x20000,
},
{
.name = "U-Boot",
.offset = 0x80000,
.size = 12*0x20000,
},
{
.name = "Kernel",
.offset = 0x200000,
.size = 48*0x20000,
},
{
.name = "Root File System",
.offset = 0x800000,
.size = MTDPART_SIZ_FULL,
},
};


/**
* struct fsmc_nand_data - structure for FSMC NAND device state
*
Expand Down

0 comments on commit 412017d

Please sign in to comment.