From patchwork Wed May 22 23:31:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 798217 Delivered-To: patch@linaro.org Received: by 2002:ab3:6414:0:b0:267:d849:ee76 with SMTP id j20csp919549lte; Wed, 22 May 2024 16:38:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWRzxsaVhyztJWmeyQTgJQ0pQQmnAqc07j2/n4os8QPTGbA2lkJHtkRPp18qE6NEBqPnQGwtVdjbNVIdXo4S4eM X-Google-Smtp-Source: AGHT+IFbw9MCyNxHEmNNk5F+LVWbSa47vBRAn5yhA0oT4gkc9qgynGy/f64NtuhstagwOZFoja8o X-Received: by 2002:a17:906:1296:b0:a59:adf8:a6e1 with SMTP id a640c23a62f3a-a62281435a3mr179011466b.47.1716421120403; Wed, 22 May 2024 16:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716421120; cv=none; d=google.com; s=arc-20160816; b=dpwWv6En8fCVsB7xiWeakC4WWpp6qM69NXi8wmkXGzPcaShIWsc8swIEXwmfCRhX4q Xu/UpXMe3hBBb7E//oroJnGau70lrPUMAHHA7eqdHu2c0DiuuXDM+pS97hm4Tc6saj3g wkTHgVl+iH2oce4UkvnxBJ1grOtpOhcSlr3w6bP+HL8iuV2Cy/q0Bi0UqHL9qoeanvzZ c8JttwkdgGZnWx2SDaNknpvGJE7F4j7Iv4OwMHiUzR/7gYeH6bAYMJthUTvHkeWeWxwd IFIA+r4fmuETdNzhbanpeW3Rap8xJcEjtX/nBF/s3J3+4SPavPr41plWuo2xMdx4Tkd8 ZhXg== 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=YzAlt0nt8nijIC8dJO5yduLfiDFKIZnuxjP1HyL3So8=; fh=lUBWH7tGoz+N4Es7y0lTUgKCzlHxxau3uvK2w7hEBos=; b=SoCmujzkkbExT27SSN5RYV6DMbVlR6ixF8Gf1fiAKF7m/4KEQ6RaXDdosQCJK0HFfI DeavgOVceHqisrq29Z1cq4I89hygUoBanoRnq0cBaD/Zefq7tNdCnaMHF6aedcFt2X9v zQ+EDdE1PHJDwr4mc1VaQP6k8Zx3ERx9uk7GRyOLC6U8Z8OIsdArCcLZm3x8o4vBy6Ct pKQxX+dZfC5DsUL3Adlz22NO3lbvmV3igYuGQ5xPRsaI1uGOvzV2c0ZLcEYQBijxmIoB v58n8C+GSD/GsCtPqADjvCxm0i5fYnPFDqosXMdey/wbYydiZNeXRA8IGAH5BCQrOHhy Qq7A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eYFRtchp; 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 a640c23a62f3a-a5a17be1bbfsi1545025066b.707.2024.05.22.16.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:38:40 -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=eYFRtchp; 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 4F7588851F; Thu, 23 May 2024 01:32:23 +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="eYFRtchp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA7C5885A3; Thu, 23 May 2024 01:32:13 +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-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 159B68857C for ; Thu, 23 May 2024 01:32:09 +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-oi1-x22f.google.com with SMTP id 5614622812f47-3cabac56b38so1282148b6e.3 for ; Wed, 22 May 2024 16:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716420728; x=1717025528; 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=YzAlt0nt8nijIC8dJO5yduLfiDFKIZnuxjP1HyL3So8=; b=eYFRtchpdPzsj7ptOdRq3w84y1fWq046144s5r5pfmXDr6/y1eGh+A1cQMrr39lKax YAhzVdij0viBqSftqPrOoENiuQVE2lEBmLs7Xs82btLyYPtcVI9dFWR5E/uJGFf+qLFj ZZyBpKEvXRsTw4RLCgDgyKz9qCM1SG85OphadlJ9+CYCfOUzD05BeQiTjW/+tLZfrmab xphssWv924Ls0ryDj7z5zFFUVPVgSL8BeLe7881ZB1qgsWKtqALJrhSxPjBYtUCcsCAJ CoPa8UOAkqNAOvHlfvLETNnpmBWXyhVDLH7BxZZ0rfpP/K75tKiSaKbcJqvrZ5ll8KAP JeEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716420728; x=1717025528; 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=YzAlt0nt8nijIC8dJO5yduLfiDFKIZnuxjP1HyL3So8=; b=ooKzrOnAjiWbUzrTQRtXETdfBMtnnwE4tZug06WMyyvCsLjMBZp+V0ewJVXiMN241t yim+FYqOQJPyGK4zlqbMEYFiwr1skTgVwttBfcocKQN9vuMpWwlqS7HRcvwQ7rXqFm7X MoTdDMb869WW5m6IS6sgoSR0prd4lf2V/nadEKvqdez7nnZ1XXrcRdSAu5EHYJannMbH TFjlFwVMDVyjegxEr/UvcWgSg7OacvUNAKculuGfBrrTMNfIt2asK+5UL8dpR6Oj1bFj 0vB8V72mMHpLIavkToqH7TbnWuxw2IbzUXzHeTAUC0HddZ6HtbZF5HyB685Gd44oKhCp aejA== X-Forwarded-Encrypted: i=1; AJvYcCVu/aY1SZ1liXJhdVKpsFPviSgacMpHscDvwX4j+qFWQ8nZIHB9/M4wX4MGOPJP9BZFNO6EWDIee1FWNrBVtl0qk74lfQ== X-Gm-Message-State: AOJu0Yzlo2xq8c/Wf9psT3m6K7vOuQcL5T466kSIMKmVk4pNDdbUL+q1 O8pPLAM5obRwdaPSFoXjIqAp/p2ldB6rbGFQUXMBz4gxGDv6CHDtt6/+Np0aCQE= X-Received: by 2002:a05:6808:13c3:b0:3c9:93bd:c3b1 with SMTP id 5614622812f47-3cdb20afe3cmr4529417b6e.23.1716420727877; Wed, 22 May 2024 16:32:07 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3c9a5f0e6cfsm3861695b6e.2.2024.05.22.16.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:32:07 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Peng Fan , Jaehoon Chung , Simon Glass Cc: 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 38/42] mmc: exynos_dw_mmc: Use dev->name as driver's displayed name Date: Wed, 22 May 2024 18:31:31 -0500 Message-Id: <20240522233135.26835-39-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240522233135.26835-1-semen.protsenko@linaro.org> References: <20240522233135.26835-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 373dd2df206e..84a079256bca 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;