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

2015-08-05 Thread Ian Campbell
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

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

2015-08-03 Thread Hans de Goede
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.