From mboxrd@z Thu Jan 1 00:00:00 1970 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 9DE84C433EF for ; Wed, 30 Mar 2022 22:11:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CED22841C6; Thu, 31 Mar 2022 00:09:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id D589F84193; Thu, 31 Mar 2022 00:08:07 +0200 (CEST) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 A50D98419A for ; Thu, 31 Mar 2022 00:07:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f179.google.com with SMTP id v2so19633748qtc.5 for ; Wed, 30 Mar 2022 15:07:50 -0700 (PDT) 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=QLz29vVNIDW0Pts/pMcFraMbooZrMOG9z+VXQX8bPX8=; b=TI4Jdq6JCkbd39S5iQ/Ftfffkhmw4k828sByrk9oMGgBFD0mEv12l8nct2sQ5/zBF6 2w0FzOe1krfUFkIiT6ef+oz4r8H5IqeeDCuZFojJ3/CjQk2qizI2fY233N3IQ7LsqNyQ b8zalNlEdn4YNmaWgGwN2/Ju5sRplzOxvH5+Tn5rOJVJupNV1yLVhhu2U2Rah7wyMGb0 8ivpNNW7OtXdgxB32KYLc8BBAzXd2GiMXPi1lWgkJN7qFatqlDLhrrlBct+W2jIZFFMN jCBubaPdOfLajcOyOdIgm/cyjXaCFqg/CsBD5uaFTgPjhrCmi5osZJlDZlwfxabFwmVj vAIQ== X-Gm-Message-State: AOAM5321ILaL2fn0TuNRg03ldanMqw4z3IrRZKhpGkTeLv5oQuLav8f1 f/6fZDAAsT5+G37IL8iinrfsk/QG7Q== X-Google-Smtp-Source: ABdhPJxgukOG/SoOHNCA83ca/yaAopO3Qi+Wf29QQKHGzI4XifiHLrm+FAH+evEGkzwpELFsT2aG8Q== X-Received: by 2002:a05:622a:44d:b0:2e1:deef:7b2 with SMTP id o13-20020a05622a044d00b002e1deef07b2mr1646428qtx.548.1648678069391; Wed, 30 Mar 2022 15:07:49 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id h2-20020ac85842000000b002e1ec550506sm17749694qth.87.2022.03.30.15.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 15:07:49 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Michal Simek Subject: [PATCH 16/25] microblaze: Migrate DCACHE/ICACHE to Kconfig Date: Wed, 30 Mar 2022 18:07:26 -0400 Message-Id: <20220330220735.908616-16-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330220735.908616-1-trini@konsulko.com> References: <20220330220735.908616-1-trini@konsulko.com> 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 these two options to the arch Kconfig file. Cc: Michal Simek Signed-off-by: Tom Rini --- arch/microblaze/Kconfig | 8 ++++++++ include/configs/microblaze-generic.h | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index a25a95a0131c..d7d1b219704e 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -25,6 +25,14 @@ config TARGET_MICROBLAZE_GENERIC endchoice +config DCACHE + bool "Enable dcache support" + default y + +config ICACHE + bool "Enable icache support" + default y + source "board/xilinx/Kconfig" source "board/xilinx/microblaze-generic/Kconfig" diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 744e20e58e71..663837f33dc4 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -30,9 +30,6 @@ # define CONFIG_SYS_MAX_FLASH_SECT 2048 #endif -#define CONFIG_ICACHE -#define CONFIG_DCACHE - #ifndef XILINX_DCACHE_BYTE_SIZE #define XILINX_DCACHE_BYTE_SIZE 32768 #endif -- 2.25.1