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: 149191 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2405225lji; Thu, 18 Oct 2018 12:47:26 -0700 (PDT) X-Google-Smtp-Source: ACcGV61NbRidFO2WCQf36b3kiapMPomRDjsul4WZGzOZaW523Fm9VH7UfCuhhG1T7i5wdbhZ7TOQ X-Received: by 2002:aa7:da1a:: with SMTP id r26-v6mr4314437eds.54.1539892046765; Thu, 18 Oct 2018 12:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539892046; cv=none; d=google.com; s=arc-20160816; b=VlLJB49GPmEe0s+3x3GesVgmlWn5dWtW87BUGMsuvXrbMyUXUfM+xVWMv+pWfEGhNd 1ieCPUdjcrhH5vvCb0hmWqi+LIEJTVIPx37nmp6Lu6GXvBeeIi3+AY/u4ljrI88x6mZp QySC8hyC1RRVFb6elhryrOa8OmjWeVWftjqb5QBlT4A7A+x+zY31LOhJ+mtILYX7gI+A qEPWa5Jlj8evqcGrXz5IaM7z5VJDmYKeHEv6AoKuL+Uf+CACnJY44DypSfT/yIk9e5LS +t4vE0U9GiI2GYO9UFMtMGifCuF/UunydW8mx0crn767VaZqVFWIhVwqSFQd228P8yqH 3w4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature; bh=2M8D1+OBAuOH7O9IRUwH48NKJ2Qvg5lUBGnxbsdTZfg=; b=wxk8NuGYdBu1lj6BgcbuoRuBLDU8HLVm6vjUQ37WjkSBXbci+l3K+kbUP5zpRnDhtc A3nK0r77cAUmB9VBORzJW1GR1Ah8CPvJm+dAal79lK11Id7RP8jPLmhrVU1J9aUiHkmA I6zeeuiV43AV4yd+2IVJATlQzMA54JoyhVdZxkbN2vSCygjHVUAvZ7Adw+2X1OidEhHG bV8CKDqS/MveUw+K4ow7SE2vUXIij2IDTnD0UVlY+UWsv/EkvHFkfsGIsce7Zt9kBbeh E0solQPh24e6/Hrpguh5FTtWKX61DdFOXoXk8Aq9D3CBRLlNSVPRSYxIXt8KcyzmlU0g 9cwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BuDcLUGU; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 19-v6si2757104ejd.124.2018.10.18.12.47.26; Thu, 18 Oct 2018 12:47:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BuDcLUGU; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 307DBC21DD3; 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-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}; " \