From patchwork Tue Oct 15 11:23:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1176939 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=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.b="dqNb7zqH"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46stNk3l0gz9sPF for ; Tue, 15 Oct 2019 22:24:05 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id A323EC21DF9; Tue, 15 Oct 2019 11:24:00 +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=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 86AA8C21D56; Tue, 15 Oct 2019 11:23:59 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BBFA8C21D56; Tue, 15 Oct 2019 11:23:57 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by lists.denx.de (Postfix) with ESMTPS id 6F67FC21D4A for ; Tue, 15 Oct 2019 11:23:57 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id 3so19872827wmi.3 for ; Tue, 15 Oct 2019 04:23:57 -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; bh=+LfSRw2DZfu0QSC4ZZKiPNaI0VbZ1J1A0G8ZCG3Z73A=; b=dqNb7zqHHIdlVIfejocSeU1tA/khhJHNa/1X3ayzIN2LQbrUELwfo37XbyFT71mbAc rEBg6cpRx94TvNpbvctyudHa9SptLEvq9prT5Zo2nsBpd/hHZUUWI1FyF808utzh6SZU UJCMnPU8J1bonTwU2xKRVC+wW9CbJ9xz7mxM/4xuJyYlr63zBUYAGueAxRcYFnh7WsaM WhUaAiffdyM8aW30vEQUebo2C3dvXRdfAxpxYCtORB6I3p6UeS+ZYv/F5OtV81cN6s5g K0rXmEIyN4+YHX/7Q7EMkiMeGzyEe8tjnavbwhLG01JGEWyu82DUZgkbr1zo1dOtZ/7h 4pFQ== 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; bh=+LfSRw2DZfu0QSC4ZZKiPNaI0VbZ1J1A0G8ZCG3Z73A=; b=LdskxPAtUVq3vODbQrEoahfcsqlrEGEw1nt7mXF9nMmEvmx/0t5HjXstQxVzP+qv55 8Mfcyusl9dsONDiYzwEuT/nCrZXZoqJnCvxu/7CD6VyEqgOBWh0pyy07f1+WWHiMtrJ6 UJnd9LXjQSO5qlNLpJVzqUzLLB0U9lUng1OQ7l1PZ6eKb5RFOn4cnQ46F1OYeKbHtXK4 FLruDnxmMjgTeQLtSwZ4/8PGqwQbgFMUBQluUgrYGcK+AowjeqgQaO6xuC5RPyDkxGCs K4bD5v8gREwg/9a9KA+bcCzDSzhDH/SEEbZdxhZelIONEnqxF4PXmadiWgvAOp5c9Nsd te+g== X-Gm-Message-State: APjAAAWfAm9bee2xGU3UkZjEhkktA4TMotdmyAJo5OOGtANpx9QznMXH S+chGSfSdn5YtMrAyDEC4mpDysbSrWwpDwS1 X-Google-Smtp-Source: APXvYqwLOT4S+gFULNwYlAHNVsKhoOJTxrfjvFseY4lI6wgltv4jyG7CNLGjSFOhdqXXaEEAYT3GeA== X-Received: by 2002:a1c:a651:: with SMTP id p78mr19286530wme.53.1571138636796; Tue, 15 Oct 2019 04:23:56 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e3sm20185337wme.39.2019.10.15.04.23.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Oct 2019 04:23:56 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de Date: Tue, 15 Oct 2019 13:23:54 +0200 Message-Id: <1ffd8fe7b523ae4631821f4f419ae7557046c412.1571138632.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.17.1 Cc: Albert Aribaud Subject: [U-Boot] [PATCH] ARM: zynq: Remove unused board_early_init_f() 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" board_early_init_f added by commit e6cc3b25d721 ("arm: zynq: Wire watchdog internals") is no longer needed that's why remove it also with Kconfig enabling. Fixes: ccd063e9812a ("watchdog: Move watchdog_dev to data section (BSS may not be cleared)") Signed-off-by: Michal Simek --- arch/arm/Kconfig | 1 - board/xilinx/zynq/board.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1df2aba3c2da..b74830e1d239 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1008,7 +1008,6 @@ config ARCH_VF610 config ARCH_ZYNQ bool "Xilinx Zynq based platform" - select BOARD_EARLY_INIT_F if WDT select CLK select CLK_ZYNQ select CPU_V7A diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 7cfe69db6935..8a216ed619bf 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -19,13 +19,6 @@ DECLARE_GLOBAL_DATA_PTR; -#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_BOARD_EARLY_INIT_F) -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { return 0;