diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-10 11:50:20 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-10 11:50:20 +1000 |
commit | 9fcbda9b194daae0c8187577d100cebf740f2fb1 (patch) | |
tree | 764510ad9daeb4729e5575e8a089220e74e63408 | |
parent | 8616c51f85864e114ea0213f79ef663dca789ca8 (diff) | |
download | meta-xilinx-9fcbda9b194daae0c8187577d100cebf740f2fb1.tar.gz |
linux/configs: Rework the rtc feature
* Enable RTC devices by default with the board-commong fragment, however
disable the HCTOSYS and SYSTOHC configs
* The rtc feature enables the HCTOSYS and SYSTOHC so that the kernel can
manage time with the rtc for systems that explicitly have rtc
functionality
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r-- | recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | 3 | ||||
-rw-r--r-- | recipes-kernel/linux/config/xilinx-common/features/rtc/rtc.cfg | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg index f762d461..a51da80d 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | |||
@@ -32,6 +32,9 @@ CONFIG_SENSORS_UCD9000=y | |||
32 | CONFIG_SENSORS_UCD9200=y | 32 | CONFIG_SENSORS_UCD9200=y |
33 | 33 | ||
34 | # RTC drivers | 34 | # RTC drivers |
35 | CONFIG_RTC_CLASS=y | ||
36 | # CONFIG_RTC_HCTOSYS is not set | ||
37 | # CONFIG_RTC_SYSTOHC is not set | ||
35 | CONFIG_RTC_DRV_PCF8563=y | 38 | CONFIG_RTC_DRV_PCF8563=y |
36 | 39 | ||
37 | # SI570 I2C Device | 40 | # SI570 I2C Device |
diff --git a/recipes-kernel/linux/config/xilinx-common/features/rtc/rtc.cfg b/recipes-kernel/linux/config/xilinx-common/features/rtc/rtc.cfg index 70c9c29c..d980c201 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/rtc/rtc.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/rtc/rtc.cfg | |||
@@ -1 +1,4 @@ | |||
1 | CONFIG_RTC_CLASS=y | 1 | |
2 | CONFIG_RTC_HCTOSYS=y | ||
3 | CONFIG_RTC_SYSTOHC=y | ||
4 | |||