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 1457CC433F5 for ; Thu, 10 Mar 2022 01:44:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CE354839D3; Thu, 10 Mar 2022 02:44:34 +0100 (CET) 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 2EEDC839B0; Thu, 10 Mar 2022 02:44:24 +0100 (CET) Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (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 89B1A839C2 for ; Thu, 10 Mar 2022 02:44:13 +0100 (CET) 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-qv1-f45.google.com with SMTP id hu12so3463421qvb.6 for ; Wed, 09 Mar 2022 17:44:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nA5qfWjdBsiH7No787ZGsGC9z0cbrQX4LvXqfz7unCI=; b=SemB0EU/HrYf7TuLbKvAMkrtk9ZsPhYFTUlAsqri0mCRoqhVvy7bsFD/xpU71bpZnM SkLJEDKRRsqN2kRrB/9LuDH1puxvfYtFomLm9oOoc+MQxHTBrkrYGzUP/BrOUufjSt5o Nj29Fl2uHQN9yQtfo/HvnAbW8Saje8BOOO8UtCKgKQr/9E2qYHjvEHaBwnPrpcQs1FWd zoE+uSVUoir2sqGk5QGUcpvCFSexP9bMROoPmU+e/XhSGO++4MEPeL5jZTeNnKuk/0XH 5ifZ8rm62Ri5kLEWHqdqhkW6QXOAcaeNh+62KeX3xR+dGen2z3q9bqQs9Bo/tSKkFUE1 30dA== X-Gm-Message-State: AOAM531Y36etCz/tpwdhu90a8H0r9ic5vRzaYmE7F77QxQKwQwf6yzJU AeorISZOT/FZAJ6iIDQFK7vynrIAtw== X-Google-Smtp-Source: ABdhPJyAwZyqoxLEqZm7VHp6IXUq7clAEIn6G6sv0GnvAHXCp0+0VjMS3lf75nkOxwYOurusmbvDcw== X-Received: by 2002:a05:6214:29e9:b0:435:3428:d0f3 with SMTP id jv9-20020a05621429e900b004353428d0f3mr2066601qvb.28.1646876652159; Wed, 09 Mar 2022 17:44:12 -0800 (PST) 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 t7-20020a05622a180700b002e0ccf0aa49sm2486328qtc.62.2022.03.09.17.44.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 17:44:11 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 05/15] Convert CONFIG_A008044_WORKAROUND to Kconfig Date: Wed, 9 Mar 2022 20:43:54 -0500 Message-Id: <20220310014404.1251636-5-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310014404.1251636-1-trini@konsulko.com> References: <20220310014404.1251636-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 This converts the following to Kconfig: CONFIG_A008044_WORKAROUND Signed-off-by: Tom Rini --- README | 4 ---- arch/powerpc/cpu/mpc85xx/Kconfig | 7 +++++++ include/configs/T104xRDB.h | 6 ------ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README b/README index 95da83b76414..a8e099485f3d 100644 --- a/README +++ b/README @@ -374,10 +374,6 @@ The following options need to be configured: See Freescale App Note 4493 for more information about this erratum. - CONFIG_A008044_WORKAROUND - Enables a workaround for T1040/T1042 erratum A008044. It is only - required during NAND boot and valid for Rev 1.0 SoC revision - CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY This is the value to write into CCSR offset 0x18600 diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig index 0e0b9235ad0e..b06416a90e83 100644 --- a/arch/powerpc/cpu/mpc85xx/Kconfig +++ b/arch/powerpc/cpu/mpc85xx/Kconfig @@ -885,6 +885,12 @@ config A003399_NOR_WORKAROUND Enables a workaround for IFC erratum A003399. It is only required during NOR boot. +config A008044_WORKAROUND + bool + help + Enables a workaround for T1040/T1042 erratum A008044. It is only + required during NAND boot and valid for Rev 1.0 SoC revision + config SYS_FSL_ERRATUM_A004468 bool @@ -967,6 +973,7 @@ config SYS_FSL_ERRATUM_A007907 config SYS_FSL_ERRATUM_A008044 bool + select A008044_WORKAROUND if MTD_RAW_NAND config SYS_FSL_ERRATUM_CPC_A002 bool diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index 8a71807679ee..d66ad8c481cb 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -310,12 +310,6 @@ #define CONFIG_SYS_RAMBOOT #endif -#ifdef CONFIG_SYS_FSL_ERRATUM_A008044 -#if defined(CONFIG_MTD_RAW_NAND) -#define CONFIG_A008044_WORKAROUND -#endif -#endif - #define CONFIG_HWCONFIG /* define to use L1 as initial stack */ -- 2.25.1