aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-01-04 13:46:43 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-01-04 13:46:43 +0000
commit8f910379563439126ca5fb3b2335e4e7e0bbd315 (patch)
treec0d2b5d0826beb1463469eb887c1a21ab8dd550c /target/linux/sunxi
parent24f6cc742b40c58219db867048b1c71687243433 (diff)
downloadmaster-187ad058-8f910379563439126ca5fb3b2335e4e7e0bbd315.tar.gz
master-187ad058-8f910379563439126ca5fb3b2335e4e7e0bbd315.tar.bz2
master-187ad058-8f910379563439126ca5fb3b2335e4e7e0bbd315.zip
sunxi: move sunxi-sid (security ID) off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39196 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r--target/linux/sunxi/Makefile2
-rw-r--r--target/linux/sunxi/config-3.122
-rw-r--r--target/linux/sunxi/modules.mk16
3 files changed, 18 insertions, 2 deletions
diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index 0ababde87b..c340d86b8d 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -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
diff --git a/target/linux/sunxi/config-3.12 b/target/linux/sunxi/config-3.12
index a49d8cab27..3b0d0b327b 100644
--- a/target/linux/sunxi/config-3.12
+++ b/target/linux/sunxi/config-3.12
@@ -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
diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk
index 8677a69494..5fffbc7a8b 100644
--- a/target/linux/sunxi/modules.mk
+++ b/target/linux/sunxi/modules.mk
@@ -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))
+