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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FB03C432BE for ; Mon, 30 Aug 2021 15:40:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9CF4860F44 for ; Mon, 30 Aug 2021 15:40:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9CF4860F44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 35785833B6; Mon, 30 Aug 2021 17:40:37 +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="PBGp2DJa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 239A4805DF; Mon, 30 Aug 2021 17:40:14 +0200 (CEST) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 AD27D833A0 for ; Mon, 30 Aug 2021 17:40:06 +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-il1-x134.google.com with SMTP id y3so16541563ilm.6 for ; Mon, 30 Aug 2021 08:40:06 -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=R/6PezEzCVVdM5yvD8kSCifE23Kjo4fnmmRxMrPH1tA=; b=PBGp2DJaWq2Ootpp8Zr5EzIPWdIuh+5eBGygxxn96INA0rFMBkBPPCRrwMUgPC4xEF /1urB0ajVopQ4MQU0A+eG932y3Qc9aS+ugTzvrOvOqt5TgmwGMZwuM6FhalBtxfr2ij7 1KDpivJXitRkTbPuBmpu8LA0FPj68ggtVNvttDUS/Pvlmcl0k/Y7f3iTa1pZ/aA8oGlX Wswz+0hqOSGHhCEVTLOCiaBrhzh/OVywHkupZHQm0TsOnLPPIamviNgbpQztbKF3BXCm Snioa1HHXZ0ioIlc1/IB5XqRfU0/MJormJvlhEsRtBFv1exS0v+Q7ySjyKiX7d/wNoC3 JGKQ== 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=R/6PezEzCVVdM5yvD8kSCifE23Kjo4fnmmRxMrPH1tA=; b=cB/mrItVlSK5BvCo0M3tyY6I+uDaD6CVx6gM+wEGEOS7BO9giEXif6C9ZMYUwIZniu 5Xk8wvwfwhV4C3Hdq7Pnln7P4V4fj9figEsYlkrzkHNUG27oH+RoYKblZ19VtTrewPMx 7fZY7RljX/WX/xjqD+hjOR/ZTQKAKPFCPVzPiUuDuj2+mfO2k66PLZRt8Gfe3UBmr6Ez W5hM3g1Dt5Cyb/vxB8gE6F/Z5ub9jWs14/yabVo9P6y7Mmj6sgIw8LMRxznTtMCJi1Km ueE8Tv7tjOOD6L+vfdu4eCs6ynTS9hMyCutcegHRzCAgxk9bp+7R5nZ+ghPMIzbWlWM2 wp9A== X-Gm-Message-State: AOAM532W5lmXJYEglr+N4kWvmehc9WPvxbs7zXDf0FufUUckwgHNfwve 4sjupRoEavylKFXo77vwOdYLKD73l8lgzQ== X-Google-Smtp-Source: ABdhPJxJ//oktIj8hbLRAN9mbhX666635AK1saZ5Kb152e0/mny8RZSIzmu5/rkUO65BWdcN9iN1Wg== X-Received: by 2002:a05:6e02:531:: with SMTP id h17mr16886223ils.288.1630338004983; Mon, 30 Aug 2021 08:40:04 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id z15sm8012565ioh.28.2021.08.30.08.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 08:40:04 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: biju.das.jz@bp.renesas.com, marek.vasut+renesas@gmail.com, Adam Ford Subject: [PATCH 4/5] ARM: rmobile: Beacon: Remove dead code Date: Mon, 30 Aug 2021 10:39:51 -0500 Message-Id: <20210830153952.598658-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210830153952.598658-1-aford173@gmail.com> References: <20210830153952.598658-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.103.2 at phobos.denx.de X-Virus-Status: Clean There are a few do-nothing functions that can be removed. Remove them. Signed-off-by: Adam Ford diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index b3521fcbc1..df6044a429 100644 --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c +++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c @@ -10,16 +10,6 @@ DECLARE_GLOBAL_DATA_PTR; -void s_init(void) -{ -} - -/* Kconfig forces this on, so just return 0 */ -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index 0956b44c06..d2c0d6a96e 100644 --- a/configs/r8a774a1_beacon_defconfig +++ b/configs/r8a774a1_beacon_defconfig @@ -13,6 +13,7 @@ CONFIG_FIT=y CONFIG_SUPPORT_RAW_INITRD=y # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set CONFIG_DEFAULT_FDT_FILE="r8a774a1-beacon-rzg2m-kit.dtb" +# CONFIG_BOARD_EARLY_INIT_F is not set CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPIO=y -- 2.25.1