From patchwork Wed May 21 21:04:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ash Charles X-Patchwork-Id: 351301 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EC1DD14007F for ; Thu, 22 May 2014 07:05:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 82E2F4B67C; Wed, 21 May 2014 23:05:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Suzdzv1Nhqxp; Wed, 21 May 2014 23:05:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 298FE4B665; Wed, 21 May 2014 23:05:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 786154B663 for ; Wed, 21 May 2014 23:05:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WPnq2NvepAIr for ; Wed, 21 May 2014 23:05:41 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by theia.denx.de (Postfix) with ESMTPS id 4CED84B659 for ; Wed, 21 May 2014 23:05:34 +0200 (CEST) Received: by mail-pa0-f49.google.com with SMTP id lj1so1745861pab.8 for ; Wed, 21 May 2014 14:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M9WY7hMbKNEKJyqb7a8KWtmRo2Iu9iPBs3Thxw26jls=; b=C7VGM9uM4f0D72oDs5Nt4q/dosMcDcbix/8XGQ30XEhD2/sw9j9whjnU1AD31J8+uC bmgjwO7ee11fKS8GmzkiFkQ0V8Yu5tXGjw5SnLWI2ogPbM7oWyKGlDfNk/wR8gGdz9NU bGK1gPgkrtNbjlFC2rSiIcLB5+uDGQDH8bcUdPFZhIBkqmGhVQqoGaRViiKpXUbcvHpD N5mmnjoFfZwvYVq5475B2rQjrzOeZPvx8+8OBKg6H8E4L6mNK0ZHmq1hc+3ikS9ezC+D MChSUsW4oMz6d8NHarm+2QegPotcSl5Cj7JHQxfdugXpUdTGqet9Y0eViYA4UTeY/1uF iqEQ== X-Received: by 10.66.227.33 with SMTP id rx1mr3549454pac.133.1400706332464; Wed, 21 May 2014 14:05:32 -0700 (PDT) Received: from gumstux.bchsia.telus.net (s206-116-3-18.bc.hsia.telus.net. [206.116.3.18]) by mx.google.com with ESMTPSA id mt1sm9589587pbb.31.2014.05.21.14.05.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 14:05:31 -0700 (PDT) From: Ash Charles To: u-boot@lists.denx.de Date: Wed, 21 May 2014 14:04:50 -0700 Message-Id: <1400706295-31871-5-git-send-email-ashcharles@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400706295-31871-1-git-send-email-ashcharles@gmail.com> References: <1398813328-17365-1-git-send-email-ashcharles@gmail.com> <1400706295-31871-1-git-send-email-ashcharles@gmail.com> Cc: "Peter A. Bigot" , Ash Charles Subject: [U-Boot] [Patch v2 4/9] OMAP3: overo: eliminate hard-coded partition offsets X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The linux kernel is at nand0,3 using the current layout, but is best accessed through the partition label "linux". Since CONFIG_CMD_MTDPARTS is defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition rootfs" to set the default mtd partition for jffs2. Signed-off-by: Peter A. Bigot Tested-by: Ash Charles --- include/configs/omap3_overo.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 321e110..706c8cc 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -154,14 +154,6 @@ /* at CS0 */ #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */ /* devices */ -#define CONFIG_JFFS2_NAND -/* nand device jffs2 lives on */ -#define CONFIG_JFFS2_DEV "nand0" -/* start of jffs2 partition */ -#define CONFIG_JFFS2_PART_OFFSET 0x680000 -#define CONFIG_JFFS2_PART_SIZE 0xf980000 /* size of jffs2 */ - /* partition */ - /* Environment information */ #define CONFIG_BOOTDELAY 5 @@ -207,7 +199,7 @@ "bootm ${loadaddr}\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \ - "nand read ${loadaddr} 280000 400000; " \ + "nand read ${loadaddr} linux; " \ "bootm ${loadaddr}\0" \ #define CONFIG_BOOTCOMMAND \