Skip to content

Commit

Permalink
mpc85xx: p2020: add RTC ds1307 to kernel
Browse files Browse the repository at this point in the history
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 5481ce9,
which was done for imx6 target.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
  • Loading branch information
BKPepe authored and chunkeey committed Jun 19, 2022
1 parent 811538a commit dc7f78d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/mpc85xx/p2020/config-default
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc7f78d

Please sign in to comment.