summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-08-28 16:58:07 +0200
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-08-28 17:00:01 +0200
commit680512586f5fccee2d7fc62c2de034afc8e76610 (patch)
tree3a6df06aaca0ad14c4b3f45273f15a99d00e1003
parentd8d7e60f94f2919e79cbd69c5c91f6a2acb5de2b (diff)
TSD: arm64: configs: puma: enable MEMORY_HOTPLUG
We don't use memory hotplug, but having it enabled means we have /sys/devices/system/memory and that means lsmem now works. lsmem is the only way I know of to find out the physical memory size. Even /proc/iomem misses 18 MiB for some reason (it reports 4078 MiB instead of 4096 MiB). The Image gets about 64kiB larger, which seems worth having lsmem. Relates-to: JAG-90 Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> [imported from Tiger/Jaguar repo] Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r--arch/arm64/configs/puma-rk3399_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/configs/puma-rk3399_defconfig b/arch/arm64/configs/puma-rk3399_defconfig
index 1077d6eadad9..6f7b27859a1f 100644
--- a/arch/arm64/configs/puma-rk3399_defconfig
+++ b/arch/arm64/configs/puma-rk3399_defconfig
@@ -79,6 +79,7 @@ CONFIG_PARTITION_ADVANCED=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_COMPAT_BRK is not set
+CONFIG_MEMORY_HOTPLUG=y
CONFIG_PAGE_REPORTING=y
CONFIG_KSM=y
CONFIG_MEMORY_FAILURE=y