Skip to content

Commit

Permalink
n9: initialize only UART3
Browse files Browse the repository at this point in the history
On N9 only one UART3 pins are used as serial port, so change init
to initialize only UART3.

Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com>
  • Loading branch information
filippz committed Jun 8, 2014
1 parent 1ac56a2 commit d81aa78
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion arch/arm/mach-omap2/board-rm680.c
Original file line number Diff line number Diff line change
Expand Up @@ -2420,13 +2420,25 @@ void __init rm696_camera_init(void)
__func__);
}

static inline void board_serial_init(void)
{
struct omap_board_data bdata;

bdata.flags = 0;
bdata.pads = NULL;
bdata.pads_cnt = 0;

bdata.id = 2; //UART3
omap_serial_init_port(&bdata, NULL);
}

static void __init rm680_init(void)
{
struct omap_sdrc_params *sdrc_params;

pr_info("RM-680/696 board, rev %04x\n", system_rev);
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
omap_serial_init();
board_serial_init();

sdrc_params = nokia_get_sdram_timings();
omap_sdrc_init(sdrc_params, sdrc_params);
Expand Down

0 comments on commit d81aa78

Please sign in to comment.