On Sat, May 07, 2011 at 12:13:50PM +0200 Harald Welte wrote:
Date: Sat, May 07, 2011 at 12:13:50PM +0200 From: Harald Welte laforge@gnumonks.org To: Subject: [PATCH] uart: make *_UART_NR platform independent
Hi,
b) have a global board-configuration structure which gets filled in by the board_init() code, which then contains a boardcf->cons_uart_nr member whihc can be used by the callers of the uart driver.
attached is my local patch I tried to get merged some time ago that implements the board structure. It needs no active initialization and has default values (see patch).
Cheers Leif