[PATCH 03/32] video: Move vesa_setup_video_priv() into its own file

Tom Rini trini at konsulko.com
Mon Feb 3 21:08:02 CET 2025


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 <sjg at 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.glass at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250203/59b15cea/attachment.sig>


More information about the U-Boot mailing list