From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E85D1C433F5 for ; Mon, 17 Jan 2022 15:06:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2D50C8380E; Mon, 17 Jan 2022 16:05:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="CJfbNiDK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 61B238366B; Mon, 17 Jan 2022 16:05:23 +0100 (CET) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C386E8365E for ; Mon, 17 Jan 2022 16:05:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x135.google.com with SMTP id d3so14981852ilr.10 for ; Mon, 17 Jan 2022 07:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=im4rsKuwKLnJ7HFLe5v73AO9czFEHUGHoqKOG0ZfmXs=; b=CJfbNiDKmUqODQo9yIGgidnvwK9Qxu2e5FLjiIj1V3rI5jiw6kUe7XTI3xgsuVlpFr 7av/a7+GbEEuWaiQqFDWRZON36lwxE55SuJCWuNTcUywVqTHawfYtGvc8lpZ0Uaoj6EA gg6bpAvFfjgvhbT+5aiqODHpDCr7kYGb3VTNg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=im4rsKuwKLnJ7HFLe5v73AO9czFEHUGHoqKOG0ZfmXs=; b=G/jg8ASr5wS9DI8lKZoZg6IJ5EYTjGqI6cHMoD+EiYTg9F8gK3TrZVZNF+QusLY+O6 DlIeK+8Nlo6q8q+c9aa3bfnVyOEkFohisn5lbWGqW4dwm2djtfAGUCoJq4xcVuoR9/tt SHUFBCvjY053gmGZJ+11z+2TTcUj5nY4wYR0fnsPr/IG5QTjIKibXQzBJTcZ3DlogXJ5 OVJIsNrlU4sWKoeNVzFhLjxRA3Fis4hlce9wU6axaItAwV/78iy339/otWkaOa0nRXC+ 1SSGZFvHPmJBtM4pykCFd7jgz+Aq93h0JVqZi5dQwm7avreXJJZfm0RNoHvyjb2MTLCu 9owg== X-Gm-Message-State: AOAM5314cdjTYDeumpLmXGAw+MsIHpmPPlQPoj/1ZHO1pNp9tgyN3Mwu sc4B1jdlxalUJFfLWWRSnZjDLGH4mx0Y0A== X-Google-Smtp-Source: ABdhPJwHPyxzVp2fxeXnq38ygu3CKfDwkx1f/S47ZFGP3949d2ubzh+keBm0iazM/Lfb3evHegHTXg== X-Received: by 2002:a05:6e02:12a4:: with SMTP id f4mr9926432ilr.77.1642431899419; Mon, 17 Jan 2022 07:04:59 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id f21sm9379320iol.42.2022.01.17.07.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 07:04:59 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Tom Rini , =?UTF-8?q?Fran=C3=A7ois=20Ozog?= , Heinrich Schuchardt , Bill Mills , Simon Glass , Mario Six Subject: [PATCH v2 13/16] passage: Add docs for spl_handoff Date: Mon, 17 Jan 2022 08:04:25 -0700 Message-Id: <20220117150428.1580273-7-sjg@chromium.org> X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog In-Reply-To: <20220117150428.1580273-1-sjg@chromium.org> References: <20220117150428.1580273-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This tag already exists in U-Boot. Add documentation, following the format set out. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/stdpass_check.c | 8 ++++++++ include/handoff.h | 8 +++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/board/sandbox/stdpass_check.c b/board/sandbox/stdpass_check.c index 8391c7a4aed..9c015b6783e 100644 --- a/board/sandbox/stdpass_check.c +++ b/board/sandbox/stdpass_check.c @@ -28,3 +28,11 @@ void check_struct_name(void) { /* __maybe_unused struct struct_name check; */ } + +/* BLOBLISTT_U_BOOT_SPL_HANDOFF */ +#include +void check_spl_handoff(void) +{ + __maybe_unused struct spl_handoff check; +}; + diff --git a/include/handoff.h b/include/handoff.h index 070a79c1b97..30203033ec9 100644 --- a/include/handoff.h +++ b/include/handoff.h @@ -9,16 +9,20 @@ #define __HANDOFF_H #if CONFIG_IS_ENABLED(HANDOFF) - #include +#endif /** * struct spl_handoff - information passed from SPL to U-Boot proper * + * bloblist_tag: BLOBLISTT_U_BOOT_SPL_HANDOFF + * * @ram_size: Value to use for gd->ram_size */ struct spl_handoff { +#if CONFIG_IS_ENABLED(HANDOFF) struct arch_spl_handoff arch; +#endif u64 ram_size; struct { u64 start; @@ -43,5 +47,3 @@ void handoff_load_dram_banks(struct spl_handoff *ho); int handoff_arch_save(struct spl_handoff *ho); #endif - -#endif -- 2.34.1.703.g22d0c6ccf7-goog