Message ID | 20180424174647.11840-7-bryan.odonoghue@linaro.org |
---|---|
State | Accepted |
Commit | 7175ef4a71e01fe416845a7ecb9af2dfa201cc87 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2522097lji; Tue, 24 Apr 2018 10:47:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx49m0RYppuchR2xixwKW64Se7tB0VepmP7vgFf03Sw3CqLIicae1Y0VsQqpBZaYHf3Yp+67/ X-Received: by 10.80.169.89 with SMTP id m25mr34984937edc.244.1524592050565; Tue, 24 Apr 2018 10:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524592050; cv=none; d=google.com; s=arc-20160816; b=o0flpYOhQFdrDWZLFS7gPHhLYksrmGD5AqHttIIQ8IuijgEgQBX2X5DxwlREVqxjEY TbbW/Z6un3duEl1z0mTjXcDkbOnzdtntg9qeyB0LeeOsq6gHvqd9P4GummCfJTB3K09M PCb2hu5f4pSiXuy56NeOKxC3y4N+lBomPpgNivEXbDTc6HNDyZIyYoD8u2O88s/4GQKy bzhSJMAE3YIqTSk9fqLsv92iIs6T7kfL6ggrnOf1p2ccyzhDZxzaop4dQc1qPMpCIZ7l 4vz6IpOzi7j8WUdbNDN61N5f2DWL0vkDwLToTKOb09KKJpVIn5V+v2oJCU91x+s5M50A 8Q7g== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:arc-authentication-results; bh=0XcBh49kzYyl5LB44i2t9XV+ZWRMFykY9MZCX6k/65M=; b=BpAq+Xh8+3+QgNkiD86ur115dDgYPrg+kyNZuCWWC7K+vatP4bOR9+8Wmc0MUMRDAY jf2FT+/XbiszR0M+CyoAXFA8/Z5ZkTmd55Lsee+my4q8wLreJl6mseir6OZQawuzoYPY D4mSpBG3FpPlYvLgrf+E6XkCHfJu6UMyYpqDE311IsDhLnkhQc4Nes6KXYQ7VVoqCweu gs0xtF+BY1cEqQPmgsxB4HjfQMEnkmIjwPwX/IyKlZKT2PShxQ4OXqETDXWxRJYBeF/U YuCf27DMjijSTmUGMjdiqt9rveNW3w0+tCw7GW3wPcQ889qsUG9zPSx3uMh8PaL8mQEO jWng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IrbJIFJN; 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: <u-boot-bounces@lists.denx.de> Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id b15si412092edh.143.2018.04.24.10.47.30; Tue, 24 Apr 2018 10:47:30 -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=IrbJIFJN; 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 19D8BC21EA8; Tue, 24 Apr 2018 17:47:19 +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_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 B7158C21F59; Tue, 24 Apr 2018 17:47:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5F569C21F6A; Tue, 24 Apr 2018 17:46:58 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 6BA5BC21F50 for <u-boot@lists.denx.de>; Tue, 24 Apr 2018 17:46:58 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id j5so2261528wme.5 for <u-boot@lists.denx.de>; Tue, 24 Apr 2018 10:46:58 -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=fzreL59h9zv3aEoBkEkGnxh4k3f6J+n3UNaebiP7K+U=; b=IrbJIFJNUalPRzy/h2h1O1fiIVxEaJoL9E13MnbP4sYIUGIPrKRujj5yPC+jz6Pbuy K8rEjCm4cHC/xq6gWz3q6gYH9PpQBVQ4gJJl7S4iFqS+OYUiUZg0dwEaT1tcZSmr6pSq HV74FKXwdyTNs7pqcVjPjEAPOcXIFzxwEJm+I= 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=fzreL59h9zv3aEoBkEkGnxh4k3f6J+n3UNaebiP7K+U=; b=Ij+sg+QmQpGkqU4RhFiHelZsM9SxxpV1n0vh4lXmL/AKo9Ob8Y74KPI8GqPxiUfL+7 oSNQ8vX4nV0FTv4HaLc2yrvpbvcZNfHSv4XPw7GD9OLE7TUyHLow3aUgxhbmScrQxSbc EAvgrTy5MDdv46/k/K2mAEqgoNzj3Xo66/UXwLbHiE/6Ni+fmaNKYT7pvxnocVdWPwI3 JtI/CCKSKx2ZQl7n7uq2stwxBZTgwMqs4LLxzUIJmOIEwTYK6DOzB3FX5DHbvb0qUTwG dF6fImHI3oaxNFcVkNUcEjN3lcFPnHr0wJw4IiAcMMiBeVh8dsi/b1zV9ej5QT4uZNN3 JA9g== X-Gm-Message-State: ALQs6tA8rXOELHWLFc+VBU66l2NG/LfVn1bV3MKdAEBGAK0U1/Qd9JNh PbwHzBV2795+X9/Asqygnx63D1R9abc= X-Received: by 10.80.195.129 with SMTP id h1mr35187030edf.190.1524592017889; Tue, 24 Apr 2018 10:46:57 -0700 (PDT) Received: from event-horizon.net ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id e6sm6443087eds.20.2018.04.24.10.46.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 10:46:57 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, sbabic@denx.de, fabio.estevam@nxp.com, breno.lima@nxp.com Date: Tue, 24 Apr 2018 18:46:35 +0100 Message-Id: <20180424174647.11840-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424174647.11840-1-bryan.odonoghue@linaro.org> References: <20180424174647.11840-1-bryan.odonoghue@linaro.org> Subject: [U-Boot] [PATCH v4 06/18] warp7: Allocate specific region of memory to OPTEE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
warp7: Enable automated OPTEE/HAB boot flow
|
expand
|
diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 0d3d324571..56f0cdd175 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -58,6 +58,11 @@ int dram_init(void) { gd->ram_size = PHYS_SDRAM_SIZE; + /* Subtract the defined OPTEE runtime firmware length */ +#ifdef CONFIG_OPTEE_TZDRAM_SIZE + gd->ram_size -= CONFIG_OPTEE_TZDRAM_SIZE; +#endif + return 0; }