From patchwork Mon Jul 22 17:57:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 813776 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp1987536wro; Mon, 22 Jul 2024 11:03:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWbccJZC2NNrq0r4IIvXUPo1XOc6zxT3Z1rTHGlzfp0YQGdPnBX6Ll7DbFmEZo+7ufKm9woMIDyYzNlanLJEXQG X-Google-Smtp-Source: AGHT+IFN90uAMMA663mOPPgqwDHtPihT2VdYl+Qb9TLKtdZAiu8oYoQZUEa7Q0O/Ym2l/ioZnTcs X-Received: by 2002:a50:9fc5:0:b0:5a2:6142:24c1 with SMTP id 4fb4d7f45d1cf-5a478b65faamr6128521a12.5.1721671418307; Mon, 22 Jul 2024 11:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721671418; cv=none; d=google.com; s=arc-20160816; b=nW1DhoscmQrdDpnpIvUZHiF0ElYEISVrdQZ5LLTbwcY2Ym9olv6CbHzINFa3X1GO1K oSnSHDZopcPxAsyYG4FmKYB+JL7h76mVP+eyMczEx3AiTxg5FG6xaNhrcBKUpE0U24xG M1FjjKAROxTURjrqlxDDVjw8vZHhaeCLTrXOCcv5e3ScoZz7ukMdF05BnCwSsGMnYfi/ TNpeiY2LK6pSaG9gCLt136e4y1wtFXQ7rjxZJY2rag3g9lgyBbWwVocMRq9OWXu43qeA wCMTCi2/0rh4717J5m6GbJjiUxKRnG7TuqY+7ZjbeL0ZodqfMjUH+p581BdBZ/W/IHvm 306w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zljk88b5uhIt622WVCD8ub/dXpb7gNcfzj+9ej5gn+U=; fh=zGZfq8FvNJ1yVR+pX+KqvHIfkwNDAwEXIXFcIKiHR1g=; b=wAoJoPOStyN2ash/B8+ZcrWyqN0+132ND/hUz7+aAwZlVl6q7YQNXir6frSw5YD99Y vWKxcq5Un1c9Crut0fKHy1G6WjTrUv16K4/sqtsnQ+dq0veMiv1uK/YGlHTE+ZSQDop+ rz73TY2NIpaGCcPwHWWrjNe9bLJRrpbugEkSU8gTVrmmsSCJfGkRGzEc5rNTK+ZBteQT MDNj230il9W99EyUSMvCFhiqh/SSSeaFDoc3Ika4qRrZF8aoab8gqw8t3Wbz+dqpWjV8 JeuI1FSj4pxOal3IjZESPw9G+weO6VJnQNwRVy7+9Dcyc+AE8feaayZycfN53CVnKllL AJqg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=laPvU+8z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5a30c7d54bfsi4798252a12.590.2024.07.22.11.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 11:03:38 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=laPvU+8z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF61F887C2; Mon, 22 Jul 2024 19:58:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="laPvU+8z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EBBFB8863B; Mon, 22 Jul 2024 19:58:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (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 801BA8870C for ; Mon, 22 Jul 2024 19:58:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-26119999171so1968143fac.2 for ; Mon, 22 Jul 2024 10:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721671086; x=1722275886; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zljk88b5uhIt622WVCD8ub/dXpb7gNcfzj+9ej5gn+U=; b=laPvU+8zfzgaeZKaddQuGXydd2pWMe/EF/y8EFUAUPkvVwqCJs0BcuvE/kZl4OH7FS Kr6I63bqfmhltwp6KRn6H/oa1I2xFUQJfga+It5WY1T3rwZLNkV4fe1v058euUCqjv/+ 6Itq5cwH+lF+R7tjRLHCTEb4fVRTtN6OiBV7Ip6V5tsxJdvDLQ+QGRuPOaJgNb2sD6S4 iTUyIphQC7JDmM38fKBqhhvoPdez13YSLn8lDoBYFcxjhc3IhgcBCErappbj1RKQPC2d uSUZNGc4g7Kh73qDCqxpQ005jQE+ttrfWPw3ot6wmboC3g8uHqNsuhlneioZ3MEQbwAC Tu+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721671086; x=1722275886; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zljk88b5uhIt622WVCD8ub/dXpb7gNcfzj+9ej5gn+U=; b=CQaK+VpQEgDgGb7EhrSvcn7vbBfl0ib1mnoSwohVZIgYbPY15L8bJ87Licc/sRbPSO HNz4VO9YxsOmTWFmEKDQgloYLyq4qm7i5AP+dHeRTOOUrpfQF8GvuGRVmjM1HF/e2dlK oEPH0r+vlyL9q2pQZj/U+pmCcHOQ821hBENX2PwVBux51BEVmcNE9w6qIB2al7M/aJkU NpVQjTxh3ZxpvDhljQfiUzIirfj9W+VxkMzdjCvhTOlwRvVNkq686MyccqaJmShs4N6E ab0j3FmcFDvl2jJB2rXS2nuex9r19qy2LW2/f1FwFQg6N4N6Vqdf7F0fXYwXAaqGH+1W gwBA== X-Forwarded-Encrypted: i=1; AJvYcCV3cozR9G25JIOzJR0ajnTl5peqHvHOdx1mN8dA03fHRue4jMYD46Od9Q1yKpX6EA2KaWmuJx2ts4QiUSjRrGfjMxzUVQ== X-Gm-Message-State: AOJu0YzA3RMq0JtRGvpmIiGKbKEw453f9yf+rKXGy3RU7gI1KcYSg1n2 EXmfJT0w0YyeyUcJx4jA5K3UIB7nqrCohp19vuxqghrPmStAjgEfkYpyW4cHqh4= X-Received: by 2002:a05:6870:e38c:b0:261:236c:2bc1 with SMTP id 586e51a60fabf-2646906a752mr466938fac.12.1721671086301; Mon, 22 Jul 2024 10:58:06 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2610c7cf209sm1766436fac.29.2024.07.22.10.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 10:58:06 -0700 (PDT) From: Sam Protsenko To: Minkyu Kang , Minkyu Kang Cc: Tom Rini , Peng Fan , Jaehoon Chung , Simon Glass , Quentin Schulz , Philipp Tomsich , Kever Yang , Eugeniy Paltsev , Peter Robinson , Jonas Karlman , Yang Xiwen , Ferass El Hafidi , Sean Anderson , u-boot@lists.denx.de, uboot-snps-arc@synopsys.com Subject: [PATCH v3 34/38] mmc: exynos_dw_mmc: Use dev->name as driver's displayed name Date: Mon, 22 Jul 2024 12:57:36 -0500 Message-Id: <20240722175740.6985-35-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240722175740.6985-1-semen.protsenko@linaro.org> References: <20240722175740.6985-1-semen.protsenko@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Reduce U-Boot footprint by reusing dev->name as a driver's displayed name. This changes boot device name (and "mmc info" output) from "EXYNOS DWMMC" to something like "mmc@12100000". Signed-off-by: Sam Protsenko --- Changes in v3: - (none) Changes in v2: - (none) drivers/mmc/exynos_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c index 43111b749a6b..a9e240fd91d6 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -327,7 +327,7 @@ static int exynos_dwmmc_probe(struct udevice *dev) "continue anyway\n", host->dev_index, err); } - host->name = "EXYNOS DWMMC"; + host->name = dev->name; host->board_init = exynos_dwmci_board_init; host->caps = MMC_MODE_DDR_52MHz; host->clksel = exynos_dwmci_clksel;