From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93C7DC433F5 for ; Sat, 30 Apr 2022 16:15:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C55283F4A; Sat, 30 Apr 2022 18:14:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="h54sjmaD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2BC24818A3; Sat, 30 Apr 2022 18:14:48 +0200 (CEST) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 20E4783F3A for ; Sat, 30 Apr 2022 18:14:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-io1-xd31.google.com with SMTP id f2so12275570ioh.7 for ; Sat, 30 Apr 2022 09:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=coSTIul4g/rEt0yuZ8sUDqU4o/hYiRrlFFE2Tzm9phc=; b=h54sjmaDyFaki7+I3ctqaCEjsdrGRqfWOCz2lprEioAuYbexxvW2x7YurZgZWuQ8N8 KQcpX96Jshz7xNiWOk2gJ5wzs7QtiYQNZKFTByItE+6070olFv/U7vNfh5ZoRrAwngOa PtVwT4ew2VkJY7Mt0BqMvIFSd5kZAeQBY9qgsLSchk8nzJ5+XqB/BLKG0yJMwrYAMU9K fuBjQPw3ChA/MCy1IUO953fCKIT4sCVWvZs674/HM4HmCp1unFUlw++Z4Zrn2Cp2Kki4 Ezi1BcRyP6BwAkICPY+rCYf59JWSXGLwF8TO88sbou5pJf+5+sw13SVJkHk3du+R5QgX bF6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=coSTIul4g/rEt0yuZ8sUDqU4o/hYiRrlFFE2Tzm9phc=; b=vQFZqbNTn+CMuBHrivBfbNRRX9ln+O8QO0REz698PPp3yBwbs4jPcD+BhCbwlqNnm6 Bc5H5L4czGgI2x5txSXVkYGx77+Yp5a30znafcfmg1BgAJpZAgpiiiKsKZg4Knw/P0S2 CF1tYa9i4ZydduvMsGperypWSmclrIdrQJdjlaoXbIlIJxVmxaZm2sI7D5XYE306YrwM ufLnKT6rtP6AXt32UhAgwZWGeVisRxIcvrx4Mf7wQApt16nuCdSEX6rERiduLbrjp9sE sQfMSSqQ4KdLBnhKMBDjfgpiERsLxgL7ubu6u2h9lSMJBjBX6bwsxVvOpOCM8tfniyPo iQSQ== X-Gm-Message-State: AOAM5320BPSxQvw2pvS+4jQ05YBeikuXKQuMo6CDY9c4NxIJBoX4TTVi W2TbdUGCTJ8bue8FhR0JScUkn3iWLhQ= X-Google-Smtp-Source: ABdhPJzKVDnC6b1NcZ9VzkATiCWJzNhbA9PE5T2HwzeRGfcFQRhkDWLIT/rx7OBCfciobONnXIg/PA== X-Received: by 2002:a05:6638:1695:b0:32a:a178:98bc with SMTP id f21-20020a056638169500b0032aa17898bcmr1901681jat.167.1651335283436; Sat, 30 Apr 2022 09:14:43 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:3a27:d646:29a7:7498]) by smtp.gmail.com with ESMTPSA id u2-20020a02b1c2000000b0032b3a781771sm1532860jah.53.2022.04.30.09.14.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 09:14:42 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: Adam Ford , "Ying-Chun Liu (PaulLiu)" , Jagan Teki , Matteo Lisi , Marek Vasut , Olaf Mandel , Peng Fan , Tim Harvey , "Ariel D'Alessandro" , Michael Trimarchi , Ilko Iliev , Fabio Estevam , Marco Franchi , Alifer Moraes Subject: [RFC 3/3] imx8: imx8mm_beacon: Remove manual UART clock initialization Date: Sat, 30 Apr 2022 11:14:22 -0500 Message-Id: <20220430161422.558361-4-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220430161422.558361-1-aford173@gmail.com> References: <20220430161422.558361-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean SPL has a manual call to init_uart_clk in order to start the clocks. If the CCF has the UART clocks available, the serial driver can enable and query the clock when needed, so the manual call to init_uart_clk can be dropped. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index f92b4c3ed0..fc0935bc97 100644 --- a/board/beacon/imx8mm/spl.c +++ b/board/beacon/imx8mm/spl.c @@ -114,8 +114,6 @@ void board_init_f(ulong dummy) arch_cpu_init(); - init_uart_clk(1); - board_early_init_f(); timer_init(); -- 2.34.1