2 # Copyright (C) 2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 define KernelPackage/rtc-sunxi
9 TITLE:=Sunxi SoC built-in RTC support
10 DEPENDS:=@TARGET_sunxi
11 $(call AddDepends/rtc)
14 CONFIG_RTC_DRV_SUNXI=m
15 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sunxi.ko
16 AUTOLOAD:=$(call AutoLoad,50,rtc-sunxi)
19 define KernelPackage/rtc-sunxi/description
20 Support for the AllWinner sunXi SoC's onboard RTC
23 $(eval $(call KernelPackage,rtc-sunxi))
25 define KernelPackage/eeprom-sunxi
26 SUBMENU:=$(OTHER_MENU)
27 TITLE:=AllWinner Security ID fuse support
28 DEPENDS:=@TARGET_sunxi
30 CONFIG_EEPROM_SUNXI_SID
31 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/sunxi_sid.ko
32 AUTOLOAD:=$(call AutoLoad,50,sunxi_sid)
35 define KernelPackage/eeprom-sunxi/description
36 Support for the AllWinner Security ID fuse support
39 $(eval $(call KernelPackage,eeprom-sunxi))