Message ID | 1519648566-12061-4-git-send-email-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp153869lja; Mon, 26 Feb 2018 04:37:52 -0800 (PST) X-Google-Smtp-Source: AH8x224ILDIZ54nIckhXJvts/J1UF2buZCQCgj9I5e1JRRSWHmPx0wSOY3Hy3emIsLOpPBdvgaaS X-Received: by 10.80.145.76 with SMTP id f12mr14564296eda.23.1519648672882; Mon, 26 Feb 2018 04:37:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519648672; cv=none; d=google.com; s=arc-20160816; b=JqKPFUEmfTOGfDe9B7ksUoVuArarPjlDCH92k+uHNYxoo4NGnKbmTovu2279U6Ld9m cwuem1+nfgDeFfcMoLEDih8xr5n73xcgRMFMqj4YNMNZmB0RM5Zp2QWf5Eq2W+wqVsBZ IyyXuRxRwDKeJurpwB5h0XQyfhgrVuY+VqeaI+au3PLuc3/+B7z6A3H0FeGJETehTK3G NlLMxR9qolFmJXVMrwVMgHIB+P5BzAqypOh4KX7wPG4xryrAy1FaDsrZFK1baxTsCBw4 WuWKSaQ6hGDN43BQvtI0BQEWD5yL1xSNjS47WF5J6YIA2Xwf7KLFs6JUX/QWoQvXTgSj T99Q== 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=uU6KL/kl7tqPzMMMPb8Lk9DtIJzgj/57REjhzX/urL4=; b=q5kIXNoimhN1YPsgwgnXvINXs3oJo3OB491J02P50UJ5M2skDDoRXXAqGuHlOb1MJc hnCsdmMvoGK+e/4TQZx71kmGphjsluT7SbC0UGrcOG5Ay8843sELMC5GqySeSNssWV40 jCv1y16Qu9yPHmINpXdAxTntlsv2OiLYnvY2RHXCrSshT/xxaY/SYHJXyejwJt66IZ7t YeXeo75SwEhSW/nNYgc78kMDkSz9X7Dzh9hrq1fQglwn7N292A0UPMdwrMES+nqhtlfR Cu91DXEnnHFRJiFPkfpgY8oXnMGrAFNQSwOHbXSRffx+DUH2FEmbKVolfh7WBos2rbgA wU4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E2pCyrjm; 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 l17si6140441edf.465.2018.02.26.04.37.52; Mon, 26 Feb 2018 04:37:52 -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=E2pCyrjm; 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 70851C220FC; Mon, 26 Feb 2018 12:37:18 +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 6FD22C22108; Mon, 26 Feb 2018 12:36:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 856DCC22100; Mon, 26 Feb 2018 12:36:18 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.denx.de (Postfix) with ESMTPS id A9931C220D8 for <u-boot@lists.denx.de>; Mon, 26 Feb 2018 12:36:12 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id w128so11160945wmw.0 for <u-boot@lists.denx.de>; Mon, 26 Feb 2018 04:36:12 -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=/pD+xsWkk1mzR0w8Yj15R0YvITOa33DACjzsp+TtxP0=; b=E2pCyrjmF+EiBGuQ1J6HhKZTy9svmDWoMaRcSPWj7HsoLp2F8KCCb7rqA6TNpk4TVu /QJLSezRbXNS7118hy/Pe/K85V/f2vbMCeUqTLdKjcX5mcuABVSLS5Ig1j+w9WyMeRRF aep+31FEAERgHfd1pQ+dA2K+Brl4eYphk0Qrg= 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=/pD+xsWkk1mzR0w8Yj15R0YvITOa33DACjzsp+TtxP0=; b=aoCEbzOmmc/a5qub4V2IinzOk1XD92oNg+FlBnSk2ofe+fP4HAWftQZU/veh7AMzkQ 8y1OVG7vyFTe7Ho3xyglfa7ayUTDtSShfmzU9+IEk0jeX9O/wNBYdbQ6LtCQtS6rYDBY FTH5xKsePSv27nF9ggDETvF5S2ZvnlTJTGLBb0ANhKAsB336Sqi6fxd4UMqwTflwkzI5 GSK0xaE+WSwDVnJYWHdO+rXwGl37RUjhMjWxJjsKfEH31K18g1wN5GPt873v20+dnFOb hrm+nD9a8XDBFcW7t61dfY6RZFAMITmb6i9518GlZpdr8mAsFgUZd2IkFAviF5zvjvI6 LpUg== X-Gm-Message-State: APf1xPDLgQFwYdC9ekG6FioVCfyngvxpdi2ZjHcvUr6A9FSBuK0oFlgv iUX9TxRp9dYCus0XfZyO0dabzQOTkMs= X-Received: by 10.80.146.206 with SMTP id l14mr14064156eda.54.1519648572101; Mon, 26 Feb 2018 04:36:12 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id f6sm2493967edn.45.2018.02.26.04.36.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Feb 2018 04:36:11 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: u-boot@lists.denx.de, trini@konsulko.com, harinarayan@ti.com, afd@ti.com, kever.yang@rock-chips.com, philipp.tomsich@theobroma-systems.com, peng.fan@nxp.com Date: Mon, 26 Feb 2018 12:35:57 +0000 Message-Id: <1519648566-12061-4-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519648566-12061-1-git-send-email-bryan.odonoghue@linaro.org> References: <1519648566-12061-1-git-send-email-bryan.odonoghue@linaro.org> Subject: [U-Boot] [PATCH v4 03/12] optee: Add CONFIG_OPTEE_TZDRAM_BASE 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 |
Add new OPTEE bootm support to u-boot
|
expand
|
diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig index 2ca7be7..9e9ef39 100644 --- a/lib/optee/Kconfig +++ b/lib/optee/Kconfig @@ -13,3 +13,11 @@ config OPTEE_TZDRAM_SIZE help The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE runtime. + +config OPTEE_TZDRAM_BASE + hex "Base address of Trust-Zone RAM for the OPTEE image" + depends on OPTEE + default 0x9d000000 + help + The base address of pre-allocated Trust Zone DRAM for + the OPTEE runtime.
OPTEE is currently linked to a specific area of memory called the TrustZone DRAM. This patch adds a CONFIG entry for the default address of TrustZone DRAM that a board-port can over-ride. The region that U-Boot sets aside for the OPTEE run-time should be verified before attempting to hand off to the OPTEE run-time. Each board-port should carefully ensure that the TZDRAM address specified in the OPTEE build and the TZDRAM address specified in U-Boot match-up. Further patches will use TZDRAM address with other defines and variables to carry out a degree of automated verification in U-Boot prior to trying to boot an OPTEE image. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Harinarayan Bhatta <harinarayan@ti.com> Cc: Andrew F. Davis <afd@ti.com> Cc: Tom Rini <trini@konsulko.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Peng Fan <peng.fan@nxp.com> --- lib/optee/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+)