summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-01-02 13:52:51 +0100
committerNico Huber <nico.h@gmx.de>2019-02-22 12:25:25 +0000
commit71c0a9498702afb3a94cf36a6eec7aec8f9890b2 (patch)
tree2601987bf072d0f259766ce980f0266957968c1c /src/soc/cavium/cn81xx
parentab770083952dbe39987650a9570967b1436ce785 (diff)
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/30608 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/cavium/cn81xx')
-rw-r--r--src/soc/cavium/cn81xx/soc.c12
1 files changed, 0 insertions, 12 deletions
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();
}