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 721C7C4332F for ; Sun, 20 Nov 2022 13:46:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 685B085344; Sun, 20 Nov 2022 14:35:45 +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="fP97EFlF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7E8AA85304; Sun, 20 Nov 2022 14:35:09 +0100 (CET) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 8D356852C8 for ; Sun, 20 Nov 2022 14:34: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-qk1-x735.google.com with SMTP id i9so6486590qki.10 for ; Sun, 20 Nov 2022 05:34: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=rFpPhpGModLj4aKaqrdBf49vABTtsbmTJA79nsthdmc=; b=fP97EFlF5LEuI53JCH9oRs+ep9bCuB4Lzr5Cvg1DHdbZvaFZxuLAyHKpTlcvTQ3N7G u5zTlJBwILf/8/5i2D29O3mbX7/NT/liIf32enyv+8kBe8eluqPf+tGjNjWtmFZUhHrE 2A++X1triIu4TkUKV15kKPl5rxzJUh/1a0B20= 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=rFpPhpGModLj4aKaqrdBf49vABTtsbmTJA79nsthdmc=; b=Y4NrpYkBkdcoCI49LFD/AETyfC8T9t+uEwJTXnxGZ05vYq+AwSn9APVNxSX9QgUCTV gLPmvwQCrltC4rVTK8Sqj/kDkagHF2GVFmD44ccc92qIjghOBQCnR2KfLmhXjI5wGUsY UBrXMlTgCyi060UqDXrZ8dK9GF5yoa7yi7PWPBAYfdTY6O0e+S+rUaTr7/DyJed6IVBk uoxJUpuIIl+2Mwr7FYIPNXKm7NU4l1auXZDfdUmB/gp1FTAzighuhXPnKVsMGosa3GI/ b62n9xLOkUtKsVRz4H3NxhJEoQjGQAxKZ5sxSar7BiWgdSbEOVNKSj0gRJ8FZtyM324i tH0A== X-Gm-Message-State: ANoB5pm8GS/L4CPOaZsMdBGdE8i1gOMMlIXAKmP998cN/sQHpLRhzBt8 wKEZ6+COsPngl+GirMwTX71vJ6Na8F8w/w== X-Google-Smtp-Source: AA0mqf7WOb4XOEmxRDoJE9kudfeEO712e1nZvq2JBbO998GVlraClgsYn8xBRobru32dHn4CiYl7Dw== X-Received: by 2002:a37:4141:0:b0:6fa:1032:10a1 with SMTP id o62-20020a374141000000b006fa103210a1mr12776195qka.167.1668951290039; Sun, 20 Nov 2022 05:34:50 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id m21-20020a05620a24d500b006ce0733caebsm6487740qkn.14.2022.11.20.05.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:49 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 080/241] global: Migrate CONFIG_KSNET_MAC_ID_BASE to CFG Date: Sun, 20 Nov 2022 08:31:11 -0500 Message-Id: <20221120133352.3055600-81-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120133352.3055600-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221120133352.3055600-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 Signed-off-by: Tom Rini --- arch/arm/include/asm/ti-common/keystone_net.h | 2 +- include/configs/ti_armv7_keystone2.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h index 21cac6ea312a..f191c909f41f 100644 --- a/arch/arm/include/asm/ti-common/keystone_net.h +++ b/arch/arm/include/asm/ti-common/keystone_net.h @@ -49,7 +49,7 @@ #define KEYSTONE2_EMAC_GIG_ENABLE -#define MAC_ID_BASE_ADDR CONFIG_KSNET_MAC_ID_BASE +#define MAC_ID_BASE_ADDR CFG_KSNET_MAC_ID_BASE /* MDIO module input frequency */ #ifdef CONFIG_SOC_K2G diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 479ab46e4edd..e46d635ca032 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -47,7 +47,7 @@ #define CFG_SYS_SPI_CLK ks_clk_get_rate(KS2_CLK1_6) /* Keystone net */ -#define CONFIG_KSNET_MAC_ID_BASE KS2_MAC_ID_BASE_ADDR +#define CFG_KSNET_MAC_ID_BASE KS2_MAC_ID_BASE_ADDR #define CONFIG_KSNET_NETCP_BASE KS2_NETCP_BASE #define CONFIG_KSNET_SERDES_SGMII_BASE KS2_SGMII_SERDES_BASE #define CONFIG_KSNET_SERDES_SGMII2_BASE KS2_SGMII_SERDES2_BASE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index ddcc89f508e1..031e72702307 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -88,7 +88,7 @@ CFG_KM_UBI_PARTITION_NAME_BOOT CFG_KM_UBI_PART_BOOT_OPTS CFG_KM_UIMAGE_NAME CFG_KSNET_CPSW_NUM_PORTS -CONFIG_KSNET_MAC_ID_BASE +CFG_KSNET_MAC_ID_BASE CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE CONFIG_KSNET_NETCP_BASE CONFIG_KSNET_NETCP_V1_0 -- 2.25.1