Message ID | 20250904130459.848794-3-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991128; bh=vJzzIoTtNj5v1auTLOarKmawOq8yDioR3MFJomYJM1A=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hhr6eu4oK946BQGEkr2uBaLUD8RuNZ2g6JN4QitQ7wp6NmCCpliHj+TJUtCQsRZ2P bg+j8F/3AvAowFJILHgy1eO+xPSkxuXL+0W/I8r2vmzeshCbNc+UMpeklq6Mlf/ugp hLtRWNcoKkh0iDm3ylWOghcKgTUuQUZO5ZP1vdflNTdeRJunco/7d+47mU+Nltp9WS 47yxzgI5SeTLsDFh7bbwWbjLhQpRoHSlSoFeu2eRYyoesay9g5m18rYTlg8D1rm4EF aoy4yuiedr/+s0ocIw+XpGk+yIp4srE+1jTXmxlvdOxAu3wb7zEW6IspOFE0XWKR/l 7DaCCga6KDMSw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6D9DC678AB for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:05:28 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 58BpZpF7Cn5T for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:05:28 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991126; bh=vJzzIoTtNj5v1auTLOarKmawOq8yDioR3MFJomYJM1A=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=YOsLQT96TviqcsJgIeCFZ5QjdoRiAy/rOskYnP/rBzCDWFyESPkKL9porZ7CqLh6I Watw9xuhpgB2ou6kvamV6JOmq2fiPunSGC4stGInOvozdHClQPUZ5M+3wcz2ZHbLFH 74AyAmbWfUIPoya9zbn4bKXYbF82i97YT/fVi05AOlVu6O7kcYcqE8mkmW0fMXzTKC 8ivjT9mZW9sAH11eg2rpGNl1w2i4/eV4wrq6D8UV/aFpiB5JDFprdeageeQZxKybce huJtyc9dk13NAPZZbmzlCfiW4Z/aX5I2oZ60F7A8HyJ+Q0Ffq14C9g4EoPq/dT3yEn UaQdjDlnox4dg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 71D1F6795E for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:05:26 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991123; bh=QQtSX4deElsE9JiJ4RP5Vi9RlVYOtK+6x1H1vGJlovI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nKLZ28SVVTk6OPO0HSiQquLJOHCLbrXG3S5Z2ZCXTHkZQZPtQjC9lmVhfgu8ONZoF bwPesO3algl41xq2WrXWCIUH2G2P7Wi8ETZrXgCjmvxji7mrxH+jaix56ncYUNJzJ9 5IA7Jtijn/pI/TAwIJir+m5XDeMshVkOt13X09UDtwLnpTsDYU5X8cH6hy9CSaHa40 G4wrV2ZNWcaXG84DJrtxQVB+VX8mMh8SlMj1ZT1JH+zT7Q1q6KzwdIhta+gmObAJro npCPbZCrpKezlRahvR+olvRqc4TyfRkZC66r2nRrNKZSMpAlDymQePPoL2dpEW3HAc FNA5oXOmivpQA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BB5BB678F6; Thu, 4 Sep 2025 07:05:23 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id gosJSBCaDZg3; Thu, 4 Sep 2025 07:05:23 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991120; bh=aLjc36CREpXCWdWiMWqA1Q6EX+IeBkO81RUC4+4UERU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tB0kUFe2U30Kj0Tt4KbNqANLX0FIV30I1lIXN0skwlSNXwMDFVGjpjzxBzljqxXM5 g5um26OwCYlQRWO7jB1dP9asP0qhTvEEFohUCKF3jZvwPl4Strhw6ZwxABkoNUm18d WPOp7bh1z6Gqm57O9ODkCnQaDok9QbAC3LnxMxv+OQqr6eaw7driNiPi4wBi71aTsX sILutH+pit1zAPBsPUmb4i5ExYsiQMaqPOkU8KzJTUOUt8GvQgC175SjmjXQp1mpfQ WcPIUN4SMzLGghr0onm74+TjUa2Q+u8QjYa8DKZc9N4cwHxFLsv0vG8opSjemknhmw vgsOlDkNBze/Q== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 6012B678AB; Thu, 4 Sep 2025 07:05:20 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 4 Sep 2025 07:04:35 -0600 Message-ID: <20250904130459.848794-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250904130459.848794-1-sjg@u-boot.org> References: <20250904130459.848794-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: LOZ23BE6XLUMA3JAIQQZWVQZ64C5U56V X-Message-ID-Hash: LOZ23BE6XLUMA3JAIQQZWVQZ64C5U56V X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 02/18] board_r: Drop MMC init from the startup sequence List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/LOZ23BE6XLUMA3JAIQQZWVQZ64C5U56V/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
ulib: Introduce building U-Boot as a shared library
|
|
Commit Message
Simon Glass
Sept. 4, 2025, 1:04 p.m. UTC
From: Simon Glass <sjg@chromium.org> This should be handled by driver model now. In any case there is nothing special about MMC which indicates that it should be inited and announced at startup. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_r.c | 12 ------------ 1 file changed, 12 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c index de28079a0c5..d60cc7aac70 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -381,15 +381,6 @@ static int initr_onenand(void) } #endif -#ifdef CONFIG_MMC -static int initr_mmc(void) -{ - puts("MMC: "); - mmc_initialize(gd->bd); - return 0; -} -#endif - #ifdef CONFIG_PVBLOCK static int initr_pvblock(void) { @@ -667,9 +658,6 @@ static void initcall_run_r(void) #if CONFIG_IS_ENABLED(CMD_ONENAND) INITCALL(initr_onenand); #endif -#if CONFIG_IS_ENABLED(MMC) - INITCALL(initr_mmc); -#endif #if CONFIG_IS_ENABLED(XEN) INITCALL(xen_init); #endif