From patchwork Mon Jan 30 15:15:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1734234 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=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=V6vScpGQ; 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 4P5C4k16Xqz23hS for ; Tue, 31 Jan 2023 02:38:14 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A90D85A05; Mon, 30 Jan 2023 16:27:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="V6vScpGQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA50C857FE; Mon, 30 Jan 2023 16:25:28 +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,DKIMWL_WL_HIGH, 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-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 74A3485679 for ; Mon, 30 Jan 2023 16:18:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x134.google.com with SMTP id u7so3698703ilg.4 for ; Mon, 30 Jan 2023 07:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hRqU9fPfp5ZW2wSwwFtpIV5xYRlgsk/WUtvW2Y2HhZY=; b=V6vScpGQkVfKpVQVeev3pdXqU7OE9OscNZ3/CoHE2FUlQmDGh0ZoFksBD+i+s1fxLF mac3D6Y4bNuHV4jhdLOmwWH1yWyTSL9qXhoYrPDtpR2yNgbplciaWAWEdqk7RvBnLeB8 AxfalpxAJ1aEKnq96iPkk6TwfASbz4SeaN40c= 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hRqU9fPfp5ZW2wSwwFtpIV5xYRlgsk/WUtvW2Y2HhZY=; b=20ihh+DvQox0uIKw6v3ZMa1swWEd6wz0w9mGeJAkAbJNFrGxXpwoIrZz2muJWbey+T 1goF0EUOTNfLIPuth36bETR5qkLuzYcBT00NuFrWx0uqf1lfkWNs6BBM+psF8JcGEB1Y Eb4MR3PkHrTZeXlKuLmr0N1oHBwA0RvcpL0wBLytNouqWDQxvguarCC9MKKiWBpJU/XS o2Xw/R3yLb+nF/UJeHyopfGc/lKa2RypzW2puhaMcLucUh3Y2oMrlzpxsO9E0v9keOlh G32BJEdEXYh/H3H3OPfQYvCt3Uk21tzPWhCVOtfMuXNz8dYPbvK4yNo2M4Txgi/afxue Y6YQ== X-Gm-Message-State: AO0yUKUEJdNarBQFOfcNjW+2aYmisTaitS0LdS+05er8+3GmmzHD9V5d YwfRQR8PZYwz6M9E6+8SGrHWtH6Ivg1qUta7 X-Google-Smtp-Source: AK7set8gT7soIw7hsHrdped4feH3TXB2gBrAQIIOb8+D5glbCuaQBFRiQLn3BZZyISx2hgP8uEruLQ== X-Received: by 2002:a92:c24f:0:b0:310:9eab:3d83 with SMTP id k15-20020a92c24f000000b003109eab3d83mr18157363ilo.11.1675091880923; Mon, 30 Jan 2023 07:18:00 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id o13-20020a92d38d000000b00302bb083c2bsm4103194ilo.21.2023.01.30.07.18.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 07:18:00 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Michal Simek Subject: [PATCH 150/171] Correct SPL use of SYS_MEM_RSVD_FOR_MMU Date: Mon, 30 Jan 2023 08:15:51 -0700 Message-Id: <20230130151612.212732-151-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130151612.212732-102-sjg@chromium.org> References: <20230130151612.212732-102-sjg@chromium.org> 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 This converts 1 usage of this option to the non-SPL form, since there is no SPL_SYS_MEM_RSVD_FOR_MMU defined in Kconfig Signed-off-by: Simon Glass --- board/xilinx/versal-net/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/versal-net/board.c b/board/xilinx/versal-net/board.c index 7ff2c620110..6724c7290f8 100644 --- a/board/xilinx/versal-net/board.c +++ b/board/xilinx/versal-net/board.c @@ -195,7 +195,7 @@ int dram_init(void) { int ret; - if (CONFIG_IS_ENABLED(SYS_MEM_RSVD_FOR_MMU)) + if (IS_ENABLED(CONFIG_SYS_MEM_RSVD_FOR_MMU)) ret = fdtdec_setup_mem_size_base(); else ret = fdtdec_setup_mem_size_base_lowest();