From patchwork Thu May 18 13:01:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 100094 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp708934qge; Thu, 18 May 2017 06:02:39 -0700 (PDT) X-Received: by 10.80.195.195 with SMTP id i3mr3098621edf.83.1495112559887; Thu, 18 May 2017 06:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495112559; cv=none; d=google.com; s=arc-20160816; b=dfuXcU2FJ2sbpCfwmZO5ig1bJVbuJsg84gdrJCYJMEgxaFVjkaQ9jKOW8GIDpg0DCw AZWPdxJAKOQoh7zxV9Oqn6c6wCTKF1IEvw1KBLuFRNn4feR+ITWI7OcL5iUXlKYJo08E EsDSy0OC8LYVrPzIDHS3FoUAxVCB0KiS9vxjtWrFh5xEE+jd1wZLmdPkPPic6fA2VuJE d0BBvrge1TzEL4e3QiAHc81EJ9yf/H0z4kgAd9MFpaqx7pc/wDiI+s7SUFtQalS1/YhH 78RDx/9Riv2Hs/wjqYux0dgQtSxD4yLcpOCt76l+LuKHdcBTfzV7to9x+CER/8bb+3j3 d0Dw== 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=nrFP9KLY9B1j5n4IQ2rNPyyGanzJHImYhZ3E4HBYPpA=; b=MN1dOusS8PY1KBzYzsPtpv1Ka77ntgNJe1QKBQWX1bNAhGpS/8IFbqia1dUaoQjVxC 2+OohDV2zeLRkbvkMYoSxP5yZyPO028MV7PzYw51QOw1gDN+XUpeOE0dId2+ERHPBylI D5hJYGEGY3XjzR6pavpUe/eU2KPFbYwUjt8s2Tc7Ck2UR9HgDlUjJUZwj35Q65uw8i8D FvF27gg4gdpqjqbcGUTbcOfDXTlHSc9rbtUPIx4E/zWguKRy08/jowKgHgSwXwf707Jp fpIl3WuTt5fg9hDbByaU8d+7bHmw0tp0b6qyYP3nFQLla8Eic0jkCK0CJu+UP4qcn+Mw HnHw== 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 o30si4927048edd.306.2017.05.18.06.02.39; Thu, 18 May 2017 06:02:39 -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 1661CC22334; Thu, 18 May 2017 13:01:50 +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 640A1C224A8; Thu, 18 May 2017 13:01:15 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6C7CCC22481; Thu, 18 May 2017 13:01:13 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by lists.denx.de (Postfix) with ESMTPS id BE5FDC21F8B for ; Thu, 18 May 2017 13:01:10 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id b84so201076287wmh.0 for ; Thu, 18 May 2017 06:01:10 -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=E3cqUe3n5V1KcL2Z/TPVX/aYy75A2ogtMfznC18g2O0=; b=UpWYILUOCH+FiemJG5Tm82unpjNAT2YQcO7i8dLAMOurd8HJA/ymW3fwxlvXMUWBlK W9J+x2CXMoULKoo8FHKiz0eye/JApLZ4Ia1KLmcZehz/PbbUZAABnlWNpEqUqfC7UqQm PlRPAIrbCWViAvFCGv3GcAANdcyxhiUZ4JhrQ= 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=E3cqUe3n5V1KcL2Z/TPVX/aYy75A2ogtMfznC18g2O0=; b=co9njNk5J8TPTdMMXbN0Al4EzlVruIzml+rHT8p1jo1Sr5W9kxQb2w7G688GK+VxDQ agFAzJ51PYXaINyvgrifR/gMX+uZG7AsRmbiv4PEJLY9C3inX34UxwJzklOb34IYsaqI Pth2hzmMnVFms7dG5mvWYAXoqFouZNSJVL64PPQHD8FyZMcqLm2dSp5df8XEqfQOmX7I alm0MoYH7+0YXW+rq+IACZoxRSpfX7eaFlnSrZWYfYBGPHSzntwuA8iqXet2gmTF9dKB NciUJmgd/CIMZunk4XB1DGCX8pV3qTNChR0oi/NxLH95K2jULTgo5o7t6vh9h4jzxeMi e+xw== X-Gm-Message-State: AODbwcB53+oG23YG6si/lkYLmcfJGqwzjt0qJg5qY16r5l8kPWri/MlW 3RV4iVXluzj+Paro X-Received: by 10.25.206.211 with SMTP id e202mr928844lfg.127.1495112470367; Thu, 18 May 2017 06:01:10 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id 3sm935293ljb.60.2017.05.18.06.01.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2017 06:01:09 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 18 May 2017 16:01:01 +0300 Message-Id: <20170518130102.6820-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170518130102.6820-1-semen.protsenko@linaro.org> References: <20170518130102.6820-1-semen.protsenko@linaro.org> Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH 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 --- 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();