From patchwork Mon May 22 16:16:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 100311 Delivered-To: patch@linaro.org Received: by 10.182.142.97 with SMTP id rv1csp1468447obb; Mon, 22 May 2017 09:18:52 -0700 (PDT) X-Received: by 10.80.150.38 with SMTP id y35mr18303836eda.79.1495469932585; Mon, 22 May 2017 09:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495469932; cv=none; d=google.com; s=arc-20160816; b=AcBei4T8s0uiiS0EkKxiAXotpp1epVF+vta8tSooTh2c98ztOFtbxIHZCund0BJ8UH qdERUYUivJTjPoYKiq9OtP/tZfVSgZk7zR7pdoF1uEAApRw3kC35x+DxAvtwsDsNwVn7 M0gxHvtVa76Eq6EXJKTSAopbl7KAxCkk+umlds/qttAEB8kN4YnvHeTih2P0hkAmn377 x/DyZBN4v9bdphXHzG9STIjtvlw5Ey8wY+9ccr1Bl/318zTNF3IR7Qmk4J4HX9XMog+x zaWmbe4lrTNvS+9eWWRd8Qcpbtc4rMEHcSJcd6bvFYqCm3xeC6HDUXsZTWqZe21krt3q JitA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=p5Jz5KJNopjvJzmJbL/ejmlVki3TzDmLg1P9pQqTTEI=; b=Nv1hkoPio13ZJiwPZyNG4f8TaqLhjbiKSrQ/O8yuJ/ZJ0kb6fJHh6foyzinGl3WVOT fXR+T7d4FR0ZmGB5KJ4ZQDCVkdbGL5P9R4Cths6KHLjToi2CzgPsRG2Fk5nQeGRuCLJs Wl4XEGqPmq6ix1fifHz9dsWNPIBeXrTBOfYE4MrnBP01H2fMyIQGvWizJn7VCvlSkaDu QWK3B/gZ7N5TAg0xBUE37OmvEmjwzIFvuK2DGaDlx04pXmX3HdDl+V2Nl+W6kZI6kbVI 7IBzslsKcrrMhGMzilSgGJcnhSJn8m5NSp0nytgRD7qDE4mJinJtKNfncKZ2IX0XJASl LXEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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 z91si17057085ede.319.2017.05.22.09.18.52; Mon, 22 May 2017 09:18:52 -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; 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 18BD4C21C7A; Mon, 22 May 2017 16:17:49 +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_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 9702EC21CA6; Mon, 22 May 2017 16:17:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 24309C21CA5; Mon, 22 May 2017 16:16:53 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by lists.denx.de (Postfix) with ESMTPS id 5AEDEC21CA2 for ; Mon, 22 May 2017 16:16:50 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id m18so34081146lfj.0 for ; Mon, 22 May 2017 09:16:50 -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:in-reply-to:references; bh=kjfIGFWCOKyxqAwmpNT2hmlyRI7Nm9K80xGX9WlbFiI=; b=N8hP4aYanVk9Uawq0ahbtZZOgK7OnaG1C5xy7J75HVBhiR/Ocphz71PY51QwPabHgV eyfSGWN2uHNKhlPPcbrEznDApDxaOBQfQCVbswEwCH/lA/s+61GAwebimsIaDvjnu9VS RVXKw/Sdy8CrBjasvVqRmAgeYVbimyAFjv4KA= 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:in-reply-to :references; bh=kjfIGFWCOKyxqAwmpNT2hmlyRI7Nm9K80xGX9WlbFiI=; b=E51/zQOlQOUuHpFDDZ059BFlsQYRGFOh8CvE2wC/tjSit3kL7OW+JuKaRL6hw+dxKh gxLBEVVta5kSnGQ0E6tVZ20Nw5UYTsuzCyej11TMboPC10R5lC1ss8P3td9pBFwXYXal B/PKu4oY+TSLXNpzb+ZMdS4QKm/g3lFZ7e3H3c941TkIOhXbq8milfxPNR9CYz+/QfGq vUodqc1wM/52qhJUbfSWs5RFUCQDDRLdBklK4zmMbp1TQOsVcerk0WLnDBVm7orP1cYJ GGaJoNh92Jum9xFRXmWoDfSraW3jD6gaIJJ9O6r7VAEc7cehqrj133CD9R2gBy19/Znu 4lcw== X-Gm-Message-State: AODbwcCCkt/zRG5QlOTjVWteb7vWmrgotpFoxJcg62E9Oc1vSbIPvMfc byem4A4zfMWKpKDF X-Received: by 10.46.32.83 with SMTP id g80mr5630992ljg.99.1495469809939; Mon, 22 May 2017 09:16:49 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id 139sm3224784ljj.16.2017.05.22.09.16.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 May 2017 09:16:49 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Mon, 22 May 2017 19:16:42 +0300 Message-Id: <20170522161642.13058-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170522161642.13058-1-semen.protsenko@linaro.org> References: <20170522161642.13058-1-semen.protsenko@linaro.org> Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH v2 3/3] arm: dra7: Set fastboot variables in environment 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini --- Changes in v2: None board/ti/dra7xx/evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 8c02addd08..7d36f03fa1 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -561,6 +561,7 @@ int board_late_init(void) setenv("boot_fit", "1"); omap_die_id_serial(); + omap_set_fastboot_vars(); #endif return 0; }