~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to board/esd/common/lcd.h

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-06 09:28:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100106092825-q8o7x811035syh8k
Tags: 2009.08-0ubuntu1
* move to new upstream (2009.08)
* move to new freescale patchset for the 2009.08 release
* remove README.nios_CONFIG_SYS_NIOS_CPU from debian/docs, 
  this is not shipped upstream anymore
* update 1000_fix_gcc_4.4_compability.patch to apply to the new code
* Makefile target is now mx51_bbg_config, update rules accordingly
* switch everything to to3 (including the binary package)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#define TRUE (!FALSE)
41
41
#endif
42
42
 
43
 
#define S1D_WRITE_PALETTE(p,i,r,g,b)  \
44
 
  {  \
45
 
  ((volatile uchar*)(p))[palette_index] = (uchar)(i); \
46
 
  ((volatile uchar*)(p))[palette_value] = (uchar)(r); \
47
 
  ((volatile uchar*)(p))[palette_value] = (uchar)(g); \
48
 
  ((volatile uchar*)(p))[palette_value] = (uchar)(b); \
49
 
  }
 
43
#define S1D_WRITE_PALETTE(p,i,r,g,b)                                    \
 
44
        {                                                               \
 
45
                out_8(&((uchar*)(p))[palette_index], (uchar)(i));       \
 
46
                out_8(&((uchar*)(p))[palette_index], (uchar)(r));       \
 
47
                out_8(&((uchar*)(p))[palette_index], (uchar)(g));       \
 
48
                out_8(&((uchar*)(p))[palette_index], (uchar)(b));       \
 
49
        }
50
50
 
51
51
typedef struct
52
52
{