Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8ADD3C433F5 for ; Mon, 31 Jan 2022 14:50:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD3EF83699; Mon, 31 Jan 2022 15:50:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="VtjY3sOA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CED3180615; Mon, 31 Jan 2022 15:49:56 +0100 (CET) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 160A3836A9 for ; Mon, 31 Jan 2022 15:49:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd33.google.com with SMTP id z199so17160951iof.10 for ; Mon, 31 Jan 2022 06:49:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0SRJEuNipT4iIO0R/foQEy0CjWfB0lzFgDgejUwaVNQ=; b=VtjY3sOAXoKCnj3+UFyEI++hWj++ENPtEPraWtmfHg4tvIo5Gu+Vo6MkRNuBHVMeAs vUdDtSyQc/KLOHDip+Y/XlhqNA+iFxInao4rBf/6rsQ0ZsLR/pD0DFzkHRoUlCdN/7aC CKVbUbeBuPJ79H3Vv4TKnXsDFZ4/IpxZr3EJk= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0SRJEuNipT4iIO0R/foQEy0CjWfB0lzFgDgejUwaVNQ=; b=7nQlqTbnfQMiQD477Vk12IagpNemcCcSTI8OT3ezvVFOXbrwSZJ1MpsPgvt5/CsdFK zeZaBki77AoJh67B8xbB9sixOLOEyPbIz/1CtSPG9c1+cwVhXpiB2eCpKnyJU4aXD7ev evD8Sjzv9FQ1zWFqPXSRubcssGW3FO4lagQK1SJIjgbAPGFiPEnyyXnVPjVGVS0Chsu0 TrF7IeL2F28qKvHgZt6XktT50rRDTiW0/YC8MtmsNV/hCBLKANy+wREqquPtlXyQdqQT TPZpaIfbS0askm78bx/o7LKqaj9P47SRc7vpQc2b0vaG7BSPKGcwoLjjbA7vhV5+ps8e Qw6g== X-Gm-Message-State: AOAM53017+dGSz/dubpyaQoyeCPW1n+kTrSnqcgiirtBMBBxXTeR8T5f 4364HqPYXWcgDBBhelPEpisMjvU2oq0Ymg== X-Google-Smtp-Source: ABdhPJwimeYyCekc/IfchbPV2T8hJCA0tuTQiKrBhPr7tV3CiJCsogn7Y6CZpQweqVfkglv4Q4HrrA== X-Received: by 2002:a05:6638:349:: with SMTP id x9mr2635623jap.242.1643640586424; Mon, 31 Jan 2022 06:49:46 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id a10sm19698750ilv.44.2022.01.31.06.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 06:49:46 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Stefan Roese , Tom Rini , Michael Walle , Simon Glass , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 3/8] sata: Rearrange Kconfig for SATA Date: Mon, 31 Jan 2022 07:49:33 -0700 Message-Id: <20220131144938.927349-4-sjg@chromium.org> X-Mailer: git-send-email 2.35.0.rc2.247.g8bbb082509-goog In-Reply-To: <20220131144938.927349-1-sjg@chromium.org> References: <20220131144938.927349-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Move the SATA options inside an 'if SATA' part, so they are grouped. Fix the 'Complient' typo while we are here. Signed-off-by: Simon Glass --- drivers/ata/Kconfig | 71 +++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 1def9305dd5..6e8363c04d9 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -48,16 +48,6 @@ config SPL_AHCI_PCI depends on SPL_PCI depends on SPL_SATA_SUPPORT && DM_SCSI -config SATA_CEVA - bool "Ceva Sata controller" - depends on AHCI - depends on DM_SCSI - help - This option enables Ceva Sata controller hard IP available on Xilinx - ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and - AHCI 1.3 specifications with hot-plug detect feature. - - config DWC_AHCI bool "Enable Synopsys DWC AHCI driver support" select SCSI_AHCI @@ -83,30 +73,6 @@ config DWC_AHSATA_AHCI help Enable this option unless you need your private ahci implementation -config FSL_SATA - bool "Enable Freescale SATA controller driver support" - select AHCI - select LIBATA - help - Enable this driver to support the SATA controller found in - some Freescale PowerPC SoCs. - -config SATA_MV - bool "Enable Marvell SATA controller driver support" - select AHCI - select LIBATA - help - Enable this driver to support the SATA controller found in - some Marvell SoCs. - -config SATA_SIL - bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" - select AHCI - select LIBATA - help - Enable this driver to support the SIL3131, SIL3132 and SIL3124 - SATA controllers. - config SUNXI_AHCI bool "Enable Allwinner SATA driver support" depends on AHCI @@ -134,4 +100,41 @@ config MTK_AHCI Enable this driver to support Sata devices through Mediatek AHCI controller (e.g. MT7622). +if SATA + +config SATA_CEVA + bool "Ceva Sata controller" + depends on AHCI + depends on DM_SCSI + help + This option enables Ceva Sata controller hard IP available on Xilinx + ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and + AHCI 1.3 specifications with hot-plug detect feature. + +config FSL_SATA + bool "Enable Freescale SATA controller driver support" + select AHCI + select LIBATA + help + Enable this driver to support the SATA controller found in + some Freescale PowerPC SoCs. + +config SATA_MV + bool "Enable Marvell SATA controller driver support" + select AHCI + select LIBATA + help + Enable this driver to support the SATA controller found in + some Marvell SoCs. + +config SATA_SIL + bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" + select AHCI + select LIBATA + help + Enable this driver to support the SIL3131, SIL3132 and SIL3124 + SATA controllers. + +endif # SATA + endmenu -- 2.35.0.rc2.247.g8bbb082509-goog