ipq8064: prepare include files before adding UART driver
These patch modifies .h files to match the coreboot API. A few more significant changes are: - UART specific fields removed from common board structure in cdp.h. These fields are set at compile time in u-boot (where this structure comes from), they will be set in a different structure in the UART driver in an upcoming patch. - an inline wrapper is added in gpio.h to provide GPIO API the UART driver expects. - the ipq_configure_gpio() is passed the descriptor placed in ro data. BUG=chrome-os-partner:27784 TEST=none Change-Id: Id49507fb0c72ef993a89b538cd417b6c86ae3786 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/196661 Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
parent
94a36ad79a
commit
ea400f1b72
5 changed files with 12 additions and 14 deletions
|
|
@ -37,6 +37,7 @@ unsigned char uart_rx_byte(void);
|
|||
void uart_tx_byte(unsigned char data);
|
||||
void uart_tx_flush(void);
|
||||
void uart_init(void);
|
||||
int uart_can_rx_byte(void);
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAVE_UART_MEMORY_MAPPED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue