From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W4Axf-0003Ij-Ju for barebox@lists.infradead.org; Fri, 17 Jan 2014 15:04:03 +0000 From: Sascha Hauer Date: Fri, 17 Jan 2014 16:03:12 +0100 Message-Id: <1389971012-22977-3-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1389971012-22977-1-git-send-email-s.hauer@pengutronix.de> References: <1389971012-22977-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 02/22] ARM: phyCARD-i.MX27: increase barebox partition To: barebox@lists.infradead.org More place for barebox. Signed-off-by: Sascha Hauer --- arch/arm/boards/phycard-i.MX27/env/config | 2 +- arch/arm/boards/phycard-i.MX27/pca100.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boards/phycard-i.MX27/env/config b/arch/arm/boards/phycard-i.MX27/env/config index 9596311..9f10e7d 100644 --- a/arch/arm/boards/phycard-i.MX27/env/config +++ b/arch/arm/boards/phycard-i.MX27/env/config @@ -39,7 +39,7 @@ autoboot_timeout=3 bootargs="console=ttymxc0,115200" -nand_parts="256k(barebox)ro,128k(bareboxenv),2M(kernel),-(root)" +nand_parts="512k(barebox)ro,512k(bareboxenv),2M(kernel),-(root)" rootfs_mtdblock_nand=7 # set a fancy prompt (if support is compiled in) diff --git a/arch/arm/boards/phycard-i.MX27/pca100.c b/arch/arm/boards/phycard-i.MX27/pca100.c index 2ff1b79..7ac0bf6 100644 --- a/arch/arm/boards/phycard-i.MX27/pca100.c +++ b/arch/arm/boards/phycard-i.MX27/pca100.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -287,10 +288,10 @@ static int pca100_devices_init(void) #endif nand = get_device_by_name("nand0"); - devfs_add_partition("nand0", 0x00000, 0x40000, DEVFS_PARTITION_FIXED, "self_raw"); + devfs_add_partition("nand0", 0x00000, SZ_512K, DEVFS_PARTITION_FIXED, "self_raw"); dev_add_bb_dev("self_raw", "self0"); - devfs_add_partition("nand0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env_raw"); + devfs_add_partition("nand0", SZ_512K, SZ_512K, DEVFS_PARTITION_FIXED, "env_raw"); dev_add_bb_dev("env_raw", "env0"); armlinux_set_architecture(2149); -- 1.8.5.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox