]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of VIDEO_ANSI
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:44:28 +0000 (15:44 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_ANSI defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/cls.c

index 787c7edbee3fa5f35dd8526168dd359d237da921..40a32eeab638a7a5327d47cbdddcf89a633ac9ee 100644 (file)
--- a/cmd/cls.c
+++ b/cmd/cls.c
@@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
 
        /*  Send clear screen and home */
        printf(CSI "2J" CSI "1;1H");
-       if (IS_ENABLED(CONFIG_VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) {
+       if (IS_ENABLED(CONFIG_VIDEO) && !IS_ENABLED(CONFIG_VIDEO_ANSI)) {
                if (uclass_first_device_err(UCLASS_VIDEO, &dev))
                        return CMD_RET_FAILURE;
                if (video_clear(dev))