]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 20 Oct 2021 01:16:55 +0000 (21:16 -0400)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
Move this from a hard-coded define in config.mk to Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/Kconfig
arch/sandbox/config.mk

index f83282d9d56ac15165a893f24e88466babacf348..7606469c94ece368c55971c2eb7a4f3f6824adc8 100644 (file)
@@ -1,6 +1,9 @@
 menu "Sandbox architecture"
        depends on SANDBOX
 
+config ARCH_MAP_SYSMEM
+       def_bool y
+
 config SYS_ARCH
        default "sandbox"
 
index 1f8cb61c8bfb94fb0a438d42c47074c7ba112aa4..2b1b657831c58110513cdd712a916cf00c611f06 100644 (file)
@@ -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