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 BB73EC433EF for ; Fri, 25 Feb 2022 12:21:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7DDC083B62; Fri, 25 Feb 2022 13:21:07 +0100 (CET) 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="InCqKeYO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D952283C7D; Fri, 25 Feb 2022 12:18:40 +0100 (CET) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 CF45083839 for ; Fri, 25 Feb 2022 12:18:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=romain.naour@gmail.com Received: by mail-wr1-x430.google.com with SMTP id d17so3926117wrc.9 for ; Fri, 25 Feb 2022 03:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ceser2fmuyFQSLf7FltSLXRs1by1zS4crggTmffixas=; b=InCqKeYO6BT3eMhGypGayuugwxpa3cIjUKSHns9PjhirNuXITIXFUG7+s2Og41oaCQ Cy7BudukbtKlBXYkfM7/72X4lc5INIkObIuBN+4HXqCCgP96E5u3cRGhx+48Ramsaslp u2y4DmsKDMciHi8PPCVv51+B+e/hU1e4EyXcRDICOR5ewpJRGJpqnHXdUQ/Fozirsxrg BC1ydjviPgSkbpZKBX2HwXdOkp2M3TusiGBAAe90yUnseSZSeVRSdihg6sT8YviPs++V gShvCaMzets48y+A/gKn/O5KwAgxFuMMcUA5LkqvS0OdqmVu7OdlD4xdiDfPZVDpMdPx LUkw== 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:mime-version :content-transfer-encoding; bh=Ceser2fmuyFQSLf7FltSLXRs1by1zS4crggTmffixas=; b=U6wJ+X18URaVajSclGWDvFPvDXw9evMlkghKJrx6rMKVaM8f2KbilaqDU9kRCgstrw 2jRHfc4nGi8N1XwsdspyIcZuraE47gnpBvEhxps+266zdFWmfs2wXJP/e3yjNbHZqkim 8joscICv3WnuvfWGHktWHgxF5KqFYrucwq9G4fpHiQSCaHZ92Ykhk4/lw3dMTx3Y81hz jK68NEfHMMznoIzEtHr+pmvJQVCYX2YQ1Xmpq6rHUGB5jN3kMh1RKX4w/9kOumR7Cf62 0hR+pztpn6L6ShaSNvbqN3IpAjbNf3ewQ4n1zo2n+giwCvgKdvFvy5j5dZikV7owlG/v ftfQ== X-Gm-Message-State: AOAM531bs/+KJnggZOcR/2I6XZZz6M6K8cJ/58RvyeJCdG9Y27Ff4T5l YnrTOj3O+ySYFutYAcPTNqERf0uDFuM= X-Google-Smtp-Source: ABdhPJyDNUnrP7U/JYltb7Pt8BN7ujsLhPVco2tjvJekOsW3vyYm+2htW6w1en0zQOJ6hrdct/bbxQ== X-Received: by 2002:a5d:608e:0:b0:1ef:7153:5076 with SMTP id w14-20020a5d608e000000b001ef71535076mr1415564wrt.118.1645787917353; Fri, 25 Feb 2022 03:18:37 -0800 (PST) Received: from atlas.home (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id m11-20020adffe4b000000b001edbdaac445sm2546713wrs.90.2022.02.25.03.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 03:18:36 -0800 (PST) From: Romain Naour To: u-boot@lists.denx.de Cc: Romain Naour Subject: [PATCH 1/4] ARM: omap3_beagle: Remove non-DM initialization Date: Fri, 25 Feb 2022 12:18:31 +0100 Message-Id: <20220225111834.231005-1-romain.naour@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 25 Feb 2022 13:21:06 +0100 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 With DM_MMC working for both SPL and U-Boot, this patch removes the legacy style of initializing the MMC driver. Based on omap3_logic: 42140dd0962bc134c0aad27524d0f4cc3955f255. Signed-off-by: Romain Naour --- board/ti/beagle/beagle.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 888a958491..d5a122af2b 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -500,13 +500,6 @@ void set_muxconf_regs(void) MUX_BEAGLE(); } -#if defined(CONFIG_MMC) -int board_mmc_init(struct bd_info *bis) -{ - return omap_mmc_init(0, 0, 0, -1, -1); -} -#endif - #if defined(CONFIG_MMC) void board_mmc_power_init(void) { -- 2.35.1