Dear RONETIX - Asen Dimov, In message <4ba1363b.7010...@ronetix.at> you wrote: > > > This information should not be board-specific. The panel information > > is generic and should moved to a separate header file that is not part > > of the board code. > > > > > In the boards (at91sam9263ek and at91sam9m10g45ek, and some more > at91sam9 based boards) I am looking at, the panel_info is in the board > specific code.
Indeed. Patches to clean this up are welcome. > There are some lcd.c files with panel_info structures: > drivers/video/mx3fb.c, cpu/pxa/pxafb.c and cpu/mpc8xx/lcd.c . > > Where should be the proper place for panel_info which is somehow > architecture dependent? I'm not an expert in this area. In Linux there has been discussion to put this type of information into the device tree. Either in the form of (new, to be defined) specific bindings, or as EDID data. I wonder if we could / should do something similar here? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Man is the best computer we can put aboard a spacecraft ... and the only one that can be mass produced with unskilled labor. -- Wernher von Braun _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot