From patchwork Sun Jan 5 15:51:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1016 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 199A43F068 for ; Sun, 5 Jan 2020 16:51:17 +0100 (CET) Received: by mail-wr1-f72.google.com with SMTP id 90sf25812530wrq.6 for ; Sun, 05 Jan 2020 07:51:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578239476; cv=pass; d=google.com; s=arc-20160816; b=mqLpf+QUwMeWxXvQ5i+11HssbVAClBenvTA+lIwlzUNes2h4hcQR0WuBnzSV9R+OOm T12fJM0OU4Y56+RnoI81AwN1U4KEWqVq4zpE3QoqpKbsq7GMKSDI21EsN5z2BJzBGD/P aAGdaGghroca8NJFD9LJRS+868lGsj9+wHJBMIr7atnj2ppsdYT0jPHb+G4bs7Sccx01 d+jtp0CWHqn8il2NdrF1+MpZdafO64MrziaFphqisM4TPYJTriEv7SlsZrE3iALVB3sJ 6jJEze0WFefCMoTU/aGRUaY5gxvA3U7JSeE/zSe2F8e7P+qAMWPenhnFAE8cK3Axhacc dzbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=mgbrku3wzUeF2pFpSZwXPmBAzUXr0pwk6zW9PXCpAxQ=; b=1CKdxksfwNnALfnUpB+0d/OUE5slDaPiEpNH5BUApzCsIWqPDYGzEj9bmIfwBzNgA0 kgvd7aiSc6wakQY0L0oZJQQuuvU0O2sc7xxtmFPvQvsBGI2XD0dKD74i0fVT/F1ugku3 FiJSFAp6E4ssm+JJDowThyn7HUXFHT8emhPOdp5RyCvI8MZY2Sae46wic7c6U7bZeN7K ag1to2HFHijEugE4Nwz9nEJ/fxEPFRT3I7HfU9HM/1WN9cMzphTvWvZS08T+gspQRZv4 sQVaFAig/RZ6qwlKSPh7KcOLigTgXrr8M5loeJ3HIqHVwyV9TukPvl6IocgvVtN/pFFU 7NEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IsjkxUti; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=mgbrku3wzUeF2pFpSZwXPmBAzUXr0pwk6zW9PXCpAxQ=; b=lf7I3a4blQdvn8buZt+xt4QYhsaHZ2oW6KIOHKllJDkG4oM8CvIl5mDlU5mXk+TVm4 hYsbMMqC1BTM1+ba7A0L0ZHzATFWbE5OVf5W6EQHtGTT6iIBigA71Q8kTM6AjZ9F1t9x UbC9mE73seFHPA70POTAdZNvEUYtDMu0trPqQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=mgbrku3wzUeF2pFpSZwXPmBAzUXr0pwk6zW9PXCpAxQ=; b=WpS94zASN2yVwjH1kyOMQFNDXimiHvnlDu36T8WBgEUaPL3myUpGwSqzLoOwRvSe3f +sMDXCWjZKWERSxBqB4af7WSi8MxhCsVjuM6rJemq0QvVNf62JE3TQi8MRZ2jc9gVb69 fNnqYplLmcIWotnNUhd+6I0p+VGB8LzEOeG3AB4dC04WrRtn5xhJSehDZw39bfNAJdHL Jfvu0dOlND+yuNvtTJOW5oc3sYuPWkU5f0pcfZe8T5fK1pjIWzH69OLZOFfd49QkAWPF OmO6cU3/LY1DvzXwZGCnxghURv+dvW6xDUwmF9VWrpui6PYRMStkMr3AfD817uxtZu/i Cu1g== X-Gm-Message-State: APjAAAWNwN/HUHLunDHfaZlHcYezkzvbiXgnWTTvQQDtf2gsvKRVYwr4 uchnsr0gbNgLCQ5YLGj6vXzqwiLl X-Google-Smtp-Source: APXvYqxslIJC3nxf2CCo2o6Xbj7pV+wb0osSh3fBwHiXD3HbejVqgn8Y78KDA2MVALDinkEXYe0FbA== X-Received: by 2002:a1c:9dd7:: with SMTP id g206mr30214709wme.61.1578239476681; Sun, 05 Jan 2020 07:51:16 -0800 (PST) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a7b:c76b:: with SMTP id x11ls4504373wmk.3.gmail; Sun, 05 Jan 2020 07:51:16 -0800 (PST) X-Received: by 2002:a7b:c775:: with SMTP id x21mr30318027wmk.59.1578239475904; Sun, 05 Jan 2020 07:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578239475; cv=none; d=google.com; s=arc-20160816; b=iKlbPa4ydsl3p7mCPYU5w/7RWTwZFTJ7SsB7V8eXbdyu3uiBZnf/XawMW5uN2PIuk7 st22EgU9wB1fN0Siy1h6vnit5XuPRK3TIPH20emqGGDQ/2DyIP/Kf6gP8w9YjmvtjgJp HCkrG/6A2Gh0yQyy296flAwsjN19ct+kBmU+9mhL7n7KkktlGwK/1JhEidMNAq+BF+6E SrL6mnCvyBImvpGT1BJ3Y1tLiApQwXoT1LADQDk/XrQYFjBJpU4kZYartb2kW+11Jr2x brV++VEGUxh21SsRZg/iGbp7iuzqNOS/K/sIdup3rrmvbxU4cgHekhtIqqIZOFkVW123 jnPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=4q1gX0NZRs0Pw7D07W/9KXaau9E+ZKNA75mDJal8uj0=; b=UvO9ZaNg//sb04Ob/4rLKAJ76EaVidMTU4fH+FI/b1G78j6xSwBNwtq1bgFQ20yKjo I/9ClNKuLf/VOLFPD1RQtWwkho1pQBmz0DTwIMDiZFILVbXLDWSHkHwI1nu6EZrEvCTL ArrUimF+a5xoROFssfDm1V0Tz4MzwjrJ3UzJ1D51DcEeemaArPUofkJ9b/+QPtQhacfs BLZKtzwc4WifiPCk7YdJy8NqN7r8v9ZrYc6kia2XF5wGE93QfmltszvM63EVGzZHjPdO FsJNBR6ZrbBYTYLPCxkF1oXBkmKaafy3yrrX+jr5eeEa4etho3TxVoWAStIXt5PV+Zjg dthw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IsjkxUti; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id n2sor6157387wro.9.2020.01.05.07.51.15 for (Google Transport Security); Sun, 05 Jan 2020 07:51:15 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:adf:c147:: with SMTP id w7mr101901366wre.389.1578239475501; Sun, 05 Jan 2020 07:51:15 -0800 (PST) Received: from panicking.powersoft.it (93-46-124-24.ip107.fastwebnet.it. [93.46.124.24]) by smtp.gmail.com with ESMTPSA id n67sm20117355wmf.46.2020.01.05.07.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2020 07:51:14 -0800 (PST) From: Michael Trimarchi To: Simon Glass Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com Subject: [PATCH] arm: Add arm handoff header file Date: Sun, 5 Jan 2020 16:51:13 +0100 Message-Id: <20200105155113.1966-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IsjkxUti; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add an arch-specific handoff header so that we can use the HANDOFF feature on arm devices. Signed-off-by: Michael Trimarchi Reviewed-by: Simon Glass --- arch/arm/include/asm/handoff.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 arch/arm/include/asm/handoff.h diff --git a/arch/arm/include/asm/handoff.h b/arch/arm/include/asm/handoff.h new file mode 100644 index 0000000000..0790d2ab1e --- /dev/null +++ b/arch/arm/include/asm/handoff.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Architecture-specific SPL handoff information for ARM + * + * Copyright 2019 Amarula Solutions, BV + * Written by Michael Trimarchi + */ + +#ifndef __asm_handoff_h +#define __asm_handoff_h + +/** + * struct arch_spl_handoff - architecture-specific handoff info + * + * @usable_ram_top: Value returned by board_get_usable_ram_top() in SPL + */ +struct arch_spl_handoff { + ulong usable_ram_top; +}; + +#endif