public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header
@ 2024-10-18 15:55 Andy Shevchenko
  2024-10-19 11:51 ` Simon Glass
  2025-05-09 18:57 ` Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-10-18 15:55 UTC (permalink / raw)
  To: Andy Shevchenko, u-boot; +Cc: Simon Glass, Bin Meng, Tom Rini

The new two declarations board_final_init() and board_final_cleanup()
need a description. Add it here.

Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/x86/include/asm/cpu.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h
index d71bc1b80c05..a5b2043f7de1 100644
--- a/arch/x86/include/asm/cpu.h
+++ b/arch/x86/include/asm/cpu.h
@@ -298,7 +298,20 @@ u32 cpu_get_stepping(void);
  */
 int cpu_phys_address_size(void);
 
+/**
+ * board_final_init() - Final initialization hook (optional)
+ *
+ * Implements a custom initialization for boards that need to do it
+ * before the system is ready.
+ */
 void board_final_init(void);
+
+/**
+ * board_final_cleanup() - Final cleanup hook (optional)
+ *
+ * Implements a custom cleanup for boards that need to do it before
+ * booting the OS.
+ */
 void board_final_cleanup(void);
 
 #ifndef CONFIG_EFI_STUB
-- 
2.43.0.rc1.1336.g36b5255a03ac


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header
  2024-10-18 15:55 [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header Andy Shevchenko
@ 2024-10-19 11:51 ` Simon Glass
  2025-05-09 12:53   ` Andy Shevchenko
  2025-05-09 18:57 ` Tom Rini
  1 sibling, 1 reply; 5+ messages in thread
From: Simon Glass @ 2024-10-19 11:51 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: u-boot, Bin Meng, Tom Rini

On Fri, 18 Oct 2024 at 09:56, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> The new two declarations board_final_init() and board_final_cleanup()
> need a description. Add it here.
>
> Suggested-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/x86/include/asm/cpu.h | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>


> diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h
> index d71bc1b80c05..a5b2043f7de1 100644
> --- a/arch/x86/include/asm/cpu.h
> +++ b/arch/x86/include/asm/cpu.h
> @@ -298,7 +298,20 @@ u32 cpu_get_stepping(void);
>   */
>  int cpu_phys_address_size(void);
>
> +/**
> + * board_final_init() - Final initialization hook (optional)
> + *
> + * Implements a custom initialization for boards that need to do it
> + * before the system is ready.
> + */
>  void board_final_init(void);
> +
> +/**
> + * board_final_cleanup() - Final cleanup hook (optional)
> + *
> + * Implements a custom cleanup for boards that need to do it before
> + * booting the OS.
> + */
>  void board_final_cleanup(void);
>
>  #ifndef CONFIG_EFI_STUB
> --
> 2.43.0.rc1.1336.g36b5255a03ac
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header
  2024-10-19 11:51 ` Simon Glass
@ 2025-05-09 12:53   ` Andy Shevchenko
  2025-05-09 14:37     ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2025-05-09 12:53 UTC (permalink / raw)
  To: Simon Glass; +Cc: u-boot, Bin Meng, Tom Rini

On Sat, Oct 19, 2024 at 05:51:00AM -0600, Simon Glass wrote:
> On Fri, 18 Oct 2024 at 09:56, Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> >
> > The new two declarations board_final_init() and board_final_cleanup()
> > need a description. Add it here.
> >
> > Suggested-by: Simon Glass <sjg@chromium.org>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  arch/x86/include/asm/cpu.h | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>

What's the status of this?

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header
  2025-05-09 12:53   ` Andy Shevchenko
@ 2025-05-09 14:37     ` Tom Rini
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2025-05-09 14:37 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Simon Glass, u-boot, Bin Meng

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

On Fri, May 09, 2025 at 03:53:03PM +0300, Andy Shevchenko wrote:
> On Sat, Oct 19, 2024 at 05:51:00AM -0600, Simon Glass wrote:
> > On Fri, 18 Oct 2024 at 09:56, Andy Shevchenko
> > <andriy.shevchenko@linux.intel.com> wrote:
> > >
> > > The new two declarations board_final_init() and board_final_cleanup()
> > > need a description. Add it here.
> > >
> > > Suggested-by: Simon Glass <sjg@chromium.org>
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > > ---
> > >  arch/x86/include/asm/cpu.h | 13 +++++++++++++
> > >  1 file changed, 13 insertions(+)
> > >
> > 
> > Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> What's the status of this?

I haven't heard from Bin in a while, so I guess I should go and pickup
the outstanding patches. Thanks for the reminder.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header
  2024-10-18 15:55 [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header Andy Shevchenko
  2024-10-19 11:51 ` Simon Glass
@ 2025-05-09 18:57 ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2025-05-09 18:57 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: u-boot, Simon Glass, Bin Meng

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

On Fri, Oct 18, 2024 at 06:55:57PM +0300, Andy Shevchenko wrote:

> The new two declarations board_final_init() and board_final_cleanup()
> need a description. Add it here.
> 
> Suggested-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-09 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 15:55 [PATCH v1 1/1] x86: cpu: Describe board final hooks in the header Andy Shevchenko
2024-10-19 11:51 ` Simon Glass
2025-05-09 12:53   ` Andy Shevchenko
2025-05-09 14:37     ` Tom Rini
2025-05-09 18:57 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox