On Mon, Feb 03, 2025 at 10:41:56AM -0700, Simon Glass wrote: > This helper is used by the EFI driver and we would like to use that on > ARM. Move the helper function into its own file, separate from PCI ROMs, > which are an x86 thing. > > Add a forward declaration for struct udevice so that the header can be > included directly. > > Signed-off-by: Simon Glass <s...@chromium.org> [snip] > diff --git a/drivers/video/vesa_helper.c b/drivers/video/vesa_helper.c > new file mode 100644 > index 00000000000..dde8797e765 > --- /dev/null > +++ b/drivers/video/vesa_helper.c > @@ -0,0 +1,41 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright 2025, Simon Glass <simon.gl...@canonical.com> > + */ > +
If we have to add copyright and not just license information here, you need to copy what's in drivers/pci/pci_rom.c where yes, you added that function in 2016, and it's based on coreboot at the time. -- Tom
signature.asc
Description: PGP signature