soc: rockchip: disable loader update vi vendor storage

The note /dev/vendor_storage include api to update loader,
this node must config root user access only, but some
project set this node`s owner as bluetooth ,it is a high
risk that the loader data will be corrupted.

Disable this api by default.

Change-Id: I6beb1b3cf51bffebd0ae05368d8c266439a61f91
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao
2019-04-26 10:38:46 +08:00
committed by Tao Huang
parent 537dce547b
commit a97ecd3b34

View File

@@ -59,6 +59,13 @@ config ROCKCHIP_MTD_VENDOR_STORAGE
help
Say y here to enable rockchip mtd vendor storage support.
config ROCKCHIP_VENDOR_STORAGE_UPDATE_LOADER
bool "Rockchip vendor storage update loader support"
default n
help
Say y here to enable rockchip vendor storage update loader support.
The /dev/vendor_storage must set root user access only.
config ROCKCHIP_FIQ_DEBUGGER
tristate "Rockchip FIQ Debugger"
depends on FIQ_DEBUGGER