drivers: display: remove unused Kconfig options

remove unused options SDL_DISPLAY_* and DUMMY_DISPLAY_*.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-11-30 10:46:17 +01:00 committed by Carles Cufí
parent 33625fd37b
commit 307c13b218
4 changed files with 1 additions and 31 deletions

View file

@ -3,23 +3,7 @@
# Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu>
# SPDX-License-Identifier: Apache-2.0
menuconfig DUMMY_DISPLAY
config DUMMY_DISPLAY
bool "Dummy display driver"
help
Enable dummy display driver compliant with display driver API.
if DUMMY_DISPLAY
config DUMMY_DISPLAY_DEV_NAME
string "Dummy display device name"
default "DUMMY_DISPLAY"
config DUMMY_DISPLAY_X_RES
int "X resolution for dummy display"
default 320
config DUMMY_DISPLAY_Y_RES
int "Y resolution for dummy display"
default 240
endif # DUMMY_DISPLAY

View file

@ -12,18 +12,6 @@ menuconfig SDL_DISPLAY
if SDL_DISPLAY
config SDL_DISPLAY_DEV_NAME
string "SDL display device name"
default "SDL_DISPLAY"
config SDL_DISPLAY_X_RES
int "X resolution for SDL display"
default 320
config SDL_DISPLAY_Y_RES
int "Y resolution for SDL display"
default 240
choice SDL_DISPLAY_DEFAULT_PIXEL_FORMAT
prompt "Default pixel format"
default SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888

View file

@ -43,7 +43,6 @@ tests:
extra_args: DTC_OVERLAY_FILE="dummy_dc.overlay"
extra_configs:
- CONFIG_DUMMY_DISPLAY=y
- CONFIG_DUMMY_DISPLAY_DEV_NAME="DISPLAY"
- CONFIG_KSCAN=n
- CONFIG_SDL_DISPLAY=n
tags: samples display gui

View file

@ -3,7 +3,6 @@ CONFIG_ZTEST=y
CONFIG_DISPLAY=y
CONFIG_SDL_DISPLAY=n
CONFIG_DUMMY_DISPLAY=y
CONFIG_DUMMY_DISPLAY_DEV_NAME="DISPLAY"
CONFIG_LOG=y