From patchwork Tue Apr 29 23:15:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ash Charles X-Patchwork-Id: 344018 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 BFD6D140119 for ; Wed, 30 Apr 2014 09:16:53 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B6B8F4B92E; Wed, 30 Apr 2014 01:16: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 s9vAZfJTufxT; Wed, 30 Apr 2014 01:16:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A14BA4B90B; Wed, 30 Apr 2014 01:16:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9AA8D4B942 for ; Wed, 30 Apr 2014 01:16:30 +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 wtCP7s1ZE9MP for ; Wed, 30 Apr 2014 01:16:28 +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-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by theia.denx.de (Postfix) with ESMTPS id 19A154B91D for ; Wed, 30 Apr 2014 01:16:10 +0200 (CEST) Received: by mail-pa0-f47.google.com with SMTP id fa1so980911pad.6 for ; Tue, 29 Apr 2014 16:16:09 -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=RgHrCd83OMSkGVRBXcpqC8bhbUdgrabhASMqXIdRPyCoz3M79IAoZURMSvVaErxEIt PzjyPpUwCmtPcEhrj6llBO5STjYX0H/UHKcQFE6A5uT6z2GJwh9f/Outyb18njOa/6QR bD9yExjq71TBEyOnD/7dotc73cprf5LNPm58b+LnVAWIsCQElm1SIp7bA3la14wBrYKW E8SgzCzoIFdw8ttZXZFIJXwpUFmhha94pFSwMzYOtk6CdGLx+XgqaXgiHxsdrhtUcuhZ HHb8CCqoMrfeb/QQBRkX1D1VDwGixEXzjxkY3NjTErVD4ZGbSRVN15XI6w34s+FGo8hB ILxQ== X-Received: by 10.66.121.131 with SMTP id lk3mr1363813pab.61.1398813369327; Tue, 29 Apr 2014 16:16:09 -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 xr9sm120609073pab.5.2014.04.29.16.16.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 16:16:08 -0700 (PDT) From: Ash Charles To: u-boot@lists.denx.de Date: Tue, 29 Apr 2014 16:15:24 -0700 Message-Id: <1398813328-17365-5-git-send-email-ashcharles@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398813328-17365-1-git-send-email-ashcharles@gmail.com> References: <1398813328-17365-1-git-send-email-ashcharles@gmail.com> Cc: trini@ti.com, Ash Charles , "Peter A. Bigot" , steve@sakoman.com Subject: [U-Boot] [PATCH 4/8] 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 \