arm: socfpga: Enabling MTD default partitions
authorChin Liang See <clsee@altera.com>
Mon, 21 Dec 2015 15:01:51 +0000 (23:01 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 03:42:28 +0000 (04:42 +0100)
commit55702fe275b9570418fd71f09c0cab08c02860d1
treebf9579d9d2e036aefc06b12973f3c0ab77590982
parent520b9e0956bf7569bab4943a7f0da4881adaa25d
arm: socfpga: Enabling MTD default partitions

Enabling MTD default partitions if its not defined in board
configuration file. The layout as below
 device nor0 <ff705000.spi.0>, # parts = 6
 #: name                size            offset          mask_flags
 0: u-boot              0x00100000      0x00000000      0
 1: env1                0x00040000      0x00100000      0
 2: env2                0x00040000      0x00140000      0
 3: UBI                 0x03e80000      0x00180000      0
 4: boot                0x00e80000      0x00180000      0
 5: rootfs              0x01000000      0x01000000      0

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
include/configs/socfpga_common.h