From 71c0a9498702afb3a94cf36a6eec7aec8f9890b2 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 2 Jan 2019 13:52:51 +0100 Subject: drivers/cavium: Add UART PCI driver Add UART PCI driver in cavium/common/pci. Tested on opencellular/elgon. The UART is still initialized and usable in Linux. Change-Id: I0fa2f086aba9b4f9c6dba7a35a84ea61c5fa64e4 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/30608 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/soc/cavium/cn81xx/soc.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/soc/cavium/cn81xx/soc.c') diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c index 4b265d7d7b..2358d71c57 100644 --- a/src/soc/cavium/cn81xx/soc.c +++ b/src/soc/cavium/cn81xx/soc.c @@ -381,18 +381,6 @@ static void soc_init(struct device *dev) } } - /* Init UARTs */ - size_t i; - struct device *uart_dev; - for (i = 0; i <= 3; i++) { - uart_dev = dev_find_slot(1, PCI_DEVFN(8, i)); - /* using device enable state from devicetree.cb */ - if (uart_dev && uart_dev->enabled) { - if (!uart_is_enabled(i)) - uart_setup(i, 0); - } - } - if (IS_ENABLED(CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE)) soc_init_atf(); } -- cgit v1.2.3