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 <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2025-06-04 18:05:58 -04:00
parent 0ba24f4c33
commit 6b2c80e13a

View File

@ -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