From fe66a0760c00bfe55b20211955f740f00efb704a Mon Sep 17 00:00:00 2001 From: Jens Drenhaus Date: Tue, 9 Oct 2018 13:02:49 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/28975 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/mainboard/opencellular/elgon/mainboard.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mainboard/opencellular/elgon') diff --git a/src/mainboard/opencellular/elgon/mainboard.c b/src/mainboard/opencellular/elgon/mainboard.c index dc06bdcd31..45a715505c 100644 --- a/src/mainboard/opencellular/elgon/mainboard.c +++ b/src/mainboard/opencellular/elgon/mainboard.c @@ -101,12 +101,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(); -- cgit v1.2.3