From patchwork Wed Sep 16 11:40:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365195 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=L77ng7TQ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BrypB3b0zz9sTK for ; Wed, 16 Sep 2020 21:40:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D839F8231E; Wed, 16 Sep 2020 13:40:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="L77ng7TQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9EF3082320; Wed, 16 Sep 2020 13:40:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) (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 2F8DF82304 for ; Wed, 16 Sep 2020 13:40:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x643.google.com with SMTP id q13so9823052ejo.9 for ; Wed, 16 Sep 2020 04:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Owy5crUGLnLXhUgtWOMIjblktpLw2AwqPopv9Ww2m/I=; b=L77ng7TQXP/3XZOlzYlSxWoy0imcHXBZ5Fd6MdnD++47vyOC+T0VBC2u+S+kPJOeCh ToW+WZaSO4Td1qenWOJpLvVJjYQHcHnXekL2BSmLFkv060oe4Hbq+It/2IkzRXBCVOr2 rW///F9ARaCdd84eElisbIkWEQu6m+8nvbfxr763wEDFmE2FhobLf1MJrgLpUCVnWlgv iwzKsZBDaMbvD1WikqHBJfjLHQPfKRkVLwn0wdMbCcN1xAkKrYzhYikZw6Zf2/paAjIL 4B/jXRlFfGhYX6JV9xulliDYk2sy7nA2J7dKhfoDR7J4R+IhAoRy9Iypry8Vr6FA98yr QW/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=Owy5crUGLnLXhUgtWOMIjblktpLw2AwqPopv9Ww2m/I=; b=J6qz9QM+T06oPHYrl4Fzhxa/Tzy/ov2uY3x/qmjBLJEgDePwdSjOrvW2eF3wshehkz 0DHqkBL8TcKi4+rAjHkTmRD3kDsSIPeUewuMF6Ky20Dxmw0aq0H1aaprJgzvSqlxkJ5M 8TdcH5+8G4rRTXVn6fIsIxJBxbpegygh+JwjCS1xxH77cFZ/f3+Q/4sIPnHdMrTsHh+D eoLQ/v94Ivd+poLRmnTUL9+1sWU698fiWHyKIIZLNREun82+1dn9GYm+H8EGd64g/MbA CuDgqLOp5Ve6uiJNqUlpaNziddTbACOsJaBwjjVTLzkXrc837i7+0HGoz7KhunbyIjJN /1+A== X-Gm-Message-State: AOAM5304NXL72ptdi4nV6DyBOIqcxwmfh1iOKNSIit+LgjO4HgV+BuRI xk+hFLQ97EnPVIxWY5eENTS0BTVt6Qhftg== X-Google-Smtp-Source: ABdhPJxe43hko96DBmpy4iPfEE1+HTmJmz4TWqZlsfQeqebTBBeHFFI0AI9CkwibU6FevDJ9HbfWVQ== X-Received: by 2002:a17:906:d8bc:: with SMTP id qc28mr25608706ejb.490.1600256423633; Wed, 16 Sep 2020 04:40:23 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id i3sm14132382edn.55.2020.09.16.04.40.21 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 04:40:21 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Lukasz Majewski Subject: [PATCH] clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag Date: Wed, 16 Sep 2020 13:40:20 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean fixed-rate driver is not different from clk_fixed_factor and it is required very early in boot that's why setup flag for it. Signed-off-by: Michal Simek --- drivers/clk/clk_fixed_rate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 2c20eddb0b5c..55e1f8caa520 100644 --- a/drivers/clk/clk_fixed_rate.c +++ b/drivers/clk/clk_fixed_rate.c @@ -53,4 +53,5 @@ U_BOOT_DRIVER(clk_fixed_rate) = { .ofdata_to_platdata = clk_fixed_rate_ofdata_to_platdata, .platdata_auto_alloc_size = sizeof(struct clk_fixed_rate), .ops = &clk_fixed_rate_ops, + .flags = DM_FLAG_PRE_RELOC, };