From patchwork Fri Apr 22 01:44:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1620545 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=zR0f7a96; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kky0V28Rqz9sFs for ; Fri, 22 Apr 2022 11:45:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 498AA83A5B; Fri, 22 Apr 2022 03:45:14 +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="zR0f7a96"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 038C483639; Fri, 22 Apr 2022 03:45:12 +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-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 8B86283BBE for ; Fri, 22 Apr 2022 03:45: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=takahiro.akashi@linaro.org Received: by mail-pl1-x629.google.com with SMTP id n8so7621313plh.1 for ; Thu, 21 Apr 2022 18:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hhr7VzO0txZKSRl25Y3vVNN5Bc2jDoBjnfbQqADbK3U=; b=zR0f7a96eDKQ9kV7AXJLTL7yGiniiRy8gCXl2wE5aueI8bkqC0F4+Mr0gkhWDG17U3 8mF+p+ivgdBA1Fsstk/ADR4y2h+MLLeEXQEi+81EXIrmgfols7nWpq6psao4s+nm0+II z+XHoDP2JNxvlDZ+efOA58sUaPuG8AdbunpYZNH+xbHFd58lAHrZPlnsUWk3tRAyoFOe EL5wDFqK9tIQ28vfbT5Slh73iaFcMeUBm52J58R4DcnlBugP+G+zBpRPRAzyQJJXrgG+ q0gs+UHTxAjPkxz36sb4iokyDZtxp+cO2TDAxYrzjJMo9u9DYR6ixhU6CALfAwIrrbfp I4Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hhr7VzO0txZKSRl25Y3vVNN5Bc2jDoBjnfbQqADbK3U=; b=gIaxuOmz70GCP1mJ/02YDn+Wod2c7VdBk5inkd7/NpnUcOLrw2RbBj0wsH42TSmikN LklUuxCzRXyA7ETse0JubbCELlPJprhxqI+Fny2uUk1C1AekIzAuHEjOROnDeX88FroW f7sRfTwyCAKdQooJGYLyJgp+CjpATtcKoinx0XBX3AM9mFCaj+nBq4in8nEvaKMbmTaN woYHNI804U+w8hPXe7ngTg1SvDJKs6cQnatOCAOyur+oXIdUBU88+15LJ9IM7QA2cFfR BOGpBQ6pyBz6DKn0uo8JI3fQ4xTjF1FmP6JYKpYY4+eDZC/QSMn4VA8mydLcYvNEgdpj f6+g== X-Gm-Message-State: AOAM532ld4EN9u12/P6sT33NGY1JbR0cuUvKYi10dEwKRzlNsYOgiKzh jq4wXirESbKJcK6lkmeconRurg== X-Google-Smtp-Source: ABdhPJybP/L+nrnS2JFyZxYBzj4vOphUyyeTWDjusfHIrr2hSUYy1HrBEs/kf189/3FTRP8jnGkqSA== X-Received: by 2002:a17:90b:3613:b0:1cb:66f4:fcad with SMTP id ml19-20020a17090b361300b001cb66f4fcadmr13342005pjb.82.1650591905853; Thu, 21 Apr 2022 18:45:05 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:9db9:8ed4:878d:9b49]) by smtp.gmail.com with ESMTPSA id s1-20020a17090a1c0100b001cd4989fee1sm4019158pjs.45.2022.04.21.18.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 18:45:05 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH] cmd: part: add explicit dependency on PARTITIONS Date: Fri, 22 Apr 2022 10:44:30 +0900 Message-Id: <20220422014430.55472-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 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.5 at phobos.denx.de X-Virus-Status: Clean This is a follow-up patch for my "disk: don't compile in partition support for spl/tpl if not really necessary". "part" command is useful only if, at least, one of partition table types is selected. So it should have a dependency on PARTITIONS which is now automatically selected if one of partition table types is enabled. With this change, *_defconfig which explicitly selects CMD_PART but has no partition table types enabled should also be fixed. Signed-off-by: AKASHI Takahiro Reviewed-by: Tom Rini --- cmd/Kconfig | 1 + configs/cortina_presidio-asic-emmc_defconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index d3abe3a06bff..b69c26912568 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1239,6 +1239,7 @@ config CMD_OSD config CMD_PART bool "part" + depends on PARTITIONS select HAVE_BLOCK_DEVICE select PARTITION_UUIDS help diff --git a/configs/cortina_presidio-asic-emmc_defconfig b/configs/cortina_presidio-asic-emmc_defconfig index c22dcef7ec05..c217a00a1cf0 100644 --- a/configs/cortina_presidio-asic-emmc_defconfig +++ b/configs/cortina_presidio-asic-emmc_defconfig @@ -18,7 +18,6 @@ CONFIG_LAST_STAGE_INIT=y CONFIG_SYS_PROMPT="G3#" CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y -CONFIG_CMD_PART=y CONFIG_CMD_WDT=y CONFIG_BOOTP_BOOTFILESIZE=y CONFIG_CMD_CACHE=y