]> git.ipfire.org Git - people/ms/u-boot.git/commit
ppc4xx: Use common ns16550 functions in 4xx UART POST driver
authorStefan Roese <sr@denx.de>
Wed, 29 Sep 2010 14:58:38 +0000 (16:58 +0200)
committerStefan Roese <sr@denx.de>
Mon, 4 Oct 2010 09:20:02 +0000 (11:20 +0200)
commit5d7c73e65b518a63a861a1a9c4965b6e67ae89a6
treea2a9e84d21ef0b60dc5ab204db2f39fa03a4b88b
parent98303292ad80245ef6707c89b2f16095ee1e1db3
ppc4xx: Use common ns16550 functions in 4xx UART POST driver

This patch changes the PPC4xx POST UART driver to use the common
NS16550 functions for receiving and sending. Additionally the
local function for SoC divisor setup are removed. Instead the
functions from arch/powerpc/cpu/ppc4xx/4xx_uart.c are used. This
removes code duplication.

Also the common CONFIG_SYS_NS16550_COMx defines are now used
to describe the POST UART's.

And a compile breakage is fixed, introduced by a git merge of
the ppc4xx/next branch into master. Now "ppc4xx.h" is moved to
"asm/ppc4xx.h". Fixed as well with this patch.

Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/hcu4.h
include/configs/hcu5.h
include/configs/kilauea.h
include/configs/lwmon5.h
include/configs/makalu.h
include/configs/mcu25.h
include/configs/zeus.h
post/cpu/ppc4xx/uart.c