aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/p2020
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-06-11 09:37:43 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-06-25 00:05:21 +0200
commit4130e7ed54ed59e0af00fbe07c492716335b3c99 (patch)
tree6925771739c13b00e5af376f73f4457183b0e8de /target/linux/mpc85xx/p2020
parentd929abbbdeb7e035b1fb96f0b8c85bb951c1829d (diff)
downloadupstream-4130e7ed54ed59e0af00fbe07c492716335b3c99.tar.gz
upstream-4130e7ed54ed59e0af00fbe07c492716335b3c99.tar.bz2
upstream-4130e7ed54ed59e0af00fbe07c492716335b3c99.zip
mpc85xx: p2020: add RTC ds1307 to kernel
If the RTC module is compiled as a module, the hctosys fails to initialize because ds1307 is loaded later. Fixes: [ 2.004145] hctosys: unable to open rtc device (rtc0) [ 11.957997] rtc-ds1307 0-006f: registered as rtc0 This is similar to commit 5481ce9a1157a43d8b2c963e03fb243e70974361, which was done for imx6 target. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit dc7f78da97c62cd6c17a75f754da5bf6b957837d)
Diffstat (limited to 'target/linux/mpc85xx/p2020')
-rw-r--r--target/linux/mpc85xx/p2020/config-default1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/p2020/config-default b/target/linux/mpc85xx/p2020/config-default
index de7f09e1f3..e4ed758d95 100644
--- a/target/linux/mpc85xx/p2020/config-default
+++ b/target/linux/mpc85xx/p2020/config-default
@@ -21,6 +21,7 @@ CONFIG_PCI_MSI=y
CONFIG_PPC_MSI_BITMAP=y
CONFIG_RFS_ACCEL=y
CONFIG_RPS=y
+CONFIG_RTC_DRV_DS1307=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_SMP=y
CONFIG_TREE_RCU=y