sunxi: move sunxi-sid (security ID) off to module

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39196
This commit is contained in:
Zoltan Herpai 2014-01-04 13:46:43 +00:00
parent 1ffc2deed4
commit 9808a0830b
3 changed files with 18 additions and 2 deletions

View File

@ -17,7 +17,7 @@ MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
LINUX_VERSION:=3.12.5
KERNELNAME:="zImage dtbs"
DEFAULT_PACKAGES += uboot-envtools uboot-sunxi
DEFAULT_PACKAGES += uboot-envtools uboot-sunxi kmod-eeprom-sunxi
# A10: Cortex-A8
# A13: Cortex-A8

View File

@ -132,7 +132,7 @@ CONFIG_DTC=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_DW_DMAC_CORE is not set
CONFIG_DYNAMIC_DEBUG=y
CONFIG_EEPROM_SUNXI_SID=y
# CONFIG_EEPROM_SUNXI_SID is not set
CONFIG_ELF_CORE=y
# CONFIG_EMBEDDED is not set
CONFIG_ENABLE_MUST_CHECK=y

View File

@ -22,3 +22,19 @@ endef
$(eval $(call KernelPackage,rtc-sunxi))
define KernelPackage/eeprom-sunxi
SUBMENU:=$(OTHER_MENU)
TITLE:=AllWinner Security ID fuse support
DEPENDS:=@TARGET_sunxi
KCONFIG:= \
CONFIG_EEPROM_SUNXI_SID
FILES:=$(LINUX_DIR)/drivers/misc/eeprom/sunxi_sid.ko
AUTOLOAD:=$(call AutoLoad,50,sunxi_sid)
endef
define KernelPackage/eeprom-sunxi/description
Support for the AllWinner Security ID fuse support
endef
$(eval $(call KernelPackage,eeprom-sunxi))