From 6b2c80e13ac23944239a2064f618a06139c004e5 Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Wed, 4 Jun 2025 18:05:58 -0400 Subject: [PATCH] nss-drv: Limit RMNET and memory profile (IPQ5018/6018) IPQ5018 and IPQ6018 are limited to 512MB so set default accordingly. RMNET is also only supported on IPQ807x and IPQ5018. Signed-off-by: Sean Khan --- qca-nss-drv/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qca-nss-drv/Config.in b/qca-nss-drv/Config.in index 4334fe6..6b9cf85 100644 --- a/qca-nss-drv/Config.in +++ b/qca-nss-drv/Config.in @@ -5,13 +5,15 @@ comment "Build Options" choice prompt "Memory Profile" - default NSS_MEM_PROFILE_HIGH + default NSS_MEM_PROFILE_HIGH if TARGET_qualcommax_ipq807x + default NSS_MEM_PROFILE_MEDIUM if (TARGET_qualcommax_ipq60xx || TARGET_qualcommax_ipq50xx) help This option allows you to select the memory profile. It should correspond to the total RAM of your board. config NSS_MEM_PROFILE_HIGH bool "Use 1G memory profile" + depends on TARGET_qualcommax_ipq807x help This allows configuring NSS boards with 1GB+ memory. @@ -177,7 +179,7 @@ config NSS_DRV_RMNET_ENABLE bool default n prompt "Enable RMNET" - depends on TARGET_qualcommax_ipq807x + depends on TARGET_qualcommax_ipq807x || TARGET_qualcommax_ipq50xx config NSS_DRV_SHAPER_ENABLE bool