[U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
@Fabio: As you've pushed this stuff, I'd like to have your opinions on splitting this into a separate file.
Regards, Vikram

On Wed, Jun 13, 2012 at 2:00 PM, Vikram Narayanan vikram186@gmail.com wrote:
Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
@Fabio: As you've pushed this stuff, I'd like to have your opinions on splitting this into a separate file.
I don't have a strong opinion on this: either ifdef or a new file is fine with me.
Thanks,
Fabio Estevam

On 13/06/2012 19:00, Vikram Narayanan wrote:
Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ?
Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
I _really_ don't like ifdef -ing a lot of stuff.
Nobody likes it ;-)
Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
A way we use in the past to have different compilation of the same board with different features is to use a separate entry into boards.cfg, for example see imx31_phycore, or also magnesium and imx27lite, or...
Anyway, when patches for IPU flow into mainline, is there a good reason to not enable CONFIG_VIDEO for mx53loco ?
Best regards, Stefano

On 6/13/2012 10:50 PM, Stefano Babic wrote:
On 13/06/2012 19:00, Vikram Narayanan wrote:
Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ?
With this (fedab338f3459315cb69627fcf46032ec8df1753) it is already in the master.
Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
I _really_ don't like ifdef -ing a lot of stuff.
Nobody likes it ;-)
Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
A way we use in the past to have different compilation of the same board with different features is to use a separate entry into boards.cfg, for example see imx31_phycore, or also magnesium and imx27lite, or...
Anyway, when patches for IPU flow into mainline, is there a good reason to not enable CONFIG_VIDEO for mx53loco ?
Though this would be helpful for headless boards, I'm not the right guy. Fabio can give a better picture here.
Regards, Vikram
Best regards, Stefano

On Wed, Jun 13, 2012 at 2:53 PM, Vikram Narayanan vikram186@gmail.com wrote:
Anyway, when patches for IPU flow into mainline, is there a good reason to not enable CONFIG_VIDEO for mx53loco ?
Though this would be helpful for headless boards, I'm not the right guy. Fabio can give a better picture here.
I like the idea of keeping CONFIG_VIDEO enabled by default for mx53loco as it is currently.
Other boards like vision2, mx51evk do the same thing.
It is also a good idea to be able to deselect CONFIG_VIDEO and not break the build and Vikram intends to submit a patch for fixing this.
Regards,
Fabio Estevam

On Wed, Jun 13, 2012 at 2:20 PM, Stefano Babic sbabic@denx.de wrote:
On 13/06/2012 19:00, Vikram Narayanan wrote:
Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ?
Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
Sure, mx51evk and mx53loco patches were already accepted by Anatolij and are in mainline.
I have also submitted a patch series for adding framebuffer for mx6qsabrelite. These were not applied yet and I need to rework at least the last one of the series.
Regards,
Fabio Estevam
participants (3)
-
Fabio Estevam
-
Stefano Babic
-
Vikram Narayanan