mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
soc: rockchip: add cpuinfo support
Set system_serial_low/high from eFuse ID. Serial can read from /proc/cpuinfo. Change-Id: If412fc5a89a5e5092b510452fc5a126fdd374ac2 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -7,6 +7,16 @@ source "drivers/soc/rockchip/Kconfig.cpu"
|
||||
# Rockchip Soc drivers
|
||||
#
|
||||
|
||||
config ROCKCHIP_CPUINFO
|
||||
tristate "Rockchip cpuinfo support"
|
||||
depends on (ROCKCHIP_EFUSE || ROCKCHIP_OTP) && (ARM64 || ARM)
|
||||
help
|
||||
Say y here to enable Rockchip cpuinfo support.
|
||||
Set system_serial_low/high from eFuse ID.
|
||||
Serial can read from /proc/cpuinfo.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config ROCKCHIP_GRF
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Rockchip Soc drivers
|
||||
#
|
||||
obj-$(CONFIG_ROCKCHIP_CPUINFO) += rockchip-cpuinfo.o
|
||||
obj-$(CONFIG_ROCKCHIP_GRF) += grf.o
|
||||
obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o
|
||||
obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o
|
||||
|
||||
Reference in New Issue
Block a user