From patchwork Thu Jul 25 20:45:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 814411 Delivered-To: patch@linaro.org Received: by 2002:adf:e641:0:b0:367:895a:4699 with SMTP id b1csp567778wrn; Thu, 25 Jul 2024 13:51:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUSAkyMM72TFocbjXctx5u6b4MR1IaBaGM0a0DiligZsgq7c0itrMG5LO5l6wylU+vu9ttjhwBi7vfR43RrywfH X-Google-Smtp-Source: AGHT+IGgn73hDzRmXvv08YqAq5klw3kdTYRXwiin2eKi2qFz90o4Gs64k2UAJ6tmxPS/T9sskIZc X-Received: by 2002:a19:f70d:0:b0:52c:e0fb:92c0 with SMTP id 2adb3069b0e04-52fd60439a8mr1768211e87.34.1721940685682; Thu, 25 Jul 2024 13:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721940685; cv=none; d=google.com; s=arc-20160816; b=SwbRzT4DyDre/WyWD4sfckDgm6T3lSnJNlixWyYjO3wk/PKaPzMIVccJtGgbs5FghR hyt94zPeKhp3IaWlANANCLWCFXkk4TzFMwe9NmIJAZ8lkIG79B3JlxNLFlVyubhhJlqI HppfGwH1xEOLDnzKS+h66YMiKQxkiZFdMimWnyhzS19wutmvu6+Sbo8PSSeFWUUVyYek Tup6+ldOQYrrCgJuGENyYw1KWZQb/EgBj/lG5/Jy/8DGfh8o3LDFfrRSqkS2aAJT4xkh ueNamR8+mu9aSK38d0OwgoT1MHUg+z8L7eEIQeAxiH254xZVCAGVwDVdkHMsjky4svzr Y0ZQ== 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=ncm51mb4XPPkXlgtosrF2Gll54fHmWIKTQhB9ftYqo4=; fh=3gLtazIZOp01KCYTYahwU4ng/gBfg9vCb6sqHgVjNjA=; b=WU5b0pEd47shGBYvGG0bEj+GXnHSk0Fqm+LeD9PVuKGfXYnaTlEMi9OcSfzPKnr9ii FRPqcjJjAwfwiMm/pxm3wNQ9IAcvwFdri6brwp5+O4FUO2v788yK+k1Vw8PhJg9NHPHb 4xQvxWpQ/38Ecr1c52dSk+tDu2uPA3YaSLvBsEzR8gEPM+IuwtXkvEDbvrrP9cJFZUW6 IvIQPSAQW+pXFKQ1Y2bZ6z46BwUAxHZFsDwvIEEL4ONqVhdrl8XVrk8+2p9GE49fprS5 aJudHcGC1XLLmNZH+91oJ9PKNX2Dj5sEaM3nX73cIToZU54S6PsrNjpFJCTeQvT7vIiE LRkQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="SxUty/Ni"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 2adb3069b0e04-52fd5c1928dsi673086e87.584.2024.07.25.13.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 13:51:25 -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="SxUty/Ni"; 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; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5F63C88808; Thu, 25 Jul 2024 22:45:57 +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="SxUty/Ni"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9CA0B88717; Thu, 25 Jul 2024 22:45:50 +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-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (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 68CEA88599 for ; Thu, 25 Jul 2024 22:45:47 +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-oo1-xc2b.google.com with SMTP id 006d021491bc7-5d5bb03fe42so162485eaf.3 for ; Thu, 25 Jul 2024 13:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721940346; x=1722545146; 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=ncm51mb4XPPkXlgtosrF2Gll54fHmWIKTQhB9ftYqo4=; b=SxUty/Nin2ZugX+bdWetbR5UYiD3z+ho92B6MwmLn2rCig852fw1KVWGJr+SL11b95 yfABdlgKLyOKF9NV/UNBeFNc1RVkfynrxR/qKUinMgLlLNNLcfWEZRfMjbHBsSjI/sw+ 0uq7dX3YlelgdejNSZ9uW3jG21xO+j2dl7uWGzoI9Z8xmRlX7Nk2M89AG4PhOu+udQg3 DfVFf3ejBAPAzKM+eIj4BUARkV0YyQvg1gT14tKZewCMkEkNu8lB80xfgCSoaZ30vT6A ewkP+YF62RAFuewmexpDj2jh+Yp4fmlvV4nvzSx3vODLa/8ek2shyfTs9FVVIZH3p6yg RHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721940346; x=1722545146; 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=ncm51mb4XPPkXlgtosrF2Gll54fHmWIKTQhB9ftYqo4=; b=fY3dugUQkgqUd3IE+ifV0gEj5NB+oLEYjqPYGrt+wN8Gyu/12LxDmP7LUzPBVcfEll FIBHqZVCTMYBpyghC1F/byPG1fAY7N+nahGkYaAat3ZOv9CvkNhV1xnfcCcmj+c3lq1E sYHU232R+4Lz9WBST3WJ6lqZgWyCNyJtQV/VzwrVOow+jYT+EFprGdNhQW2W3WfskPox +FUUgtYnv2jYkiFBjxQuOkmHcy/CkFa490PokxTm3feKT3MODW3+LGKRkYmHJ+/HhrdF IFq0zWwhfFR+aQKi1I4BLxCwI4NQ7SDFMHxMtLb6sq+kQbDalKfjT2WiXq8D6T9a6YDo ASwQ== X-Forwarded-Encrypted: i=1; AJvYcCVjM8qI4VitKW3cM3qNGppIqC2rSHHFvItocLLDTy5PtQ0znN4BgveCrIPrw6iDdkw6ircTv+5ggHdoQaJVmgs2yyjiEw== X-Gm-Message-State: AOJu0Yx4Rvm1cys27lkJOZaOrkYq2kkW68/evXrKfGYWArYehrJrIewU Vk65+QBmB5P/l02Frok1J7G2YQb5obM5c1l9ZLMBvGZ0uF+youSEB4vTOEJS4r0= X-Received: by 2002:a05:6820:1b09:b0:5cf:24e0:b78 with SMTP id 006d021491bc7-5d5adac7d98mr5521860eaf.3.1721940346177; Thu, 25 Jul 2024 13:45:46 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5d5b2c639f9sm258109eaf.0.2024.07.25.13.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 13:45:45 -0700 (PDT) From: Sam Protsenko To: Jaehoon Chung Cc: Minkyu Kang , Minkyu Kang , Tom Rini , Peng Fan , 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 v4 34/38] mmc: exynos_dw_mmc: Use dev->name as driver's displayed name Date: Thu, 25 Jul 2024 15:45:16 -0500 Message-Id: <20240725204520.18134-35-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240725204520.18134-1-semen.protsenko@linaro.org> References: <20240725204520.18134-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 v4: - (none) 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;