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

Stephen Warren swarren at wwwdotorg.org
Tue Apr 22 18:00:54 CEST 2014


On 04/21/2014 05:31 PM, Simon Glass wrote:
> 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?

I see it rather like a "select" in Kconfig. (although perhaps this would
end up being a depends rather than a select)


More information about the U-Boot mailing list