
From: Simon Glass <sjg@chromium.org> U-Boot includes a few graphical images which are compiled in, such as the logo and the BGRT logo used for EFI. At present these are handled by a Makefile rule which looks for files ending with '_logo.bmp'. This series moves these into a new drivers/video/images directory and puts them in a linker list, so it is possible to see what images are available. Adding a new image is simpler, just requiring the addition of the normal 'obj-y += file.bmp' rule. This series also adds a new 'video' command which provides the existing 'setcurs' and 'lcdputs' as subcommands, along with documentation and tests. It also adds a more convenient 'write' subcommand. Changes in v2: - Add new patch to switch this command to use hex - Split out docs into its own patch; use video: tag - Pull out the docs into a separate patch - Update test result for hex - Correct confusing output text which should be 16 instead of 10 - Improve docs for row and col - Use Canonical copyright Simon Glass (9): cmd: Update setcurs to use hex doc: video: Add docs for video commands video: Add tests for the video commands video: Add video command with subcommands video: Add a write subcommand video: Support a linker list of images video: Move the logo into the new video-images directory acpi: bgrt: Move the BGRT image into the images directory video: Provide a command to list built-in images cmd/video.c | 96 +++++++++++++- doc/usage/cmd/lcdputs.rst | 58 +++++++++ doc/usage/cmd/setcurs.rst | 57 +++++++++ doc/usage/cmd/video.rst | 120 ++++++++++++++++++ doc/usage/index.rst | 3 + drivers/video/Makefile | 3 +- drivers/video/images/Makefile | 9 ++ .../video/images/bgrt.bmp | Bin .../{u_boot_logo.bmp => images/u_boot.bmp} | Bin drivers/video/video-uclass.c | 20 ++- include/video.h | 46 +++++++ include/video_image.h | 13 ++ lib/acpi/Makefile | 2 - lib/acpi/acpi_extra.c | 22 +--- scripts/Makefile.lib | 42 ++++-- test/dm/video.c | 50 ++++++++ 16 files changed, 494 insertions(+), 47 deletions(-) create mode 100644 doc/usage/cmd/lcdputs.rst create mode 100644 doc/usage/cmd/setcurs.rst create mode 100644 doc/usage/cmd/video.rst create mode 100644 drivers/video/images/Makefile rename lib/acpi/bgrt_image.bmp => drivers/video/images/bgrt.bmp (100%) rename drivers/video/{u_boot_logo.bmp => images/u_boot.bmp} (100%) create mode 100644 include/video_image.h -- 2.43.0 base-commit: e49052511fa82329bf33d7521740eeb24a357607 branch: prob2