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 A1717C433FE for ; Sat, 19 Nov 2022 23:47:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 311A185246; Sun, 20 Nov 2022 00:46:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="VqdYDerB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2CD968513B; Sun, 20 Nov 2022 00:45:54 +0100 (CET) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 B674484EDC for ; Sun, 20 Nov 2022 00:45:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf31.google.com with SMTP id e15so5831275qvo.4 for ; Sat, 19 Nov 2022 15:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=48WutbT3Y/LXFN5gNie137dNgoYW0AjgQxNzNPavj0M=; b=VqdYDerBaikH92MkW3KcFBdOlLI821jdPbZ8YGAom4krceEVYX5okCWSfezX72w0xf prgsuOspnUymdydYOt1Nfh5fsG7rKebT8bE7gUloO5VHclhACJo8UfkrqRpdwr49d8Al WTB04s+RU4DkPU/2XWtUmkL1FM6pV9gLTG+D8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=48WutbT3Y/LXFN5gNie137dNgoYW0AjgQxNzNPavj0M=; b=BB0AFIrHtRR+DBpBFxL4TIjuwj5JerdV8wPZthS7N+kxQofGI1N4NPyrAX8gQF/CKO V364VNITZYfgy9LrLiVv/wPrILf8VfQerPmFscu/bjzBZjvndl1YYjBmEx7urwmD5vcA 5XXFSRg9EAwj0tD7/k6fa/qWD7Zz/TL2xQwz6DqGiW5FHxwsBkR6vBBqFS3sDhHldQbh 6IPtPtLo1EPJOPXhLsnf58M28YMuRkyuLO8+z/6jC+hiDWbWRBY0KL3xrDkp/lXUZv8g 2AjpkWjMdJhoDAEqS9ZJUJyMpuHohWCqRj330l/phw6xeHbuENUM5J9fhbBAphR6ec4H w8Bw== X-Gm-Message-State: ANoB5plcewYrEu6I/LODRAmT7LLpbRRjfov8SdCh7EyzbLAqXMHDGxAO Y8ncT2qWZF6+P7EthOrC7RfY09u8fUjPBQ== X-Google-Smtp-Source: AA0mqf7ANo4YMqfUXCpSCzYljNuawy8xz+IMnf9MAchLMdvdxoppBc/GtE34hQAsrN/FLNLgZDv/uQ== X-Received: by 2002:a0c:f650:0:b0:4c6:8aa8:fec4 with SMTP id s16-20020a0cf650000000b004c68aa8fec4mr11056210qvm.92.1668901549354; Sat, 19 Nov 2022 15:45:49 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-55ec-b699-c19f-3363.res6.spectrum.com. [2603:6081:7b00:6400:55ec:b699:c19f:3363]) by smtp.gmail.com with ESMTPSA id y11-20020a37f60b000000b006ce1bfbd603sm5169743qkj.124.2022.11.19.15.45.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 15:45:48 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 05/38] Convert CONFIG_FSL_LBC to Kconfig Date: Sat, 19 Nov 2022 18:45:12 -0500 Message-Id: <20221119234545.404563-5-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221119234545.404563-1-trini@konsulko.com> References: <20221119234545.404563-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.6 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_FSL_LBC Signed-off-by: Tom Rini --- arch/powerpc/Kconfig | 4 ++++ arch/powerpc/include/asm/config.h | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index cf93a7b1dad0..0fc4ceda000d 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -34,6 +34,10 @@ config MPC8xx endchoice +config FSL_LBC + def_bool y + depends on (MPC85xx || MPC83xx) && !FSL_IFC + config HIGH_BATS bool "Enable high BAT registers" help diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h index b0ad7d7aa728..983c6f70cfee 100644 --- a/arch/powerpc/include/asm/config.h +++ b/arch/powerpc/include/asm/config.h @@ -32,14 +32,6 @@ #define BPTR_VIRT_ADDR 0xfffff000 #endif -/* Since so many PPC SOCs have a semi-common LBC, define this here */ -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) || \ - defined(CONFIG_MPC83xx) -#if !defined(CONFIG_FSL_IFC) -#define CONFIG_FSL_LBC -#endif -#endif - /* The TSEC driver uses the PHYLIB infrastructure */ #if defined(CONFIG_TSEC_ENET) && defined(CONFIG_PHYLIB) #include -- 2.25.1