From patchwork Sun Nov 20 14:07:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1706823 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=85.214.62.61; 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=Hh/NeAu7; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4NFXSc1pjXz23lt for ; Mon, 21 Nov 2022 01:09:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 373A8852C6; Sun, 20 Nov 2022 15:08:42 +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="Hh/NeAu7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 34955852BC; Sun, 20 Nov 2022 15:08:37 +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-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 565CD85282 for ; Sun, 20 Nov 2022 15:08:34 +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-x730.google.com with SMTP id v8so6515059qkg.12 for ; Sun, 20 Nov 2022 06:08:34 -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=kHfHvIH+v2huoNBaaVW28vGHbX42iQEvPoTqkEkG5Vc=; b=Hh/NeAu7+qn1ZuTMVp9ptT/jLiBfaeE0LxAsbu2QXdi7S+P4inFgjG7ok2/0fkZ2NZ nqi4vm+UN//3MWb/pvxLzyKudZmxAnPKomr1wYGdWwhPRRuIVEDMmeWEI7MQnYx36wLn 4xW1md2mXJpejvIs3axz3q1H22+FdWo3HaSDo= 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=kHfHvIH+v2huoNBaaVW28vGHbX42iQEvPoTqkEkG5Vc=; b=zcKy/Sx/gytbhv95Wr82lMclDsH+1TmnBVAE1ab6tKAAdHmUkw1QIvE/tobqJc7JKv AgzOVy8/mXRLCbphgBEqMk9Za2J1cziQDEBfPwfBVdHRdmtkXEnaZBahF40x7Bputu/9 e0qvEANw8y8jZiTP0xAa8cea6VjOdwHyoK3X+2oD0KedKzoVDLq3v9TnHz8iCgBc70XE 27p10Ctx9zAhCG9tZaUq/mXn5LZJcnaDblcBxnqrV7t0QpzWZC+/zmiaeVa5eEpG+xyz LLZi7ZyZj5nnZm7V9DBvr+TNCJ0+aOQsKyDqMgnIcYT4uoQx6ekwMfGdx8wr5jAkgDlm 4pfw== X-Gm-Message-State: ANoB5pmc0msKZ9fColQVssdUK6mbsjSKEsSm0+b5c2CPRxpN4s0cwMho JDrRe9TeHiap/fcqb7Yw+72nQOmJeoczmg== X-Google-Smtp-Source: AA0mqf5/p0snitu7LeYH868axER3pTbslTUFvBOX84/snKk2ebzlukGpG7ZDvJ8J4DCOvi0EUpZ6VQ== X-Received: by 2002:a05:620a:2705:b0:6f9:26a0:5333 with SMTP id b5-20020a05620a270500b006f926a05333mr12961941qkp.2.1668953313011; Sun, 20 Nov 2022 06:08:33 -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.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:32 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 114/241] global: Migrate CONFIG_MEMSIZE_IN_BYTES to CFG Date: Sun, 20 Nov 2022 09:07:04 -0500 Message-Id: <20221120140829.3057894-5-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 --- README | 4 ++-- include/configs/malta.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README b/README index d09ebd47cd83..8ab897f09641 100644 --- a/README +++ b/README @@ -373,11 +373,11 @@ The following options need to be configured: such as ARM architectural timer initialization. - Linux Kernel Interface: - CONFIG_MEMSIZE_IN_BYTES [relevant for MIPS only] + CFG_MEMSIZE_IN_BYTES [relevant for MIPS only] When transferring memsize parameter to Linux, some versions expect it to be in bytes, others in MB. - Define CONFIG_MEMSIZE_IN_BYTES to make it in bytes. + Define CFG_MEMSIZE_IN_BYTES to make it in bytes. CONFIG_OF_LIBFDT diff --git a/include/configs/malta.h b/include/configs/malta.h index cd4f382b18f9..5301afef4d58 100644 --- a/include/configs/malta.h +++ b/include/configs/malta.h @@ -11,7 +11,7 @@ */ #define CFG_MALTA -#define CONFIG_MEMSIZE_IN_BYTES +#define CFG_MEMSIZE_IN_BYTES /* * CPU Configuration diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 88e4db9a9f5c..6461fc20d698 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -122,7 +122,7 @@ CFG_MALTA CFG_MAX_DSP_CPUS CFG_MAX_MEM_MAPPED CFG_MAX_RAM_BANK_SIZE -CONFIG_MEMSIZE_IN_BYTES +CFG_MEMSIZE_IN_BYTES CONFIG_MEM_INIT_VALUE CONFIG_MFG_ENV_SETTINGS CONFIG_MII_DEFAULT_TSEC