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 203E5C4332F for ; Sun, 20 Nov 2022 13:35:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3F35F85235; Sun, 20 Nov 2022 14:34:13 +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="rESqBMv5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B42C851DB; Sun, 20 Nov 2022 14:34:04 +0100 (CET) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 BBF0584F7C for ; Sun, 20 Nov 2022 14:34:01 +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-x72e.google.com with SMTP id x18so6504820qki.4 for ; Sun, 20 Nov 2022 05:34:01 -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=ikN0Br2KKthlo8LFnlp+d7tJzzu1SNQ/ONkE0/rdqAk=; b=rESqBMv5KBZkcCrhv9V++uOs/VQzw7jeiWRClsvqGCHcfahos1lv589mi+/R6zc587 Wl2ycXYDgAG9ekpuVY3AF4BUcyOYIpkG7Zc+auXKtMhAJKZ7UaOKeVhfVQSwzEE/xZ60 hxUEkPNys5i6df6OUzgl7Kp3AkUUemz+JobgI= 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=ikN0Br2KKthlo8LFnlp+d7tJzzu1SNQ/ONkE0/rdqAk=; b=nJbFl0apNI2Ql7G+8u+kCrabuTZdkuXzWNJHagfAOrN+yus+XOqfaq+VGHqKzPskFh pUiK3Ot2jmgM/drf5q7sCes3pFHO3DEWh5jjuedXp1ftMaB9z28JjJO4A2fXLm7yO4Cv 2CE3BV43rpNaBFio2zUkfItHxGa7BR8ZUeBAH6SvcuQGhgvbazoSRpzZBBSPZjwYOIuM pX0KWCyXZ+Rd3Eou2BVpxdOIHQlT4Yy7Ngo9Af4nc+HYySZHT4DV3Is8pS9uqAKv6jp5 Qj+aI44UGzjKn2NkskxqUe636k23EAgy/cStPy2puuff0eXJppsuVxC0JenRG4MGAArG er3Q== X-Gm-Message-State: ANoB5pk0MUUpRDjhThjvJpp+J9nriHo1zsiZVe+pHk8f9XKZ3hn/2a8o U7QqqJIRAjN0Ti8WTMR/IMF2R0PPBr7KEA== X-Google-Smtp-Source: AA0mqf70AzzJ/n1xpCU/0KBShIO6WZe6sw/kGmcs3rSEvLfv2Qst8RFVZ9MxH//bUwrb7VW8RoBveg== X-Received: by 2002:a37:6557:0:b0:6fa:16f2:7f58 with SMTP id z84-20020a376557000000b006fa16f27f58mr12445380qkb.204.1668951240320; Sun, 20 Nov 2022 05:34:00 -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.33.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 006/241] global: Migrate CONFIG_DM9000_BYTE_SWAPPED to CFG Date: Sun, 20 Nov 2022 08:29:57 -0500 Message-Id: <20221120133352.3055600-7-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/dm9000x.c | 2 +- include/configs/M5253DEMO.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index 07733df533e2..6bf316263d59 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -83,7 +83,7 @@ struct dm9000_priv { }; /* DM9000 network board routine ---------------------------- */ -#ifndef CONFIG_DM9000_BYTE_SWAPPED +#ifndef CFG_DM9000_BYTE_SWAPPED #define dm9000_outb(d, r) writeb((d), (r)) #define dm9000_outw(d, r) writew((d), (r)) #define dm9000_outl(d, r) writel((d), (r)) diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index 223a843fc695..4be4d0f84512 100644 --- a/include/configs/M5253DEMO.h +++ b/include/configs/M5253DEMO.h @@ -24,7 +24,7 @@ # define DM9000_IO CFG_DM9000_BASE # define DM9000_DATA (CFG_DM9000_BASE + 4) # undef CONFIG_DM9000_DEBUG -# define CONFIG_DM9000_BYTE_SWAPPED +# define CFG_DM9000_BYTE_SWAPPED # define CONFIG_OVERWRITE_ETHADDR_ONCE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 7c6fc0a07bf7..005b893b317c 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -6,7 +6,7 @@ CFG_DFU_ALT_BOOT_SD CFG_DFU_ALT_SYSTEM CFG_DFU_ENV_SETTINGS CFG_DM9000_BASE -CONFIG_DM9000_BYTE_SWAPPED +CFG_DM9000_BYTE_SWAPPED CONFIG_DM9000_NO_SROM CONFIG_DM9000_USE_16BIT CONFIG_DW_WDT_CLOCK_KHZ -- 2.25.1