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 canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pplsz-0001nZ-91 for barebox@lists.infradead.org; Wed, 16 Feb 2011 18:13:59 +0000 From: Juergen Beisert Date: Wed, 16 Feb 2011 19:13:41 +0100 Message-Id: <1297880025-7184-17-git-send-email-jbe@pengutronix.de> In-Reply-To: <1297880025-7184-1-git-send-email-jbe@pengutronix.de> References: <1297880025-7184-1-git-send-email-jbe@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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 16/20] mini2440: Make it able to save a runtime environment To: barebox@lists.infradead.org Cc: Juergen Beisert From: Juergen Beisert Without this modification saving a modified environment ends with: mini2440:/ saveenv saving environment could not open /dev/env0: Read-only file system Signed-off-by: Juergen Beisert --- arch/arm/boards/mini2440/mini2440.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/mini2440/mini2440.c b/arch/arm/boards/mini2440/mini2440.c index b30a9e2..ae48a51 100644 --- a/arch/arm/boards/mini2440/mini2440.c +++ b/arch/arm/boards/mini2440/mini2440.c @@ -261,11 +261,11 @@ static int mini2440_devices_init(void) /* ----------- add some vital partitions -------- */ devfs_del_partition("self_raw"); devfs_add_partition("nand0", 0x00000, 0x40000, PARTITION_FIXED, "self_raw"); - dev_add_bb_dev("self_raw", NULL); + dev_add_bb_dev("self_raw", "self0"); devfs_del_partition("env_raw"); devfs_add_partition("nand0", 0x40000, 0x20000, PARTITION_FIXED, "env_raw"); - dev_add_bb_dev("env_raw", NULL); + dev_add_bb_dev("env_raw", "env0"); #endif register_device(&mci_dev); armlinux_add_dram(&sdram_dev); -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox