Hi Stephen,

On Fri, 21 Feb 2025 at 18:04, Tom Rini <tr...@konsulko.com> wrote:
>
> On Fri, Feb 21, 2025 at 05:03:52PM -0800, Stephen Boyd wrote:
> > Quoting Tom Rini (2025-02-20 17:07:11)
> > > On Thu, Feb 20, 2025 at 12:58:47PM -0800, Stephen Boyd wrote:
> > >
> > > > Add a 'coreboot' cpu to armv8 that looks for the coreboot table near the
> > > > top of the 4G address space.
> > > >
> > > > Signed-off-by: Stephen Boyd <swb...@chromium.org>
> > > > ---
> > > >  arch/arm/Kconfig                     |  2 ++
> > >
> > > We can't really ask SYS_COREBOOT in two places, as unlike the kernel
> > > everyone always parses arch/*/Kconfig, so we should move
> > > arch/x86/cpu/coreboot/Kconfig to say arch/Kconfig.coreboot and do
> > > something like:
> > > config SYS_COREBOOT
> > >         bool "Support for booting u-boot as a coreboot payload" if ARM64
> > >         depends on ARM64 || VENDOR_COREBOOT
> > >         default y if VENDOR_COREBOOT
> >
> > Ok, thanks. I'll do that.
> >
> > >
> > > And then any of the sub-options that are imply'd by the existing stanza
> > > in the x86 file aren't applicable to ARM64 they can be "... if X86".
> > >
> > > As similar to the work to make EFI payload be a more generic option
> > > rather than x86 only, this too needs some thought to be easily
> > > expandable to cover the ARM case today and I'll assume RISC-V at some
> > > point in the future.
> > >
> >
> > Do you have a pointer to that EFI work?
>
> No because it's still very much in progress over in Simon's personal
> tree.

See here:

https://sjg.u-boot.org/u-boot/u-boot/-/tree/efiq4?ref_type=heads

Regards,
Simon

Reply via email to