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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A9A0C433F5 for ; Wed, 20 Oct 2021 01:17:10 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7034960EE9 for ; Wed, 20 Oct 2021 01:17:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7034960EE9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF17B81197; Wed, 20 Oct 2021 03:17:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id C81E68119C; Wed, 20 Oct 2021 03:17:03 +0200 (CEST) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 D03A480EFB for ; Wed, 20 Oct 2021 03:17:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f182.google.com with SMTP id r17so1658633qtx.10 for ; Tue, 19 Oct 2021 18:17:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=K097VOt02EEs5azXLDMEL0hDrlJa/49ZJUK3cRN1x9A=; b=chqKSgkLMhY8ImgulEpluJC/BFjuh9yocgns/AcnDt9RlRoKVkK9IUSFwGNzHlERm0 IJr9txV/u7hDyLis1Welhp9S5pw5BiNTQ5ULhh3WeoCzzUU016BZQqnGTPHb6Mu7BlU+ 67wPkdFijCiPvDtDyCGNbUVqIXNc00eYMwulglSAakvJnxy/1YKX8Y/TdsJs469VZoTv Ytp79DdF5bjAoVUo2BSkPuFxB2043y7V0wyUwDCWmsOjYXgHp6YUuWMtkYM9YY3WQfeP Avhae0M2CGeZRPGggsOOMDo4N53LoZNV6rJuUM4+QaRhh70wz0r5YXEyLKIPEUWzFk09 I7kQ== X-Gm-Message-State: AOAM532K2c1SHTH5V0vNExmO0knoyIXyx7QvkBQJkAMtAdU+xNBpvn+s 3VhUCC3V5t3TMCuKlAIwho9Ea/gLoA== X-Google-Smtp-Source: ABdhPJzrqgG6cWhrE5r3d+qQXmyZMGW4ya3k7ksWBAaR9alHN/w7zgQfm+w7ckLrmc8Gdj4Nb0oFMQ== X-Received: by 2002:ac8:5f8d:: with SMTP id j13mr3827729qta.108.1634692619171; Tue, 19 Oct 2021 18:16:59 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-815c-b889-de4c-aa50.res6.spectrum.com. [2603:6081:7b01:cbda:815c:b889:de4c:aa50]) by smtp.gmail.com with ESMTPSA id t199sm339807qke.121.2021.10.19.18.16.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 18:16:58 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig Date: Tue, 19 Oct 2021 21:16:55 -0400 Message-Id: <20211020011655.3305427-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Move this from a hard-coded define in config.mk to Kconfig. Signed-off-by: Tom Rini --- arch/sandbox/Kconfig | 3 +++ arch/sandbox/config.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index f83282d9d56a..7606469c94ec 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -1,6 +1,9 @@ menu "Sandbox architecture" depends on SANDBOX +config ARCH_MAP_SYSMEM + def_bool y + config SYS_ARCH default "sandbox" diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 1f8cb61c8bfb..2b1b657831c5 100644 --- a/arch/sandbox/config.mk +++ b/arch/sandbox/config.mk @@ -2,7 +2,6 @@ # Copyright (c) 2011 The Chromium OS Authors. PLATFORM_CPPFLAGS += -D__SANDBOX__ -U_FORTIFY_SOURCE -PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM PLATFORM_CPPFLAGS += -fPIC PLATFORM_LIBS += -lrt SDL_CONFIG ?= sdl2-config -- 2.25.1