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 B57AFC4332F for ; Sun, 20 Nov 2022 13:48:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1241385398; Sun, 20 Nov 2022 14:36:14 +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="unPduy3N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9250C8533D; Sun, 20 Nov 2022 14:35:25 +0100 (CET) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 638EB852E0 for ; Sun, 20 Nov 2022 14:34:55 +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-qt1-x835.google.com with SMTP id s4so5904724qtx.6 for ; Sun, 20 Nov 2022 05:34:55 -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=gu2kLJUdUpV4PQAMdx8pwJj0JaUBrTXfa4EavvLJQlQ=; b=unPduy3NHXxju0FnR+kARWQC+ilDu2+xCYpARRfLchqEgI5NRwNTTYe55XPKkFSzWX LuOjmxiTRqSHetNO7J0rwWFzMwobLeB8ks+YU0epkK90S6RPylnTq8uFSC/DEFkNBPI7 j+s2T0gGGMnCVkOr3X/exziaAubabrepn6lAw= 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=gu2kLJUdUpV4PQAMdx8pwJj0JaUBrTXfa4EavvLJQlQ=; b=Wr7JVMLNbFah/fWX3QTLA9irt+2AxgYuNT5r3EJJxwTCKKGNDIzgQbCoumTkw0RrAx NGN3EDSk7M4CT521ACD/hk0dTVEB0nxyogO56SWbo7+hNhSePMM19EZfokcOKoekQwVU UU7TE5CzIreX7Bo0TzpPPoMCBSFSECz3BivrVS2At/MhPQKWsAkVzEzGl1FMrgtH40VC 8oUeuGIwmRk4qe+oFfzzTrwtYS9TSBTaqs/BUXpwEraIrqBx33o7AebDLH/64FhYn3Gy RsFafQBEnMF8I80StC+EoN26msibdHsAzd3qN/pHZvIfPHcpfNlcZWRY6zo6oYdBq4oo K2vQ== X-Gm-Message-State: ANoB5pnCkIAqDfAF9AaHYqwx6A+CZ4pLVJXH7M3d8LKOVUASWhcNNDPk KtSyUpTB3lKseeosaG8A9s3734ENQ0iavw== X-Google-Smtp-Source: AA0mqf7CLgbXhZ+pt1W0dKILW3ZGH9vQ1OiCzUi9tcqwGykhDpDAXnwOIuQPpq3UrLscAY0Wplhq6g== X-Received: by 2002:ac8:74c1:0:b0:3a5:5a43:b2da with SMTP id j1-20020ac874c1000000b003a55a43b2damr13825801qtr.592.1668951294829; Sun, 20 Nov 2022 05:34:54 -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.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:54 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 087/241] global: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG Date: Sun, 20 Nov 2022 08:31:18 -0500 Message-Id: <20221120133352.3055600-88-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 --- drivers/net/ti/keystone_net.c | 2 +- include/configs/ti_armv7_keystone2.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index 306b862e20ff..f85c057e1399 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -370,7 +370,7 @@ struct ks2_serdes ks2_serdes_sgmii_156p25mhz = { #ifndef CONFIG_SOC_K2G static void keystone2_net_serdes_setup(void) { - ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII_BASE, + ks2_serdes_init(CFG_KSNET_SERDES_SGMII_BASE, &ks2_serdes_sgmii_156p25mhz, CFG_KSNET_SERDES_LANES_PER_SGMII); diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 1429faa534e3..7142d30a5994 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -49,7 +49,7 @@ /* Keystone net */ #define CFG_KSNET_MAC_ID_BASE KS2_MAC_ID_BASE_ADDR #define CFG_KSNET_NETCP_BASE KS2_NETCP_BASE -#define CONFIG_KSNET_SERDES_SGMII_BASE KS2_SGMII_SERDES_BASE +#define CFG_KSNET_SERDES_SGMII_BASE KS2_SGMII_SERDES_BASE #define CFG_KSNET_SERDES_SGMII2_BASE KS2_SGMII_SERDES2_BASE #define CFG_KSNET_SERDES_LANES_PER_SGMII KS2_LANES_PER_SGMII_SERDES diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 7470e7e1d91f..bd22cbb231b8 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -95,7 +95,7 @@ CFG_KSNET_NETCP_V1_0 CFG_KSNET_NETCP_V1_5 CFG_KSNET_SERDES_LANES_PER_SGMII CFG_KSNET_SERDES_SGMII2_BASE -CONFIG_KSNET_SERDES_SGMII_BASE +CFG_KSNET_SERDES_SGMII_BASE CONFIG_L1_INIT_RAM CONFIG_L2_CACHE CONFIG_LEGACY_BOOTCMD_ENV -- 2.25.1