[U-Boot] [PATCH 1/5] sunxi: display: Replace #ifdef-ery with helper functions

Ian Campbell ijc+uboot at hellion.org.uk
Wed Aug 5 09:53:47 CEST 2015


On Mon, 2015-08-03 at 23:54 +0200, Hans de Goede wrote:
> All the #ifdef-ery in selecting the default and fallback monitor type 
> is
> becoming unyielding and makes the code hard to read, replace it with 
> a few
> helper functions.
> 
> This will also be useful with the upcoming CHIP board which has 
> display
> adapter daughterboards which should be runtime detectable.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

I couldn't quite convince myself there was "no semantic change" here,
but either way it's an improvement so:

Acked-by: Ian Campbell <ijc at hellion.org.uk>



More information about the U-Boot mailing list