All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 1/1] bootm: add {arch,board}_preboot_os() to bootm.h
Date: Tue, 15 Sep 2020 01:58:10 +0200	[thread overview]
Message-ID: <20200914235811.19779-1-xypron.glpk@gmx.de> (raw)

Functions that are used in multiple C modules should be defined in an
include.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 include/bootm.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/bootm.h b/include/bootm.h
index 0350c349f3..a812a6bf24 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -75,4 +75,14 @@ void board_quiesce_devices(void);
  */
 void switch_to_non_secure_mode(void);

+/**
+ * arch_preboot_os() - arch specific configuration before booting
+ */
+void arch_preboot_os(void);
+
+/**
+ * board_preboot_os() - board specific configuration before booting
+ */
+void board_preboot_os(void);
+
 #endif
--
2.28.0

             reply	other threads:[~2020-09-14 23:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 23:58 Heinrich Schuchardt [this message]
2020-09-14 23:58 ` [PATCH 1/1] bootm: add {arch,board}_preboot_os() to bootm.h Heinrich Schuchardt
2020-09-15  7:38   ` Michael Walle
2020-09-15  8:39     ` Heinrich Schuchardt
2020-10-14 17:42   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200914235811.19779-1-xypron.glpk@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.