From patchwork Thu Aug 27 13:39:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1352556 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=jwuC1uLh; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4BckNw0RfJz9sT6 for ; Thu, 27 Aug 2020 23:39:43 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1EC281260; Thu, 27 Aug 2020 15:39:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="jwuC1uLh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4D2E8158B; Thu, 27 Aug 2020 15:39:37 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 9E5D68006D for ; Thu, 27 Aug 2020 15:39:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x42f.google.com with SMTP id k15so1645789wrn.10 for ; Thu, 27 Aug 2020 06:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l0nbcD1HktX2myLjb+Y793zn7ciIUERLWvj6s1gGJhc=; b=jwuC1uLhnja8jSdReH7+pZPjU3KkB49OFrL7FaKIuQZHcnRaO2bdaOya2U70BwrDm1 NTrHhqGYIhZtTgH2IxrdK8mWYYMx/rzd6WnLUxue0ftE1Ql5arrSdPTIvRXIXE2mTRht 2KzbvSL060o4WEFnptrnFPgNo/jxb3Y2STzyiv58EeJVct4CWa6dqHWPypc1xFerMS6f XY1UBlY8gcVVsszhZ6zuk8cOHzcnpa4+oBdMy2/h9ZnuXGJymI7QIRMv6+7uYgoH3OoS DPykn2MU1F1rVThZwTGvy3YOB+w9psa0e+GuRegVyiLi72+YYYrgUb10zu3p0D1yXC6O UHUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=l0nbcD1HktX2myLjb+Y793zn7ciIUERLWvj6s1gGJhc=; b=geNnKW4PraduT/V4iFr7UcSnGrDDxQGj58t9jo77Wu+hUWwhDeHXkuFGpBIOkYfYeP qgu5zDORTbkcXabId2Ly9v7EXEuhymcfT61T/d6Ck4ILkew2FaXYX4fgbN3HkkGSmpqT qhz3bvBQIBzwlP08PjHjFoy/RnCf5E/BPBzPKYP9UJa2EeN278ZN4gN9MB0smVLC1aIH mrnAIExT0OojONs7t4ju6NsusO/JivyFSfZbU1R1lerC2YS6hB6rwW1b7XQxP4oEGWWr KPD+EkgEFCFO/BNeRGsZpVM8/o74uOTFCTlrJHAQuhQXxVGhXFPRmPO+Y0QKEz0WRJxJ 5ljg== X-Gm-Message-State: AOAM531NUwaH1nDd6iTBxBHyHOAqTLnnGF0RzJ4fsMAepTx9EJK4cKs5 B3Ta4HqbsNgZR2xjZInvxbjVIcksbZx/7g== X-Google-Smtp-Source: ABdhPJzvZ8XJakhZZNjHxY3WVcrSYnWYrL5UuuIgnXz11ojkzEutShBuvGNjdetRSGr0BjjbbWuZ5A== X-Received: by 2002:a5d:6505:: with SMTP id x5mr19875430wru.336.1598535573883; Thu, 27 Aug 2020 06:39:33 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id 124sm5409263wmd.31.2020.08.27.06.39.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Aug 2020 06:39:33 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Bharat Gooty , Rayagonda Kokatanur Subject: [PATCH] xilinx: kconfig: Move sourcing of board Kconfig to mach folders Date: Thu, 27 Aug 2020 15:39:31 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Do not source xilinx board Kconfig by other boards. These configs should be available only when Xilinx platforms are selected. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 4 ---- arch/arm/mach-versal/Kconfig | 3 +++ arch/arm/mach-zynq/Kconfig | 3 +++ arch/arm/mach-zynqmp/Kconfig | 3 +++ 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 80702c23d345..df4bbd252aca 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1997,10 +1997,6 @@ source "board/tcl/sl50/Kconfig" source "board/toradex/colibri_pxa270/Kconfig" source "board/variscite/dart_6ul/Kconfig" source "board/vscom/baltos/Kconfig" -source "board/xilinx/Kconfig" -source "board/xilinx/zynq/Kconfig" -source "board/xilinx/zynqmp/Kconfig" -source "board/xilinx/versal/Kconfig" source "board/phytium/durian/Kconfig" source "board/xen/xenguest_arm64/Kconfig" diff --git a/arch/arm/mach-versal/Kconfig b/arch/arm/mach-versal/Kconfig index e1d66e8d32b7..ebd2da3887ec 100644 --- a/arch/arm/mach-versal/Kconfig +++ b/arch/arm/mach-versal/Kconfig @@ -62,4 +62,7 @@ config VERSAL_NO_DDR This option configures MMU with no DDR to avoid speculative access to DDR memory where DDR is not present. +source "board/xilinx/Kconfig" +source "board/xilinx/versal/Kconfig" + endif diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig index 79f831e6df2c..e54310383b29 100644 --- a/arch/arm/mach-zynq/Kconfig +++ b/arch/arm/mach-zynq/Kconfig @@ -70,4 +70,7 @@ config BOOT_INIT_FILE config ZYNQ_SDHCI_MAX_FREQ default 52000000 +source "board/xilinx/Kconfig" +source "board/xilinx/zynq/Kconfig" + endif diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig index d82a737a699e..f1301f6661a1 100644 --- a/arch/arm/mach-zynqmp/Kconfig +++ b/arch/arm/mach-zynqmp/Kconfig @@ -171,4 +171,7 @@ config SD1_LSHFT_MODE endchoice +source "board/xilinx/Kconfig" +source "board/xilinx/zynqmp/Kconfig" + endif