]> git.dujemihanovic.xyz Git - u-boot.git/commit
malta: Tidy up UART address selection
authorPaul Burton <paul.burton@imgtec.com>
Tue, 17 May 2016 06:43:27 +0000 (07:43 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 25 May 2016 23:34:13 +0000 (01:34 +0200)
commit2e7eb12e5c81dedaff12b0cea2341dc681d8c726
treeb9b83a1f687516b58254cc3bff3b59c6b90e3c5f
parentdf8ec55d52c74a9c73df549da846f5e6c5acb5ab
malta: Tidy up UART address selection

The address of the UART differs based upon the system controller because
it's actually within the I/O port region, which is in a different
location for each system controller. Rather than handling this as 2
UARTs with the correct one selected at runtime, use I/O port accessors
for the UART such that access to it gets translated into the I/O port
region automatically.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
board/imgtec/malta/malta.c
include/configs/malta.h