From a97ecd3b34908405611c29e112be37dc2fded516 Mon Sep 17 00:00:00 2001 From: Yifeng Zhao Date: Fri, 26 Apr 2019 10:38:46 +0800 Subject: [PATCH] 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 --- drivers/soc/rockchip/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index 6464d216ee8b..7c29ae5afe97 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -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