From patchwork Tue Feb 27 21:45:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 129870 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp297177lja; Tue, 27 Feb 2018 13:46:31 -0800 (PST) X-Google-Smtp-Source: AH8x226bXpMTinsATMGbkLJnOn/N4Wu5chGlkzhzu5sfmsWzFY3V0Z5PGkvVvDgW1SfI/gMZVeYO X-Received: by 10.80.230.12 with SMTP id y12mr19675533edm.203.1519767991441; Tue, 27 Feb 2018 13:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519767991; cv=none; d=google.com; s=arc-20160816; b=hXplcaif00DLaPt8gtQqNAW3P55S4r7is72aFp58Mdzz/6rbiq84hHJIilrRsYqEjP SBDH/ni7jXlKAgtplcr4Ry8roMa3WLnYbJqlSvAquccgO3ncAVpQ9OmJdsFwjqZc+gtp Q1DWu088JdyOuyYreklfL9dmYbpjCig8HRlg9DtQC4Vj1hTyfPla1KSI25edEGYnl29x Ov2Mt3Z8W656CijuPdyQ4iSwIpEP1GVGCpQj4pFiXDjiF47fYhev4BbxIVJXbrg/beqo LBNI0kTyOBO3SQn/P41QRSVYYaVhhC/+VKeTpou3WIoxfTXuPNV4tWmGtf6QtFGBSldD oreA== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=jZgsK2fbpEnwR3akgKyUbjV/37lXdaZxisLV3ULvyYk=; b=pIJEzfUyHoO/qtZtlx9iwRPo2mN2CwntCKC7XmDMtAvmYgHIo3YcMIu7ghmKybAZE9 XjMwK9fm8I6CG/FzFTALsP/4UAluQD7bZzWKtdfZINGKaCc5nz4ksw/3extNbKB3Bx21 7lrneGWGke4/B5sPzRnvgzNIgQNvemAwc8ZbbgPBjBxrvbsNlqbrnxogYqDutIiEeDre jxLZ4ybJCzFwcbTYvaNA59vizPqTi+FpJUracXxPvvN5LD92iz8Pyp2bAkwsCsuMI9Zs t+Det/n8RPT60Q2Wu+MpvOcqSNCFo9nLzh6Q/LYuiWUxtQm6hcw1/Mj4AlVlqJFMgnbT 1dnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j9tNsayG; 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 r46si371480edr.56.2018.02.27.13.46.30; Tue, 27 Feb 2018 13:46:31 -0800 (PST) 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=j9tNsayG; 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 590DBC21FBB; Tue, 27 Feb 2018 21:45:30 +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_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 19DB7C21F9E; Tue, 27 Feb 2018 21:45:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AAC4FC21E45; Tue, 27 Feb 2018 21:45:09 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 22358C21DCA for ; Tue, 27 Feb 2018 21:45:09 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 188so1344779wme.1 for ; Tue, 27 Feb 2018 13:45:09 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=tB4WN45T8GjTwsmUsIO3RKnPCOir7M2ZWNMLcqBLNhc=; b=j9tNsayGxse9zixJIFj/qgB363/QeKzDBI+PKVgMejfmWnsTNZpXhcrJ8HQy30Mwkh LQml2MeAEKSNoH6Pyyc08Ajb3opzOVlX/2S/yByEBohPJ2l7qklxZ/4gi/hw5E1YR8d4 STWc9Qs6Wc7sdkJewUzLhoOXN9jkKlAyDJQ1I= 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:mime-version:content-transfer-encoding; bh=tB4WN45T8GjTwsmUsIO3RKnPCOir7M2ZWNMLcqBLNhc=; b=IHPHWO6QXxLLNJbYF6x5ihS8K9Mn2v1+fEph05yCDh0jkOj8tEXNz3RYuDJQ7qxAlC KOCOQh7tcCHlkJ8d7/m6F3ln+8dTkH491Vz27wF6A/z/3Eh0cjzkuxZvgXcJUCdPXVqc g1l3l5pBxRR/AUyvC9UQ2rJZ905GMCA1dBISk7T5ft1AbUKRZfRYtCzGHTLlrxoYmfj6 kZdBtjbgO1l/JYqCMTR7qCS3a9x9CyUtH5EMUp5+7n6Fu7m7h28x7+oV9cpScGLh4nX8 aBc0sfou5ZXAyY0tdV7gGTSK0bCo8kseVyoDwogi8GlQ6uvnFDWrCA06moXEgdRkkF+L rL7Q== X-Gm-Message-State: APf1xPD6iCy7HxgA4bXZ0/J6I3mVN9/7Bl+e2iP9DC2M0aBXf2olsTkq cCHvTyWdmWOLeP0R/hvCjqH8YcMPHDY= X-Received: by 10.28.230.68 with SMTP id d65mr10278730wmh.13.1519767908367; Tue, 27 Feb 2018 13:45:08 -0800 (PST) Received: from localhost ([195.238.92.76]) by smtp.gmail.com with ESMTPSA id 69sm540528wmp.36.2018.02.27.13.45.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 13:45:07 -0800 (PST) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 27 Feb 2018 23:45:03 +0200 Message-Id: <20180227214504.32572-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180227214504.32572-1-semen.protsenko@linaro.org> References: <20180227214504.32572-1-semen.protsenko@linaro.org> MIME-Version: 1.0 Cc: Marek Vasut , Tom Rini , Ruslan Bilovol Subject: [U-Boot] [PATCH 1/2] omap: Fix AM335x build with enabled fastboot flash 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" When enabling CONFIG_FASTBOOT_FLASH in am335x_boneblack_defconfig, next build errors and warnings occur: arch/arm/mach-omap2/utils.c: In function ‘omap_set_fastboot_cpu’: arch/arm/mach-omap2/utils.c:26:16: warning: implicit declaration of function ‘omap_revision’ [-Wimplicit-function-declaration] u32 cpu_rev = omap_revision(); ^~~~~~~~~~~~~ arch/arm/mach-omap2/utils.c:29:7: error: ‘DRA762_ES1_0’ undeclared (first use in this function) Include asm/omap_common.h explicitly to avoid those. Signed-off-by: Sam Protsenko Acked-by: Lukasz Majewski Reviewed-by: Tom Rini --- arch/arm/mach-omap2/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c index d11670c0ee..7d1ca274bf 100644 --- a/arch/arm/mach-omap2/utils.c +++ b/arch/arm/mach-omap2/utils.c @@ -7,6 +7,8 @@ #include #include #include +#include + static void do_cancel_out(u32 *num, u32 *den, u32 factor) { while (1) { From patchwork Tue Feb 27 21:45:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 129869 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp296889lja; Tue, 27 Feb 2018 13:46:06 -0800 (PST) X-Google-Smtp-Source: AG47ELs+uAFyEuqyoltVmBnCDB+PAD8x4AgOglXKuposgbq8DqSNaxeHCcD/sFaZKGDBp/qz5jG9 X-Received: by 10.80.195.137 with SMTP id h9mr12519802edf.232.1519767966168; Tue, 27 Feb 2018 13:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519767966; cv=none; d=google.com; s=arc-20160816; b=bkXGFfKDZHM6Vb3S9jGKMmzLkAHPdg0Kk1Y4QYWAFZd/bg7qX0U5ZhkQw7esxie6cM VCmSTIssURmQKXJsx0aJDS1FWbQl3B6WAenb4weB1XvNyF2IJAYo25t2o/S4849N5ERK NHK4T4CmSYhmtR89Va93uIX5i35YLEEI9FtpGDwSa+ywMAmjWhvFxJpYzMHUuYkFGVfW B74r7vVcEfUSgzmYYGpSEdZUp2SgQA0TYlpArUHf0FBABStJNaECcmn0Mio5teXcpopp DreMz4D9alDAk3K5M6BUYRHtjaz1yYuKgZyFJ0RhEbn5EtvYR+BhtRsA+DTdjglaroO7 OGwA== 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=DU9cuyJMCzwQ34/DoYFc0jvHtsLpwZkn4ciW/3qPRNI=; b=Ah7eNFmTVbNxvUyjO3tjH+3hJ9aJ1V7OP20N5tzjEgiHDGOENvZ9d9Avg6oOZJodcm QXOXtAgtVxQ07tTu9vz98MJF8Ho+MRoEvUtdCowvAi4atTe37oeo6alCsw/NMDzfjUqt 3/gxpmUE2pKGIZh8vayL0j19DNaN6H3wyBszCnhTFAuStWAguxCUNBru6p8Ude8LoOg9 m9wASVxzM+wF09qONmIb62OBrx9fKhuCaLgr0qoI9p2eBHv0pwUavI0WssdW22dz/F9D +VUVhPqUW8Xx9OgmVkUUxaxHvbS9P5ulq28TzHMB1oDXWMD30idr/hp/X+C84a76cAuN nlnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fb1gkE3P; 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 q51si359276edd.343.2018.02.27.13.46.05; Tue, 27 Feb 2018 13:46:06 -0800 (PST) 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=Fb1gkE3P; 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 A012DC221BD; Tue, 27 Feb 2018 21:45:47 +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 0B22DC221B4; Tue, 27 Feb 2018 21:45:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id ECCEAC221E1; Tue, 27 Feb 2018 21:45:14 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by lists.denx.de (Postfix) with ESMTPS id B2EB5C21F99 for ; Tue, 27 Feb 2018 21:45:10 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id t3so1326703wmc.2 for ; Tue, 27 Feb 2018 13:45:10 -0800 (PST) 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=7LHONkTPEli2IITWboi1og1b5IH1bj+KjHWWfRkMkEE=; b=Fb1gkE3P0NdFHiGoRWjByoIcOuLOq6hNpTkg5UCO2zAd7o15Ii7VB2Bxw3SlM1WBOm QKIDTGR/j/11HgfQz00PFtIoiA9SLWSOrmVDN254lo1fJGusca+u48rGJMcWvjvVMUjM JLNooKWsENuVN+NF+6hefCGMScqH4hFYiKSm0= 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=7LHONkTPEli2IITWboi1og1b5IH1bj+KjHWWfRkMkEE=; b=OEbNuZAYWwbAi1KN23lfRiMN2kt7SYHPUFT3fC/45JRa04HjwyB3W4Mhkq+WbZ2qzX /a3oJmrg6q3Xzh64hNbNNHEOaS2tKPTsRqOmhVvmqcut/Z5OoBAqAqs6LHWfq3IlKYZV VTxv0jDUF//qWNNpTRWJbZ/hI98nXMc2V9Cfvo4ke1JfFX3+1tmv/2miU2mKmuAEiH// F0w6dh2p4gG9LxiOzrFJQv1HO04wOj2fI99YgHtKoRKsuotCXdXwraQwl3g02XFVzdrv F04ZwzNkuzEwBQQswXOzEj74w9X3PCwGZwX1xoyA1et2CLD97kT6bBbWO2e6XmmMK12q kBtg== X-Gm-Message-State: APf1xPCXAZjwJnScWadmlR7CJwwX4YAL54MMad5VsXqzTjseJUSukj19 ewWLlCz64/1z7ZnHawOhSykLhd0pq8M= X-Received: by 10.28.111.19 with SMTP id k19mr11628868wmc.147.1519767909966; Tue, 27 Feb 2018 13:45:09 -0800 (PST) Received: from localhost ([195.238.92.76]) by smtp.gmail.com with ESMTPSA id r98sm151980wrb.70.2018.02.27.13.45.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 13:45:09 -0800 (PST) From: Sam Protsenko To: u-boot@lists.denx.de Date: Tue, 27 Feb 2018 23:45:04 +0200 Message-Id: <20180227214504.32572-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180227214504.32572-1-semen.protsenko@linaro.org> References: <20180227214504.32572-1-semen.protsenko@linaro.org> Cc: Marek Vasut , Tom Rini , Ruslan Bilovol Subject: [U-Boot] [PATCH 2/2] configs: am335x_boneblack: Enable fastboot flash capability 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" Signed-off-by: Sam Protsenko Acked-by: Lukasz Majewski Reviewed-by: Tom Rini --- configs/am335x_boneblack_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig index ed430e7130..f45e40956c 100644 --- a/configs/am335x_boneblack_defconfig +++ b/configs/am335x_boneblack_defconfig @@ -17,6 +17,8 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" CONFIG_AUTOBOOT_DELAY_STR="d" CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_FASTBOOT=y +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=1 CONFIG_CMD_SPL=y # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set