From patchwork Fri Jun 14 07:35:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shyam Saini X-Patchwork-Id: 558 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 860CD3F033 for ; Fri, 14 Jun 2019 09:37:38 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id z10sf1277530pgf.15 for ; Fri, 14 Jun 2019 00:37:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560497857; cv=pass; d=google.com; s=arc-20160816; b=elrVPaKTbFw3L2IW6TMsRTLLAU2VhQqcRvZS39p67ufLVIGdf2PMl/xuWGdTH0hxbz J0bhDV7/tsIFa5HWvbERPdFn0KbM9k8EzruWw8TjnhYi1l3+T4u67y9aMHe+lP1uSOJM myQeMbyuW3Dv2hU9YGLLwfOKlboTHCoE5g/EZ87tMtDbEoIDgInrTvGKyf/1wTszhZr8 ISxsViqpwDYox4nLgTjx4BcMckY/IMXqqpuHsfIqjISMtIh8eYC7XobjHQzVPMJIpL6F PuBN4pljMd8UKC1diM+YZOyvyzoeWtBzgTmclA04Y8EaoP7LlAJ6zJqQBZADyb87cPDF DqHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=SPlF+wQtvpR+PwQjQBjb3xDeTBYxZPONd92aKb5inCw=; b=IxlARhj6lrYeeDpKpQkN45KDlWgvG2lUq5msH5QYKStjWuCgVlAcBqrOm2SBGzG+Rx FoJiLXMhz9XT14wV6jPZvtyoGcn6muFY3I/z4Yu2mxYUeBmLHcc/BtGaI6zYmQyGZyNv R5FE71F3QqBop3Bxcpl2Ps0H6peqfI4h9SoP3I83D/zdNOJ7/h9Yqx5zR4CgdG8zd3Xd QvKUH8fdtcwurkksBHxPHE+TG7Ycq8JiCkZWJNW9LJfIQRk+gflkzwKjV8fSZW2tcCwO E7G2dEd8haWsKGwNAkBpZK9yJZjNlIjs2k/aYdS0UxrQnQmkBXdXFK0Gu8zdGmNtzuQN 5caA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Bfr+nITd; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=SPlF+wQtvpR+PwQjQBjb3xDeTBYxZPONd92aKb5inCw=; b=eDgpAqg/ecOQacRxh3THpXTedsMYQO/tF64zMKtf3fapyuud1PomqU2ZZ4HPUeHNFN A9y6KkJer6V2nva9IkUeMKsDhDOMBfLfyQNCDPc9cXxE1X7aJJiHsQC1e9wDDrft3Jet HS7I7PjJv2cObfJTwTRnx2UtpqaA4HYvUhO+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=SPlF+wQtvpR+PwQjQBjb3xDeTBYxZPONd92aKb5inCw=; b=dw+hGm/WB8UjclI2mgnVLvn8QEMmJ546hq50kMSGZs6ifzCD/monrsFSucEfSH/jVW VEyRztDMUPFrY+/XtQr2SpoM/uxIQiKTVHiMU+qUUAjvpIN3Fm0DcXjk8i1Xe/Hlk0lO 0S/KzH+MJ6aBHHZ9t0a/5NuRRH+5ffwSVE9/V9+4W570EOJPkApspiRLjlCUkJBHtHY8 gknAY0S9shB3+rA+FwGjBVuG793J+fxf61kIphcVJp4JGKnlfPsWZOfarEu1XxjrXgxk 8J3FfhdoLQZWenBwbBxvgD8TGgzre2oSlfmf+z+RLBwqqy96lhmitNXD3w3q8/J+jT71 bHyA== X-Gm-Message-State: APjAAAWhb7A0YFo2Rb61YjYlXJ4SqQRNp9PdwTy5tGbHd6WxsbdDe0Go uI5PoX3zBH8B691VROpsz8jt1sjz X-Google-Smtp-Source: APXvYqzg9WBf5m5tVSZTSv71MZkygTB9MnVlZAnFsQcvvSlnfIgRRD/iUGX0+1N+yg41K4gyh2FWxQ== X-Received: by 2002:a17:902:29a7:: with SMTP id h36mr40194410plb.158.1560497856880; Fri, 14 Jun 2019 00:37:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:a584:: with SMTP id b4ls2065454pjq.0.canary-gmail; Fri, 14 Jun 2019 00:37:36 -0700 (PDT) X-Received: by 2002:a17:90a:650c:: with SMTP id i12mr9787510pjj.44.1560497856526; Fri, 14 Jun 2019 00:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560497856; cv=none; d=google.com; s=arc-20160816; b=OkEoK0KxjNmHnGV0fUzSule8Uc0rVq5LYVVEPJobhGdPlARfpRnJvRlZ5cWMBrL/GN sJBPm30LDpcIZlUI0JDs3aQTGtd2d2IkPnZa/4WaTaUc1n9UBsn29WuOu/ri0tXGGqzF nPkpYDSEdra2Z51CtiiZytxO4zuldnp0dJCpdd/mE/C+GiMePecvNXX5iy2bkPLdXjk7 AW0HSmxydzaQ3zm1MRfo9o8+52va9anMy35e9dEw369fWErWR6GnW82uoUfr1NORy5D8 mGADG7Sy/hILnXbIXb+l6PrSNph+4EN/hyI7bgS9wEy6MevmCEjcWxfNV6TvzgHGssA6 j2Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c+zYlXki46zCqY3AFhSZxwJIMfJq3ZZaYoo+5+ukRuE=; b=Om/JjL7vUCEVkrsavD+bVe8zlzx93wcINtosHr/pFjSahTnSVOEDJyYupt+ib/tmQa g4xbDt/x/JNFvDVCAh2/AszvZubwV2VAWmmWsv+JqX0Aqj6FEGjk73GnSn4dk1Prg5nt 9JTRTkAMBtcZ0oedHgS2Hn76TF7ZmKhmSognwAmvZn5wUG8iIHClMPyBlGQ67rXwAWIx fxzFJHFOFsIusSqOp0k6Bf2fW5D36LuU1ezzBSp2tmcVOy6SnP886OpPp393JDU8a7u9 SVXeWA2oAjdUdAyIwCOqXztiTD+ATQ5Dasn3g2unBScQc5fuQH3vT4sCvMPHZlxVVrKY PN4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Bfr+nITd; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r8sor2181789pgk.75.2019.06.14.00.37.36 for (Google Transport Security); Fri, 14 Jun 2019 00:37:36 -0700 (PDT) Received-SPF: pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a65:6284:: with SMTP id f4mr34882340pgv.14.1560497856183; Fri, 14 Jun 2019 00:37:36 -0700 (PDT) Received: from localhost.localdomain ([183.82.230.16]) by smtp.googlemail.com with ESMTPSA id c14sm887609pgm.40.2019.06.14.00.37.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 00:37:35 -0700 (PDT) From: Shyam Saini To: sbabic@denx.de Cc: u-boot@lists.denx.de, ksi@koi8.net, stefan.agner@toradex.com, festevam@gmail.com, jagan@amarulasolutions.com, michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, uboot-imx@nxp.com, Shyam Saini Subject: [PATCH 2/3] configs: icorem6: Enable nandbcb command Date: Fri, 14 Jun 2019 13:05:34 +0530 Message-Id: <20190614073535.12502-2-shyam.saini@amarulasolutions.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190614073535.12502-1-shyam.saini@amarulasolutions.com> References: <20190614073535.12502-1-shyam.saini@amarulasolutions.com> X-Original-Sender: shyam.saini@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Bfr+nITd; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This also enables mtd configs which are required by nandbcb command. This command would be used to configure boot control block(BCB) while writing spl image on nand device. Signed-off-by: Shyam Saini --- configs/imx6qdl_icore_mmc_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig index b65979967a..620d49f954 100644 --- a/configs/imx6qdl_icore_mmc_defconfig +++ b/configs/imx6qdl_icore_mmc_defconfig @@ -15,6 +15,7 @@ CONFIG_DEBUG_UART_BASE=0x021f0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_CMD_BMODE is not set +CONFIG_CMD_NANDBCB=y CONFIG_DEBUG_UART=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y @@ -58,6 +59,9 @@ CONFIG_SYS_I2C_MXC=y CONFIG_FSL_ESDHC=y CONFIG_NAND=y CONFIG_NAND_MXS=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" +CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" CONFIG_PHYLIB=y CONFIG_PHY_SMSC=y CONFIG_FEC_MXC=y