lib/Kconfig.debug: raise CONFIG_FRAME_WARN for Rockchip UVC

When building with the USB_CONFIGFS_F_UVC_ROCKCHIP, set the
default CONFIG_FRAME_WARN to 5120, since Rockchip UVC need
4096 bytes for UVC request data buffer, grow beyond 2048 bytes
stack size.

Change-Id: I2df8892b8e0c930053be0154609ccc1558318b33
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu
2018-11-29 16:45:01 +08:00
committed by Tao Huang
parent 2eced06d5f
commit 3d41efffff

View File

@@ -204,6 +204,7 @@ config ENABLE_MUST_CHECK
config FRAME_WARN
int "Warn for stack frames larger than (needs gcc 4.4)"
range 0 8192
default 5120 if USB_CONFIGFS_F_UVC_ROCKCHIP
default 2048 if GCC_PLUGIN_LATENT_ENTROPY
default 1024 if !64BIT
default 2048 if 64BIT