configure cfi permissve for user build

As CFI will panic at moto_usbnet module in user build,
so configure CFI permissive for moto_usbnet in factory mode.

<4>[   36.691491] Workqueue: ipv6_addrconf addrconf_dad_work
<4>[   36.696653] pstate: 80c00005 (Nzcv daif +PAN +UAO)
<4>[   36.701478] pc : __cfi_check_fail+0x14/0x18 [moto_f_usbnet]
<4>[   36.707080] lr : __cfi_check+0x340/0x390 [moto_f_usbnet]

Change-Id: I66990320048ee2150afb03f0b97a61806a908224
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1808698
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuyc20 2020-11-23 14:44:04 +08:00 • committed by Xiaojun Ji
commit 4630d35724

View file

@ -30,3 +30,4 @@ CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_CFI_PERMISSIVE=y