From patchwork Tue Oct 15 20:10:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Goldschmidt X-Patchwork-Id: 1177383 X-Patchwork-Delegate: simon.k.r.goldschmidt@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JYLc6dJ3"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46t6GZ4hhmz9sPF for ; Wed, 16 Oct 2019 07:19:34 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 502D4C21E02; Tue, 15 Oct 2019 20:15:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4F011C21D74; Tue, 15 Oct 2019 20:14:26 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 58E76C21D83; Tue, 15 Oct 2019 20:11:04 +0000 (UTC) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by lists.denx.de (Postfix) with ESMTPS id CA7F1C21DA2 for ; Tue, 15 Oct 2019 20:11:01 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id j11so25385167wrp.1 for ; Tue, 15 Oct 2019 13:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M/LWNYuAvcDcCC91QeXlm7nDxSa4zqHhARhFFLduKYA=; b=JYLc6dJ3qt2GILHIcZ336WBJRZW/sJQFK2lvvvSfKomkdE32sUVTeH9y5NEmJ7qCX4 8brStfzR6zd1fjmXqHb6JPKPeMZFoLWaX9JGjEvu64uvD80K8ZBnZkHb3+s1RwO9K0JS 7Kcpyc8KVOu2eJ8rvbcL22Nej1cIqvBocpxUWKwhuq3IHVwx5uzvC76DNSCJ6XZhwLXy 0cpioEMyexT2RWti0xo4QVe3H+QvzlArAZDgxP2CFCK7hSwtvU9jGfSZVZ9hl8nHfYj0 LqWAL8RsF7K9ovHxTn2fHI+z+wG43e6xkaHgY+zR+OncqOjMjMWH1NxVGg/t0F33aOe8 GOBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M/LWNYuAvcDcCC91QeXlm7nDxSa4zqHhARhFFLduKYA=; b=ONQOPXRwJpcAPLLBNIfryzx31NZS65Cl0CVqEgIM8lS9+MAsV2HwMN/Jw9Z7hD1U+H 6q0uRV7eiPZxFiWBAsnGYW9niCSuzGA86Dn9sZ5S5UCcCazsUvA2CE2LQ+s6xj5oQbrl SNQOfdrF16EPHt7fpMUzFGu4408bt0dfDw3iFp5cx16kaeCU39OUG3C7gJwpH2SfQBAf UBG46bpGu5nLGMLATcBRGTV8SZLIdqUpFXNh8ag8Ik/tPmupD9F8dZmRQHu3Bk7FGVNs ltyzU8tnQkiuenjLMX795a4WFmlyhTKvXIwC21fYnRb8L+EpkPD03xzJVMqYNqcUivGs QkeA== X-Gm-Message-State: APjAAAV03lJkmSf/tE1L2PkVIwBBUiacLPcovXXS0nYMXXXS4+eqBKyh C8ML3KB31zUBu39zz1wsRw8= X-Google-Smtp-Source: APXvYqyBGxZ8tZaNNmsgA7i/imnVPgL1ZJ/ik7pO2itBxK22wPNEHugWzGg9167ILbfju7V6l0CoOQ== X-Received: by 2002:adf:828c:: with SMTP id 12mr4381656wrc.40.1571170261503; Tue, 15 Oct 2019 13:11:01 -0700 (PDT) Received: from ubuntu.home ([2a02:8071:6a3:700:9d84:c831:fe55:4622]) by smtp.gmail.com with ESMTPSA id 79sm329194wmb.7.2019.10.15.13.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 13:11:01 -0700 (PDT) From: Simon Goldschmidt To: Dalon L Westergreen Date: Tue, 15 Oct 2019 22:10:30 +0200 Message-Id: <20191015201032.20156-18-simon.k.r.goldschmidt@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191015201032.20156-1-simon.k.r.goldschmidt@gmail.com> References: <20191015201032.20156-1-simon.k.r.goldschmidt@gmail.com> MIME-Version: 1.0 Cc: Marek Vasut , Albert Aribaud , Tien Fong Chee , Stefan Roese , u-boot@lists.denx.de, Tom Rini Subject: [U-Boot] [RFC PATCH v2 17/18] arm: socfpga: gen5: parse qspi clock from devictree X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Remove the need for ad-hoc code for qspi speed. Signed-off-by: Simon Goldschmidt --- Changes in v2: None include/configs/socfpga_common.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index d1034ac280..e4a5dfc5ef 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -137,11 +137,6 @@ #ifndef CONFIG_SPL_BUILD #define CONFIG_SPI_FLASH_MTD #endif -/* QSPI reference clock */ -#ifndef __ASSEMBLY__ -unsigned int cm_get_qspi_controller_clk_hz(void); -#define CONFIG_CQSPI_REF_CLK cm_get_qspi_controller_clk_hz() -#endif /* * USB