Re: [PATCH 2/2] Add DIU platform code for MPC8610HPCD

2008-04-14 Thread Arnd Bergmann
On Wednesday 12 March 2008, York Sun wrote: > +#include > +#include > + > +#undef DEBUG > +#ifdef DEBUG > +#define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__, ## > args) > +#else > +#define DPRINTK(fmt, args...) > +#endif Please don't define your own debug macros, but rather

[PATCH 2/2] Add DIU platform code for MPC8610HPCD

2008-03-12 Thread York Sun
Add platform code to support Freescale DIU. The platform code includes framebuffer memory allocation, pixel format, monitor port, etc. Signed-off-by: York Sun <[EMAIL PROTECTED]> --- This patch is targeting 2.6.26. arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 266 +++-