From patchwork Thu Oct 18 19:47:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 986187 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="BuDcLUGU"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42bfhl57J5z9sBj for ; Fri, 19 Oct 2018 06:47:31 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id AF940C21D83; Thu, 18 Oct 2018 19:47:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3424CC21C38; Thu, 18 Oct 2018 19:47:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E12BEC21C38; Thu, 18 Oct 2018 19:47:20 +0000 (UTC) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by lists.denx.de (Postfix) with ESMTPS id 6E593C21C27 for ; Thu, 18 Oct 2018 19:47:20 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id v7-v6so28826196ljg.5 for ; Thu, 18 Oct 2018 12:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BxuvcoV7GZPQRvFEJY35XHykO1CSX3tw9SCyRxvj4vQ=; b=BuDcLUGU/1+f13JZaD155MYBmi3ixjNhDaJs9qzhNHIrH1Yg7YKdyhiG3IecU04kW/ 5QvRCXmRdM3qwUCcFO6/DLzEmM9MZGVY4RA0JAHWjBkEOS+NeRvFBRyPBpDa2uViJZGO fD5mdTagqKxNaCmkNIFD+QiAx1IG4wV6Igrdo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BxuvcoV7GZPQRvFEJY35XHykO1CSX3tw9SCyRxvj4vQ=; b=SF4s1Wc6nWOyeCwWn94+HP7Dz+YOOIhLa5oYxPr6Y1Moro7Ad1jxpVFoq4JHFFuRRf A25VS2Hz434z8SReyCYNbgUMFhz70UqhCXxuutBW+iF6110vtIEsA6/LLKuL/VSwO2UD Y96s8CvahBE5GJeKimdJbh4seJ88CcXo/ecTnhp5ZMy757bmmLwoIN5mfb5FbjDU+KRn n4RcVMLi9+GX6ZhEq3ffps3l6+WZWV5rMs68Yd/GRRJKn2eDAi58yswf9rBXr/p9uK0w 7hjWEEwQM2OxU+R4ozFiVecXR0+wUvCiHZzXI3GLRmDSExP0fMQRo8SY6XN6XTHdhByb SjgA== X-Gm-Message-State: ABuFfoggHFMZXe9IHsAr4oHbXIiaVhOV0/OWZvjBUx8MGl5PxrxHIscz DAjsGoIM74bg6JWCM0cq+AEVYkqEzO0= X-Google-Smtp-Source: AJdET5eGtgdt7jIvhZAbdPCXyeaEbYwm1n/FUh83taCXMLtC3Ay+fMZqIi2PAbBOku0ZqJ0xiRJVtA== X-Received: by 2002:a2e:9e10:: with SMTP id e16-v6mr1787367ljk.169.1539892039623; Thu, 18 Oct 2018 12:47:19 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id i20-v6sm1108056lfc.36.2018.10.18.12.47.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Oct 2018 12:47:18 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 18 Oct 2018 22:47:17 +0300 Message-Id: <20181018194717.8303-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH] arm: ti: boot: Remove environment partition X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Remove "environment" partition and do not read it when booting Android from eMMC. We don't use this partition anymore, so this is just an unintentional leftover. Earlier we were reading dtb file from "environment" partition to feed it further to kernel. Now we are using dtb from FIT image ("boot" partition contains boot_fit.img image), which can be seen from this command: bootm ${loadaddr}#${fdtfile} where "#" character means we have FIT image in ${loadaddr} RAM address. Signed-off-by: Sam Protsenko Acked-by: Praneeth Bajjuri --- include/environment/ti/boot.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 2893cd4287..560753ae4c 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -35,7 +35,6 @@ "uuid_disk=${uuid_gpt_disk};" \ "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \ "name=bootloader,size=1792K,uuid=${uuid_gpt_bootloader};" \ - "name=environment,size=128K,uuid=${uuid_gpt_environment};" \ "name=misc,size=128K,uuid=${uuid_gpt_misc};" \ "name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \ "name=efs,size=16M,uuid=${uuid_gpt_efs};" \ @@ -92,8 +91,6 @@ "mmc dev $mmcdev; " \ "mmc rescan; " \ AVB_VERIFY_CHECK \ - "part start mmc ${mmcdev} environment fdt_start; " \ - "part size mmc ${mmcdev} environment fdt_size; " \ "part start mmc ${mmcdev} boot boot_start; " \ "part size mmc ${mmcdev} boot boot_size; " \ "mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \