From patchwork Sun Nov 20 14:07:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1706831 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=OZUvrLoZ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFXVP0Ks6z23n6 for ; Mon, 21 Nov 2022 01:10:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B4DB5852C5; Sun, 20 Nov 2022 15:08:57 +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="OZUvrLoZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5190F852BA; Sun, 20 Nov 2022 15:08:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 614618528F for ; Sun, 20 Nov 2022 15:08:37 +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-x733.google.com with SMTP id d7so6528483qkk.3 for ; Sun, 20 Nov 2022 06:08:37 -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=GvHUghWujQkPV6Bh1mOrkCnj1EXGft4wKYSIBV2pkdk=; b=OZUvrLoZZwHzf9Cjs4OTlJkyggz+bRL0mbbcHyI3b/H2UbF70CZTl6UDUP7xel7mFj RpToWtcPpp1GhJkKmjKF5mI9Z/0ECYkJ+EM8cd7SmQrHoyevu58xAUEQ8kSYYwOOp3Fl 686e9nzOamc9NYd/tzZKn/QbKDss76PDV1LYY= 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=GvHUghWujQkPV6Bh1mOrkCnj1EXGft4wKYSIBV2pkdk=; b=cyxCQvhgmHYI9QRlWraQ1cZDGEhg0fA1hX3UOOWIwI142by1+miRwxUUjs6CvYzaHI eTOBjHs79EWUxeuPYMIoU+V9yNTcZZWwXDxviukaheAlZ8OXD42ozX27L5Md4YT14cBf 4mxrjiv74BsNKQ2GTDXveVI/pa633FRsHNERLPVBzxH7TjR48st7DCCPMTeKJWtZU+LM uxXK2c4cv3pPDf+FRw3Nr+XPlVYZ+Z3U7ZACyiFFtPMipvqGsTWr5gCmmb2zOg2x6LnI R+8kGy1IBJkY00qrqy7ObALTtkBUQKdwcGosYRrkPMp7OV+kZJx64k0KHsbp/P+xdaYp G8NA== X-Gm-Message-State: ANoB5pmcnSdIIzeFacu3lyCqzlYeZeOn9XNQLNwAYALjqlzzhR2mXRKg pZvbMSxaZr3Wc6BkaeZ5D4rj/Ww+sdkYag== X-Google-Smtp-Source: AA0mqf7kFr2KsxK8xP3aala5q2YQk8zSi++HyMzKEE3Q4FUFlsv8k94rnbJZZWknIa2iicM/GkNjhw== X-Received: by 2002:a37:ba82:0:b0:6ee:c002:1f64 with SMTP id k124-20020a37ba82000000b006eec0021f64mr12814318qkf.165.1668953316026; Sun, 20 Nov 2022 06:08:36 -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 bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:35 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 119/241] global: Migrate CONFIG_MIU_2BIT_INTERLEAVED to CFG Date: Sun, 20 Nov 2022 09:07:09 -0500 Message-Id: <20221120140829.3057894-10-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-1-trini@konsulko.com> MIME-Version: 1.0 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/mach-exynos/exynos4_setup.h | 2 +- include/configs/smdkv310.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/exynos4_setup.h b/arch/arm/mach-exynos/exynos4_setup.h index fbb45eb897e3..b696206cc855 100644 --- a/arch/arm/mach-exynos/exynos4_setup.h +++ b/arch/arm/mach-exynos/exynos4_setup.h @@ -434,7 +434,7 @@ struct mem_timings { /* Interleave_bit0: 0xC*/ #define APB_SFR_INTERLEAVE_CONF_VAL 0x0000000c #endif -#ifdef CONFIG_MIU_2BIT_INTERLEAVED +#ifdef CFG_MIU_2BIT_INTERLEAVED /* Interleave: 2Bit, Interleave_bit1: 0x15, Interleave_bit0: 0xc */ #define APB_SFR_INTERLEAVE_CONF_VAL 0x2000150c #endif diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index 1f137dba90f7..00dd929d90e6 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -35,7 +35,7 @@ /* FLASH and environment organization */ /* MIU (Memory Interleaving Unit) */ -#define CONFIG_MIU_2BIT_INTERLEAVED +#define CFG_MIU_2BIT_INTERLEAVED #define RESERVE_BLOCK_SIZE (512) #define BL1_SIZE (16 << 10) /*16 K reserved for BL1*/ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 8d6af14c3667..b2686806c5c4 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -127,7 +127,7 @@ CFG_MEM_INIT_VALUE CFG_MFG_ENV_SETTINGS CFG_MII_DEFAULT_TSEC CFG_MIU_2BIT_21_7_INTERLEAVED -CONFIG_MIU_2BIT_INTERLEAVED +CFG_MIU_2BIT_INTERLEAVED CONFIG_MMC_DEFAULT_DEV CONFIG_MMC_SUNXI_SLOT CONFIG_MONITOR_IS_IN_RAM