From patchwork Tue Oct 4 20:48:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 678225 X-Patchwork-Delegate: sbabic@denx.de 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 3spWNx3swlz9s5w for ; Wed, 5 Oct 2016 07:54:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C6A2A76A0; Tue, 4 Oct 2016 22:51:42 +0200 (CEST) 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 2EUY0h68VZD0; Tue, 4 Oct 2016 22:51:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 93402B383E; Tue, 4 Oct 2016 22:51:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0083BB3821 for ; Tue, 4 Oct 2016 22:51:02 +0200 (CEST) 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 XgroLDbhLoIv for ; Tue, 4 Oct 2016 22:51:01 +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-f68.google.com (mail-pa0-f68.google.com [209.85.220.68]) by theia.denx.de (Postfix) with ESMTPS id A2BB5B3860 for ; Tue, 4 Oct 2016 22:50:39 +0200 (CEST) Received: by mail-pa0-f68.google.com with SMTP id t6so6760055pae.2 for ; Tue, 04 Oct 2016 13:50:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZDkBS9Xxxolz12diBJu020Y4A/aWGX5rjWRhuhn3HyQ=; b=DwMWCuRZJM6HSqpY7rhvbRTOKojm/HdQBHBP1/uZeLdqx9ZLhSHtogOxh7ponazfsX gMWsYTuBfrHI2iRp3/CfIrAj3/AtGInGn+zDMKUFn/0L3fgcX4gnJqp3TprhzeMMgG6C 6Wqlj4NlCaIEBwTL2MUOpAFXM9ABMpuGaY1aMyu+sFHNCAgeIcTN1jIeSZ5b9q2o3NvN VUX+nq/0x4HP0ZTddhucTf51yLnv6QGlfgzAb+Ft4EzkRpQFEMX8TPQ+h1mTuWVJDdtI iq4xob5KKnjIrTXNzBjiyIIrpHlzl1vJ2c7HriRG11m98bmXFf0YY6/w7D7gHf6yaBH4 7Nzw== X-Gm-Message-State: AA6/9Rl/6r1rKYBWiiRBUd6HW9i0g7Wg/zrgs5mq0p3wnatthMEXKsfQ/488zfxYNx/u+Q== X-Received: by 10.66.176.141 with SMTP id ci13mr7866354pac.85.1475614237861; Tue, 04 Oct 2016 13:50:37 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id d85sm43789802pfj.57.2016.10.04.13.50.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Oct 2016 13:50:36 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Date: Wed, 5 Oct 2016 02:18:35 +0530 Message-Id: <1475614115-27435-21-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1475614115-27435-1-git-send-email-jteki@openedev.com> References: <1475614115-27435-1-git-send-email-jteki@openedev.com> Cc: Jagan Teki , Matteo Lisi Subject: [U-Boot] [PATCH v6 21/21] imx6: icorem6: Add default mtd nand partition table X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Jagan Teki icorem6qdl> mtdparts device nand0 , # parts = 6 0: spl 0x00200000 0x00000000 0 1: uboot 0x00200000 0x00200000 0 2: env 0x00100000 0x00400000 0 3: kernel 0x00400000 0x00500000 0 4: dtb 0x00100000 0x00900000 0 5: rootfs 0x1f600000 0x00a00000 0 Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- include/configs/imx6qdl_icore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/imx6qdl_icore.h b/include/configs/imx6qdl_icore.h index 6e33ec3..f8a1263 100644 --- a/include/configs/imx6qdl_icore.h +++ b/include/configs/imx6qdl_icore.h @@ -129,6 +129,8 @@ # define CONFIG_CMD_MTDPARTS # define CONFIG_MTD_PARTITIONS # define MTDIDS_DEFAULT "nand0=nand" +# define MTDPARTS_DEFAULT "mtdparts=nand:2m(spl),2m(uboot)," \ + "1m(env),4m(kernel),1m(dtb),-(rootfs)" # define CONFIG_APBH_DMA # define CONFIG_APBH_DMA_BURST