summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-02-21 17:01:43 +0800
committerJi Luo <ji.luo@nxp.com>2019-02-21 19:38:15 +0800
commit557a2e5d0ea2235b1c3547f6feaa19f032e24a7c (patch)
treecf054514bcef97e1dcabcd89b882e64eb5e16496 /lib
parent7adbca6deaa6b41026655a6d5a12ebfccb3168a2 (diff)
MA-14120 Add config to guard append bootargs support
Grant user the permission to change the bootargs can be very dangerous, so add config 'CONFIG_APPEND_BOOTARGS' to guard the bootargs appending feature. Test: bootargs can't be appended if "CONFIG_APPEND_BOOTARGS" is not set. Change-Id: I6d6879415ca251c806b56490290e5032aef24277 Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index aff37a9a8d..064afeaafb 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -7,6 +7,9 @@ config AVB_ATX
bool "Enable AVB_ATX support"
depends on AVB_SUPPORT
+config APPEND_BOOTARGS
+ bool "Append bootargs support"
+
config BCH
bool "Enable Software based BCH ECC"
help