Message ID | 20180424174647.11840-8-bryan.odonoghue@linaro.org |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KAT+xQzY"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40VrYC0vRVz9s0v for <incoming@patchwork.ozlabs.org>; Wed, 25 Apr 2018 03:53:51 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BE11EC21F48; Tue, 24 Apr 2018 17:52:25 +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_H2, 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 D7841C21F92; Tue, 24 Apr 2018 17:47:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B6F3CC21F5B; Tue, 24 Apr 2018 17:46:59 +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 6D3FEC21ECF for <u-boot@lists.denx.de>; Tue, 24 Apr 2018 17:46:59 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id t67so2685184wmt.0 for <u-boot@lists.denx.de>; Tue, 24 Apr 2018 10:46:59 -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=8BzIYzpRfFo5NwGhVUm3+UEP9zi6NED7bdgH7ykgg+g=; b=KAT+xQzYnjY5J8PNnHQ04tah66IGiIVSwIZRf0ImZblm04fOFUg8QXwQJj8VdIrlk5 bINVG7tE5T2iHv6pUr3QqbMJJgPBW0r9ymUfDykfKGc072Jpm3imNvB/ZuhpVSAW+/5Y +HOW/hpENdHFWlje4obqCfadRS3XgtaqUfs/4= 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=8BzIYzpRfFo5NwGhVUm3+UEP9zi6NED7bdgH7ykgg+g=; b=TA/u29eb8VSl/XKfe46L3qDb/GpvTJ25/iVNLv9KJ0L0qR8BkwBdc7h+eEGMgHWmNR Sk+GUR6Rid/PGb53hwTJ+VyoHTHkgyM07aek84u+75Hrppy9I+i1f7z/yrgAtgQqsco7 AWdxOyGFiO7AwP0lbCNP76JR8po9eA/721U7yQGfu1QmY23ghkvkEG8aIR/wBugBTs1w x3PNY7oTpyKkImQJ6MfSVusGyfS5o47J7VlIjQiDSR5NBIiXWV0E9bTGxoMVOQpO8Kkb QycvKrcw8iBQHYJv9HOJI4cljeXC6sT7FwRlG2kDzsEdKJwGgr9A2fMkDD2QPeCVr06Z +qLA== X-Gm-Message-State: ALQs6tAEGBfKscPJHJLJjpQuZlK5quhsJ6t3e89YwKBWAVQaFAmeF93N NHQIHHWxGO4/JHeEziWL7Arnb0tSKxo= X-Google-Smtp-Source: AB8JxZrUQmVHDoMWKprKmF1Pg5StR2IOJRm5kW5POgY9nM/eyMRQTZK9pooZYML/mXGIvI9NnsEukQ== X-Received: by 10.80.181.131 with SMTP id a3mr1146456ede.207.1524592018898; Tue, 24 Apr 2018 10:46:58 -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.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 10:46:58 -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:36 +0100 Message-Id: <20180424174647.11840-8-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 07/18] warp7: Print out the OPTEE DRAM region 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 56f0cdd175..da52b183bd 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -181,7 +181,17 @@ int checkboard(void) else mode = "non-secure"; +#ifdef CONFIG_OPTEE_TZDRAM_SIZE + unsigned long optee_start, optee_end; + + optee_end = PHYS_SDRAM + PHYS_SDRAM_SIZE; + optee_start = optee_end - CONFIG_OPTEE_TZDRAM_SIZE; + + printf("Board: WARP7 in %s mode OPTEE DRAM 0x%08lx-0x%08lx\n", + mode, optee_start, optee_end); +#else printf("Board: WARP7 in %s mode\n", mode); +#endif return 0; }