[U-Boot] [PATCH] config: enable CMD_BMP when API+LCD is enabled

Simon Glass sjg at chromium.org
Tue Apr 22 01:31:55 CEST 2014


Hi Stephen,

On 18 April 2014 11:15, Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> From: Stephen Warren <swarren at nvidia.com>
>
> 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: Stephen Warren <swarren at nvidia.com>

Reviewed-by: Simon Glass <sjg at chromium.org>

I do wonder whether it might be better to #error in this case?

Regards,
Simon


More information about the U-Boot mailing list