Message ID | 20191029210821.1954-23-suneelglinux@gmail.com |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) 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="fHrgMBYv"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 472ksG6fZbz9sPc for <incoming@patchwork.ozlabs.org>; Wed, 30 Oct 2019 08:16:02 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3A6CBC21E0D; Tue, 29 Oct 2019 21:14:36 +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_H3, RCVD_IN_MSPIKE_WL, 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 E0D32C21E0D; Tue, 29 Oct 2019 21:09:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C3D14C21DAF; Tue, 29 Oct 2019 21:08:59 +0000 (UTC) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by lists.denx.de (Postfix) with ESMTPS id 551B0C21DD9 for <u-boot@lists.denx.de>; Tue, 29 Oct 2019 21:08:55 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id b25so10506573pfi.13 for <u-boot@lists.denx.de>; Tue, 29 Oct 2019 14:08:55 -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=U0XWaWI0lKq6xLmneZCawT0KlVhWyX6uAkdms1SfYzo=; b=fHrgMBYvTAU9HIntPCgqzJ/ue/p5PRlYhfNSP9dhhniMmvg2lhZcnRe3UMiwm/Jur6 VMgTAmD/e2Kmuym+LO0yG/tYIGT9UkoHvjKiap36C3IEkUn6rM4fJlVodEPfkEd+w4Sq 8DR+tIBffRNfZdCE8ms6KCS7SRl6PxEqoR1guKuRk/XbxqZvsKXA5rKJVxRbOPO3fJM/ rGbtSeFhkPWeCmx168jK5Yul5FwoMWfitkJs1CN/YIaNF8ieu6xymQlMcLpvmYodxIOu HkJmYR490BfwuKekTPyXZu1Vlv2gqeXJrMP58V9lBzGAoqGzv0REDmGYksz8oWzFvBxc MM0Q== 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=U0XWaWI0lKq6xLmneZCawT0KlVhWyX6uAkdms1SfYzo=; b=Tv53wt1vPip8IOO0M2Rhm0/1dqmY+Xuj13j9qsG7wknqJROMo9N1uNSChA2FNdHuop DS6Gl5WV51oqz7sVd2G9SPBOg3iRLnBRXo5ZwPUb4aZhn1LTJhJ0ZKRK/wMzQVl/RiTe FRECTLUov0933Q4D+JL6755gFYeM84Sfw3DR+a8CUR2hl4irFSlzq0oenxql0xp3TJUb Kb+mNN73QeNn3VXqi4oRGNx6qeYP8GGX2RuS4shShNna7CIEihumDQNEN892B6gW8IPa kaQl0CVxyVVgkjDJmTsvTIg1YwLjrmQvKrwJwMWrB6rURjXs65iTuAogjzOKpcpq2/GM 1/tg== X-Gm-Message-State: APjAAAXNrRO0z/Rer1binHIPijMbbt73PE9rvpzm2CK/Fs9j02TKuHG7 gkWCvmyUNvNz+LJgTCgFzP9bvWcw X-Google-Smtp-Source: APXvYqxDkSypnT/817WnVJCx0kes5AzQXHhI6z69ZWT/t+YblRE6nCZS8TTB3Hwt4ClXPnn46Xf32A== X-Received: by 2002:a17:90a:dd43:: with SMTP id u3mr9420498pjv.130.1572383333861; Tue, 29 Oct 2019 14:08:53 -0700 (PDT) Received: from suneel.hsd1.ca.comcast.net ([2601:641:4000:c9c0:7044:5eef:7096:2413]) by smtp.gmail.com with ESMTPSA id q3sm131160pgj.54.2019.10.29.14.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 14:08:53 -0700 (PDT) From: Suneel Garapati <suneelglinux@gmail.com> To: u-boot <u-boot@lists.denx.de> Date: Tue, 29 Oct 2019 14:08:14 -0700 Message-Id: <20191029210821.1954-23-suneelglinux@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029210821.1954-1-suneelglinux@gmail.com> References: <20191029210821.1954-1-suneelglinux@gmail.com> MIME-Version: 1.0 Cc: Tom Rini <trini@konsulko.com>, Matthias Brugger <mbrugger@suse.com>, Joe Hershberger <joe.hershberger@ni.com>, Prasun Kapoor <pkapoor@marvell.com>, Maen Suleiman <maen@marvell.com>, Chandrakala Chavva <cchavva@marvell.com>, Zi Shen Lim <zlim@marvell.com>, Stefan Roese <sr@denx.de>, Chris Packham <judge.packham@gmail.com> Subject: [U-Boot] [RFC PATCH 22/29] drivers: mmc: remove static qualifier on mmc_power_init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
arm: Introduce Marvell/Cavium OcteonTX
|
expand
|
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index f683b52ead..68d6c0d658 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -2640,7 +2640,7 @@ __weak void board_mmc_power_init(void) } #endif -static int mmc_power_init(struct mmc *mmc) +int mmc_power_init(struct mmc *mmc) { #if CONFIG_IS_ENABLED(DM_MMC) #if CONFIG_IS_ENABLED(DM_REGULATOR) diff --git a/include/mmc.h b/include/mmc.h index 1a9efe4c38..360bc0e225 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -713,6 +713,7 @@ int mmc_unbind(struct udevice *dev); int mmc_initialize(bd_t *bis); int mmc_init_device(int num); int mmc_init(struct mmc *mmc); +int mmc_power_init(struct mmc *mmc); int mmc_send_tuning(struct mmc *mmc, u32 opcode, int *cmd_error); #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT) || \