Changeset 0cf5246 in mainline


Ignore:
Timestamp:
2012-08-31T18:06:54Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a8ca607b
Parents:
2be2506a
Message:

amdm37x_dispc: Remove debug output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/amdm37x_dispc/amdm37x_dispc.h

    r2be2506a r0cf5246  
    290290{
    291291        ASSERT(regs);
    292 #define WRITE_DUMP(name, value) \
    293         printf("Writing %s %p: %x. New: %x\n", #name, &regs->name, value, regs->name)
    294292        /* Init sequence for dispc is in chapter 7.6.5.1.4 p. 1810,
    295293         * no idea what parts of that work. */
     
    335333        /* setup output */
    336334        regs->size_lcd = size_reg;
    337         WRITE_DUMP(size_lcd, size_reg);
    338335        regs->size_dig = size_reg;
    339         WRITE_DUMP(size_dig, size_reg);
    340336
    341337        /* Nice blue default color */
    342338        regs->default_color[0] = 0x0000ff;
    343339        regs->default_color[1] = 0x0000ff;
    344         WRITE_DUMP(default_color[0], 0xff);
    345         WRITE_DUMP(default_color[1], 0xff);
    346340
    347341        /* Setup control register */
     
    352346                AMDM37X_DISPC_CONTROL_GPOUT1_FLAG;
    353347        regs->control = control;
    354         WRITE_DUMP(control, control);
    355348
    356349        /* No gamma stuff only data */
     
    358351                    << AMDM37X_DISPC_CONFIG_LOADMODE_SHIFT);
    359352        regs->config = config;
    360         WRITE_DUMP(config, config);
    361353
    362354
     
    365357        regs->gfx.ba[1] = pa;
    366358        regs->gfx.position = 0;
    367         WRITE_DUMP(gfx.ba[0], pa);
    368         WRITE_DUMP(gfx.ba[1], pa);
    369         WRITE_DUMP(gfx.position, 0);
    370359
    371360        /* Setup fb size */
    372361        regs->gfx.size = size_reg;
    373         WRITE_DUMP(gfx.size, size_reg);
    374 
    375362
    376363        /* Set pixel format */
     
    378365            (attrib_pixel_format << AMDM37X_DISPC_GFX_ATTRIBUTES_FORMAT_SHIFT);
    379366        regs->gfx.attributes = attribs;
    380         WRITE_DUMP(gfx.attributes, attribs);
    381367
    382368        /* 0x03ff03c0 is the default */
     
    391377        /* Gamma and palette table */
    392378        regs->gfx.table_ba = 0;
    393         WRITE_DUMP(gfx.fifo_threshold, 0x03ff03c0);
    394         WRITE_DUMP(gfx.row_inc, 1);
    395         WRITE_DUMP(gfx.pixel_inc, 1);
    396         WRITE_DUMP(gfx.window_skip, 0);
    397         WRITE_DUMP(gfx.table_ba, 0);
    398379
    399380        /* enable frame buffer graphics */
Note: See TracChangeset for help on using the changeset viewer.