summaryrefslogtreecommitdiff
path: root/src/mainboard/cavium
diff options
context:
space:
mode:
authorJens Drenhaus <jens.drenhaus@9elements.com>2018-10-09 13:02:49 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-10-10 16:37:38 +0000
commitfe66a0760c00bfe55b20211955f740f00efb704a (patch)
tree01814f28ea9a84255763cb41998cfc74911c213e /src/mainboard/cavium
parent6ae7a2a10110fb86a8f4447433bb431a8ec37cb5 (diff)
downloadcoreboot-fe66a0760c00bfe55b20211955f740f00efb704a.tar.xz
soc/cavium: dynamic UART initialization for cavium cn8100
Now only those UARTs that are enabled in devicetree.cb are initialized. Tested on Opencellular Elgon. Change-Id: I145c224148f0cc078bb1c76f588f603e73121a62 Signed-off-by: Jens Drenhaus <jens.drenhaus@9elements.com> Reviewed-on: https://review.coreboot.org/28975 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/cavium')
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/mainboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
index 28a3ee31db..ce896f2f75 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
+++ b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
@@ -83,12 +83,6 @@ static void mainboard_init(struct device *dev)
{
size_t i;
- /* Init UARTs */
- for (i = 0; i < 4; i++) {
- if (!uart_is_enabled(i))
- uart_setup(i, 0);
- }
-
/* Init timer */
soc_timer_init();