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 0A94AC433F5 for ; Fri, 25 Feb 2022 16:20:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6816D83CDD; Fri, 25 Feb 2022 17:20:15 +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 B448783C55; Fri, 25 Feb 2022 17:20:05 +0100 (CET) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.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 0BE6B837F5 for ; Fri, 25 Feb 2022 17:19:59 +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-qk1-f179.google.com with SMTP id 185so4898391qkh.1 for ; Fri, 25 Feb 2022 08:19:58 -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=w9UAJjq+ngbktNOnKwYBF68O7xOnizql4n6cD+mdiCk=; b=e2dApcQgAgeItpOdgG+6EXnbmQ7j7t0wsK/8J5rQZ0/h0GC7OqjtgCPUHOiTt3cDaM HG5w1zPZpoBy60I7Vga4MifAPHUvCo02pNJZTLj/qW+0cMGjrr7OWroOAHbmZGQoQQV1 NbsIbIbSe6ckEuiQXkVoDwZSzg8XkuZkuAeImTzSOyUxO0jez8Ma3Ai09ZNCRy69ovEH mOw6gRegeAHmAcAcaF+fBtSqC7dAULKREdZvh0tENqvim3jGjLvU1b5vvFkV0PspbZem pnrLCBEkk/YV9NvU+pc7CGBxEfuHWSqYqmK/aDWrlQh7/XFJmOHKd31z+BNhN5vTPspJ FawA== X-Gm-Message-State: AOAM530NHnKiu223uE6xxGhbvDpafEWhpJeEwd9n20NfkoQOMDlbYZOa hhHMtXjgqFzYcewi0RhcahsFXZwYXg== X-Google-Smtp-Source: ABdhPJza4FepvdDBUpzPwEByFMi5OZSUBqhJdkHmbM0ddyEXnJUsPUVIJmdGi21nyWeLugogaz8ZeQ== X-Received: by 2002:a37:8906:0:b0:649:599e:6e22 with SMTP id l6-20020a378906000000b00649599e6e22mr5148837qkd.749.1645805997673; Fri, 25 Feb 2022 08:19:57 -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 e2-20020ac86702000000b002dea8ea757esm1609014qtp.96.2022.02.25.08.19.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 08:19:57 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 2/9] Convert CONFIG_BOARD_ECC_SUPPORT to Kconfig Date: Fri, 25 Feb 2022 11:19:46 -0500 Message-Id: <20220225161953.1342594-2-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220225161953.1342594-1-trini@konsulko.com> References: <20220225161953.1342594-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_BOARD_ECC_SUPPORT Signed-off-by: Tom Rini --- arch/arm/mach-mvebu/Kconfig | 5 +++++ include/configs/db-mv784mp-gp.h | 1 - include/configs/maxbcm.h | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 7d487f270b51..e17a55a44261 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -152,6 +152,7 @@ config TARGET_OCTEONTX2_CN913x config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp" + select BOARD_ECC_SUPPORT select MV78460 config TARGET_DS414 @@ -160,6 +161,7 @@ config TARGET_DS414 config TARGET_MAXBCM bool "Support maxbcm" + select BOARD_ECC_SUPPORT select MV78460 config TARGET_THEADORABLE @@ -226,6 +228,9 @@ config DDR_RESET_ON_TRAINING_FAILURE device will still hang - it doesn't make sense to reset the board in such a case. +config BOARD_ECC_SUPPORT + bool + config SYS_BOARD default "clearfog" if TARGET_CLEARFOG default "helios4" if TARGET_HELIOS4 diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h index 7baae3b090d8..41d469d79526 100644 --- a/include/configs/db-mv784mp-gp.h +++ b/include/configs/db-mv784mp-gp.h @@ -72,6 +72,5 @@ /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */ #define CONFIG_SPD_EEPROM 0x4e -#define CONFIG_BOARD_ECC_SUPPORT /* this board supports ECC */ #endif /* _CONFIG_DB_MV7846MP_GP_H */ diff --git a/include/configs/maxbcm.h b/include/configs/maxbcm.h index 073c5a57b2c9..e4df9d8dfff3 100644 --- a/include/configs/maxbcm.h +++ b/include/configs/maxbcm.h @@ -64,6 +64,5 @@ /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */ #define CONFIG_SYS_SDRAM_SIZE SZ_1G -#define CONFIG_BOARD_ECC_SUPPORT /* this board supports ECC */ #endif /* _CONFIG_DB_MV7846MP_GP_H */ -- 2.25.1