Skip to content
Snippets Groups Projects
Commit 264e0e59 authored by Stephen Warren's avatar Stephen Warren Committed by Anatolij Gustschin
Browse files

config: enable CMD_BMP when API+LCD is enabled


When both CONFIG_API and CONFIG_LCD are enabled, the API code calls
lcd_display_bitmap(). That isn't compiled unless either CONFIG_CMD_BMP
or CONFIG_SPLASH_SCREEN is enabled. In order to prevent build problems,
have config_fallbacks.h enable CONFIG_CMD_BMP when both API and LCD are
enabled.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent e1ae71d8
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,10 @@
#define CONFIG_LIB_RAND
#endif
#if defined(CONFIG_API) && defined(CONFIG_LCD)
#define CONFIG_CMD_BMP
#endif
#ifndef CONFIG_SYS_PROMPT
#define CONFIG_SYS_PROMPT "=> "
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment