mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
Correct SPL use of VIDEO_ANSI
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>
This commit is contained in:
parent
1f69cbe1f1
commit
2fe2ac139f
@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||||||
|
|
||||||
/* Send clear screen and home */
|
/* Send clear screen and home */
|
||||||
printf(CSI "2J" CSI "1;1H");
|
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))
|
if (uclass_first_device_err(UCLASS_VIDEO, &dev))
|
||||||
return CMD_RET_FAILURE;
|
return CMD_RET_FAILURE;
|
||||||
if (video_clear(dev))
|
if (video_clear(dev))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user