All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
@ 2021-10-20  1:16 Tom Rini
  2021-10-29  1:16 ` Simon Glass
  2021-10-31 12:57 ` Simon Glass
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Rini @ 2021-10-20  1:16 UTC (permalink / raw)
  To: u-boot

Move this from a hard-coded define in config.mk to Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
  2021-10-20  1:16 [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig Tom Rini
@ 2021-10-29  1:16 ` Simon Glass
  2021-10-31 12:57 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-10-29  1:16 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot

On Tue, 19 Oct 2021 at 19:17, Tom Rini <trini@konsulko.com> wrote:
>
> Move this from a hard-coded define in config.mk to Kconfig.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  arch/sandbox/Kconfig   | 3 +++
>  arch/sandbox/config.mk | 1 -
>  2 files changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
  2021-10-20  1:16 [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig Tom Rini
  2021-10-29  1:16 ` Simon Glass
@ 2021-10-31 12:57 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-10-31 12:57 UTC (permalink / raw)
  To: Simon Glass; +Cc: u-boot, Tom Rini

On Tue, 19 Oct 2021 at 19:17, Tom Rini <trini@konsulko.com> wrote:
>
> Move this from a hard-coded define in config.mk to Kconfig.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  arch/sandbox/Kconfig   | 3 +++
>  arch/sandbox/config.mk | 1 -
>  2 files changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-31 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20  1:16 [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig Tom Rini
2021-10-29  1:16 ` Simon Glass
2021-10-31 12:57 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.