From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Mon, 16 Jan 2012 09:51:08 +0100 Subject: [U-Boot] [PATCH] add new board vl_ma2sc In-Reply-To: <4F13DE0A.6020604@denx.de> References: <1326699684-3035-1-git-send-email-esw@bus-elektronik.de> <4F13DE0A.6020604@denx.de> Message-ID: <4F13E4FC.3000205@bus-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Heiko: > > Please check your patch with tools/checkpatch, it shows a lot > of warnings: > > [hs at pollux u-boot]$ ./tools/checkpatch.pl index.html > [...] > total: 17 errors, 13 warnings, 1131 lines checked > The error based on the two code sequences vidinfo_t panel_info = { vl_col: 320, vl_row: 240, vl_clk: 6500000, vl_sync: ATMEL_LCDC_INVDVAL_INVERTED | ATMEL_LCDC_INVLINE_INVERTED | ATMEL_LCDC_INVVD_INVERTED | ATMEL_LCDC_INVFRAME_INVERTED, vl_bpix: (ATMEL_LCDC_PIXELSIZE_8 >> 5), vl_tft: 1, vl_hsync_len: 5, /* Horiz Sync Pulse Width */ vl_left_margin: 68, /* horiz back porch */ vl_right_margin: 20, /* horiz front porch */ vl_vsync_len: 2, /* vert Sync Pulse Width */ vl_upper_margin: 18, /* vert back porch */ vl_lower_margin: 4, /* vert front porch */ mmio: ATMEL_BASE_LCDC, }; This block i have "stolen" from at91sam9263 board. and #define CONFIG_ETHADDR 00:4D:41:02:52:43 /* MA2SC */ Can your teach me the right format for things like this? Thanks Jens Scharsig