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: 564771 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp62833map; Thu, 21 Apr 2022 18:45:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKMg4DorWDMHjmcv1uUNMqS3NWg4fnhlycGWLNZrSeLU463HIyTwfh5k1ZiK2c5luG0GhO X-Received: by 2002:a05:6402:485:b0:425:a529:c29e with SMTP id k5-20020a056402048500b00425a529c29emr2445446edv.354.1650591918598; Thu, 21 Apr 2022 18:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650591918; cv=none; d=google.com; s=arc-20160816; b=TX3GK32BziraJkzSlFiiPQtyLNRbBdxpNWR7kmvDmOc/EGCYZBVvZ2pIQoCKDbBGz3 F7NqI7xYHQZhjp4rfWiMdun/74dxjjPCTIs/alcT6KFp6WFtn2+Uf7HPIyYxZ4NC3ECG OYAv9o33ZNPH1SfyhfiJ29iUoFNM/z7n0HMVHlYK5jtzk6HA7/yd4YxoZe3sBqX9BcyR JcDaYcos64OmnAZqwjZ5cLDrQKJSrlxHaRJyH+r/UaYRXMlh3UJnrLOu2efhFQOsGp8G VWzDVoy3wFIBqSgXU5cqOkhv3v/wPTZgLVB9xVUMUaIeFtq48xlPuKUjomAH49RaK3CA RoYQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=Hhr7VzO0txZKSRl25Y3vVNN5Bc2jDoBjnfbQqADbK3U=; b=Yi8CYgaWUw0TM6WYq6gTBwBfIWjUUv3YD4z6y3USXskRSoMCealDuvM8rgBAy8l9F8 U28QRU03dUpOrHVg2IBHK/fHk8aotIY7Bh3dqmdP79NanlJ7VlCbIx1PgdGyUCqbCpU6 5K35kMZ5jt2tElsMX7dMH6WtsuYNHDYJ62Ev2D1BJfry88j5E3qOrh5zrE3xdoG5jU2l SlT144sGTUYZ4egegw9ly9qv59XwroxQijAY6bWgKbfzGtAD8Gzl911roAT4UNjXQDth AtQot9LP/oeLjjLccpC3X1AIqnc5pMUl+Jdde9U/qBMiwZSzDfIZJdStv+SaEDL53TL8 Anlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zR0f7a96; 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 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 o12-20020a170906774c00b006e8439e78cesi5488634ejn.105.2022.04.21.18.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 18:45:18 -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=zR0f7a96; 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 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-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