From patchwork Mon Jun 10 01:12:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 802968 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp1735547wro; Sun, 9 Jun 2024 18:18:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUAO610Dvz6INZLY9+eklYfpDxI+U69T0qhxVeu9hZJmeY4gSWof82c6sbOxOPTJQJuH7S8fpFnbARcjtHVU8qg X-Google-Smtp-Source: AGHT+IHCpTHcVs+/AsizWTwnJpmw63XEhn18FOAepldsESH2f9kU+MF2dFt858XH927hWvahCKqN X-Received: by 2002:a50:a6c3:0:b0:57c:5764:15f1 with SMTP id 4fb4d7f45d1cf-57c576416c0mr4331355a12.29.1717982328912; Sun, 09 Jun 2024 18:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717982328; cv=none; d=google.com; s=arc-20160816; b=gPA559DEdztCnUxxsjuXhqzxh3rvL9UxKjDHCmaXs0zT3RF5Z/qNfluXZdcw2FqNqA ZMhGzCwuyZzcYTd5HJLpgpJOB+srthAXWDogN35yYqHXTAgPEQYmgVsisdMNbAmQGG9Q xb1tTZJHwetxDRmHokTzOC83td9h+TUx31YkbBxwkCXBLywzTB9fOU4LwLFBEL/ZZEPA 6MpK+2q/bPCp/0S4Q57V4ns4gds50OpINKzMqT0o8YdzcYfLgJBaQXaWSRO8MyzJUrGG Hn6aiMVWrjeDPBg+b1AU8d82LZ/wyindSxeLHnyXjwzC57aW/RkkQbmvxz24zP92TnEX rxCA== 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=9fokpperR8k7BYwCKOrniKExo5qDtjR+37lQoDEVle0=; fh=+tSbOH6sGEmKQ3tu7mY1hyZYa9jZJYXFiocggBRxNt4=; b=ASuxAPUw1rzSWzuRz2Z6rWrIId7I5JoSGfPKGSTk6cStb3XX3l5QRZF7KuXJ91KoEF g3afyzd6AKOALMnMQevu6N2wie0/BrY2zkY+C03iS6dJUcmHY8V2WiA26kT1AvLuRQeb 5KP1P7CgD1unijJAx3oiZRHz7HJgRVSM1xtyK9SA2hzAnF79QgdUXOaDdE/NmkFXYmfq SKHOidxrGNDoCp8QK0Z0IL6ME82EpQPxlfCzEOu/WY/uNG9mAJKQhIWgS1nrRW90MquM WGrBkng57baeZ0tmADTDxEivjZM2GVBGdphE7u6jgKBDT4Z4Lz4aKlkHyIEvRzJC+r5i dRYQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xs42g4Ks; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c6bf69edcsi2003234a12.82.2024.06.09.18.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 18:18:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xs42g4Ks; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E62598859F; Mon, 10 Jun 2024 03:12:59 +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="xs42g4Ks"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8EF3D88528; Mon, 10 Jun 2024 03:12:57 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) (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 06B0C88576 for ; Mon, 10 Jun 2024 03:12:54 +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-x36.google.com with SMTP id 586e51a60fabf-24c9f91242dso2045262fac.2 for ; Sun, 09 Jun 2024 18:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717981973; x=1718586773; 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=9fokpperR8k7BYwCKOrniKExo5qDtjR+37lQoDEVle0=; b=xs42g4KslwghbH0Bv9rKiE89BdpuVAG6xtQOq5Z44UIS/Zj2oYOdp918GZDtWIA9Kv RxcTHt1YeQ01DTsUpMT5WOBczfholpK6NVsu1fnnwTMBhqRLtIbVCodd8l3ysvNjhSCE 6i+cjMZw0MFm6rumfMK9qJQFYkzl22xefVHZpsnbTRt0JBvTdGOoJc0pwxWRpGEYeehR BXgSVIwsXSlNFuQlBxNN9VbyRN2peGOffL+kcE9hvA2p+hbxNokn0yZR4h3QvN/bLyqO jQpEMo5zvgIxjYG8dj3IYYx93vTAOuMwurfdU2tFuHs2CHKRmDkGBv4W6REK1qS5HlZV oYVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717981973; x=1718586773; 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=9fokpperR8k7BYwCKOrniKExo5qDtjR+37lQoDEVle0=; b=q4hO8tDEZrDP8cVPT7/qa+eTBj2Fs4YAXP2hlKXpwdEeCZ/KnlqU3E9CesiEc71DBt 1GiBJCP5fPnDhe0fKyF2JUiCgOzROhuv4oFTxySKt3JAXHg0sbMDpnZGWhpdQPF3PYCc oUj1thUGV+ccvULUP2tvqfs4iqfIB3/LUgiTeCGE6Y1reqvEmQqxIKwN9sYhsPN/j+fv l9whzeA5k0WZ6J06tLQlGCHFsA/V0zfLWw9ZPdvSWGRzKy8bCJXRC8kKm/LPtl3GGyZl c4ltK1aGbR/yGyYa/dvL8eS4W4E7mWeNzQ2BMVNjtaGcN1Fjswhg68Mzcqvy7X9MQPle BmwQ== X-Forwarded-Encrypted: i=1; AJvYcCW8kbZtw3giKso4/kZ7oXCZFESte5Q5HT+Sw31hkqHZdMeaD4fJUU7CzHfbK4qbkv+zFE6SheEXZQpjfzqj5MKs90htAg== X-Gm-Message-State: AOJu0YxHUUTFXqx9m/FOPiLhKS5u6oFRN64Tz/8g0ZpilLmWWVGQ6ETJ sl0Nuiue4Km1PITWxBSUgw/JHIfj1NQkXcv/mL03B5A+XmdXRPd/cj2e0g5LKAc= X-Received: by 2002:a05:6870:ec87:b0:254:79a2:38cc with SMTP id 586e51a60fabf-25479a2c7ccmr7953470fac.5.1717981972786; Sun, 09 Jun 2024 18:12:52 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-25448138e4asm2062969fac.57.2024.06.09.18.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 18:12:52 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Peng Fan , Jaehoon Chung , Simon Glass Cc: 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 v2 36/40] mmc: exynos_dw_mmc: Use dev->name as driver's displayed name Date: Sun, 9 Jun 2024 20:12:22 -0500 Message-Id: <20240610011226.4050-37-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240610011226.4050-1-semen.protsenko@linaro.org> References: <20240610011226.4050-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 --- 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;