From patchwork Mon May 22 16:16:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 100309 Delivered-To: patch@linaro.org Received: by 10.182.142.97 with SMTP id rv1csp1467789obb; Mon, 22 May 2017 09:17:23 -0700 (PDT) X-Received: by 10.80.213.215 with SMTP id g23mr17731246edj.149.1495469842934; Mon, 22 May 2017 09:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495469842; cv=none; d=google.com; s=arc-20160816; b=lbdMlfYpktXxqQecFLW60PGGeT3zC8b2RiMB5HSOJNcGnM2VRW2NHYM8ZLUdw/8AEQ FaJvHYsnRqgqFAZ9xxB/qR2+zEtW2pUbRp4DE5gYklp2Syvh6pu0DL1UDThPZGoGG74F NH/U8g3vrXCEln3c4W646pGrGv6yf6UtKyS2nkfzoGoJbXVG76wYQMLiWw139HTCHzhs OG+z2MupVNqKLU2yU7Du58IuTUlfQ1yoiJapNWA2Qp5fyqXyDrX/iZbNUkHXvW4kZvNG m6Gs9lDJ0QFt5GYAh9e4KFXxYCMUN2gwpNrxYQqmuo2gKxhv656exB8SkUCBwGFB2Beh NCUA== 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=f+nU9HhaUFf0t2013e2JaUkdGXB4jl/BRYKv3Min+3k=; b=tiiI+n4QW99CNDtoWiePj4rUalpAVOaXvN8MGlj4o19hFXgu0CQkxJPOws9hTs6s6J QLV8FRuQP2Sn9Y+4tI9/sH0ntum3IA/ZrDQVt6bOarhcrV9Dqek1Bhks3lWGf4/9l8/o zgqcblPBXMkjg893idLtDfFPGQblIixuAqtmFxFKUcQFX1z8jGt+zk6JZLA3SIRx+0wl crCQZ5LF2ZveJtEl9zxZTwtkI56sxPJbSDXHMvFZYvuP17q3Vq2eXk2LThuJgxiZVXPY ODMZjs+BQ66DNa2nstoPoxvQ1SrRyBm4itXuBWtRyQi0h7jV5tMY7TBkSvd0g24C11Yr 8QcQ== 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 m7si16107349edc.118.2017.05.22.09.17.22; Mon, 22 May 2017 09:17:22 -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 77FBDC21CD9; Mon, 22 May 2017 16:17:05 +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 B7406C21CD2; Mon, 22 May 2017 16:16:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4E9CAC21CD9; Mon, 22 May 2017 16:16:51 +0000 (UTC) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by lists.denx.de (Postfix) with ESMTPS id 8ECAAC21C9E for ; Mon, 22 May 2017 16:16:48 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id h4so34116526lfj.3 for ; Mon, 22 May 2017 09:16:48 -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=Keb87wqcxfSV8dQZK/lFvuVF8L0xDJua69VxnsrPiAA=; b=A2dJWOm9ljrTulVOW9jSTyBUHntNS/eovHoSSiC3SrdzkjVlH37SWkTC4RLAkylcBN nCAoZSef/qwJ/hxPXnuxkwD3k9J6uIwwee2p20Nrjx7o12OIGE9hS16ImBRpvK8o24oS zj0PSVYalEqUb3WFMu/QyB9e/ymnEk9qQVR5c= 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=Keb87wqcxfSV8dQZK/lFvuVF8L0xDJua69VxnsrPiAA=; b=WjGzv+zrsu3xyhOgMSqXiAR9UhVQ/9qjEtmTPfLSzOmY1UeB9grIAwYybL4LUf4lHq 0PEJtQ/MfnCnER0t0VgvH6rXZV++Vp5WGNYanqQjubYOoqcW6kOYh0wKxwxqcLywBFpd szUS4bb1gazfJv0SoFbbWTcGIsElF0umYpYthiTO/nLEFqzAfyLNHMTZFMh1QawfeNxB rtTlLDDRnZ0hSTz/NR10l3acGqsZgTOim5TyoLxovzYGsI3kNyjkos0Fdf8HkhAHtoYZ cXypfEI2Xq2DAkgpObNmNMMRYiREQA+Y+8gWgn4I6ZdtwCm3orA/V13ifAhi57S3Tn5D z/Lw== X-Gm-Message-State: AODbwcC6RzCaW0+nMowVXt72M/nOjrumw7xI8nFc0iZ45TIu6QNedCVs r+ZjsbuvHzjlofwc X-Received: by 10.46.69.84 with SMTP id s81mr6479095lja.41.1495469808169; Mon, 22 May 2017 09:16:48 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id x78sm2712697lfd.41.2017.05.22.09.16.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 May 2017 09:16:47 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Mon, 22 May 2017 19:16:41 +0300 Message-Id: <20170522161642.13058-3-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 2/3] arm: am57xx: 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/am57xx/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 3be697a6ea..c8ebcdbcc8 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -573,6 +573,7 @@ int board_late_init(void) val); omap_die_id_serial(); + omap_set_fastboot_vars(); am57x_idk_lcd_detect();