summaryrefslogtreecommitdiff
path: root/board/ronetix
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-10 23:12:04 +0200
committerTom Rini <trini@ti.com>2014-06-11 16:27:06 -0400
commit1b34e880e0ca2500ec30c8cce21df637f946af9c (patch)
treed0cc47f1f0f6ecea20a0eccc15f6379ad951ab22 /board/ronetix
parent7ffdc831f9877585f425ad47329b09d0ab104d0a (diff)
downloadu-boot-1b34e880e0ca2500ec30c8cce21df637f946af9c.tar.gz
u-boot-1b34e880e0ca2500ec30c8cce21df637f946af9c.tar.bz2
u-boot-1b34e880e0ca2500ec30c8cce21df637f946af9c.zip
cosmetic: board: pm9263 rewrite old style stuct init
this prevent some warnings when compiling with clang cc: Stelian Pop <stelian@popies.net> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'board/ronetix')
-rw-r--r--board/ronetix/pm9263/pm9263.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c
index 3aaffa803c..1b00f08835 100644
--- a/board/ronetix/pm9263/pm9263.c
+++ b/board/ronetix/pm9263/pm9263.c
@@ -115,20 +115,20 @@ static void pm9263_macb_hw_init(void)
#ifdef CONFIG_LCD
vidinfo_t panel_info = {
- vl_col: 240,
- vl_row: 320,
- vl_clk: 4965000,
- vl_sync: ATMEL_LCDC_INVLINE_INVERTED |
- ATMEL_LCDC_INVFRAME_INVERTED,
- vl_bpix: 3,
- vl_tft: 1,
- vl_hsync_len: 5,
- vl_left_margin: 1,
- vl_right_margin:33,
- vl_vsync_len: 1,
- vl_upper_margin:1,
- vl_lower_margin:0,
- mmio: ATMEL_BASE_LCDC,
+ .vl_col = 240,
+ .vl_row = 320,
+ .vl_clk = 4965000,
+ .vl_sync = ATMEL_LCDC_INVLINE_INVERTED |
+ ATMEL_LCDC_INVFRAME_INVERTED,
+ .vl_bpix = 3,
+ .vl_tft = 1,
+ .vl_hsync_len = 5,
+ .vl_left_margin = 1,
+ .vl_right_margin = 33,
+ .vl_vsync_len = 1,
+ .vl_upper_margin = 1,
+ .vl_lower_margin = 0,
+ .mmio = ATMEL_BASE_LCDC,
};
void lcd_enable(void)