aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2020-04-05 21:23:59 +0000
committerVagrant Cascadian <vagrant@debian.org>2020-04-05 17:54:53 -0700
commit6978df6abbb3fc6c755b36821f50d5e03e751ca1 (patch)
tree5d534afa811163b7aac015e2dea07b791bb8e3c2
parente3a617feac9a0538f4bf2101a6038c1b0a35178e (diff)
downloadpatches-6978df6abbb3fc6c755b36821f50d5e03e751ca1.tar
patches-6978df6abbb3fc6c755b36821f50d5e03e751ca1.tar.gz
gnu: linux-libre-arm*-generic*: Enable RTC for rockchip platforms.
* gnu/packages/linux (linux-libre-arm-generic, linux-libre-arm-generic-5.6, linux-libre-arm64-generic, linux-libre-arm64-generic-5.6): Enable RTC_DRV_RK808 as a built-in in kernel configuration.
-rw-r--r--gnu/packages/linux.scm28
1 files changed, 24 insertions, 4 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index aa6a021fef..60ffed27f1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -872,14 +872,24 @@ It has been modified to remove all non-free binary blobs.")
linux-libre-source
'("armhf-linux")
#:defconfig "multi_v7_defconfig"
- #:extra-version "arm-generic"))
+ #:extra-version "arm-generic"
+ #:extra-options
+ (append
+ `(;; needed to fix the RTC on rockchip platforms
+ ("CONFIG_RTC_DRV_RK808" . #t))
+ %default-extra-linux-options)))
(define-public linux-libre-arm-generic-5.6
(make-linux-libre* linux-libre-5.6-version
linux-libre-5.6-source
'("armhf-linux")
#:defconfig "multi_v7_defconfig"
- #:extra-version "arm-generic"))
+ #:extra-version "arm-generic"
+ #:extra-options
+ (append
+ `(;; needed to fix the RTC on rockchip platforms
+ ("CONFIG_RTC_DRV_RK808" . #t))
+ %default-extra-linux-options)))
(define-public linux-libre-arm-veyron
(deprecated-package "linux-libre-arm-veyron" linux-libre-arm-generic))
@@ -924,14 +934,24 @@ It has been modified to remove all non-free binary blobs.")
linux-libre-source
'("aarch64-linux")
#:defconfig "defconfig"
- #:extra-version "arm64-generic"))
+ #:extra-version "arm64-generic"
+ #:extra-options
+ (append
+ `(;; needed to fix the RTC on rockchip platforms
+ ("CONFIG_RTC_DRV_RK808" . #t))
+ %default-extra-linux-options)))
(define-public linux-libre-arm64-generic-5.6
(make-linux-libre* linux-libre-5.6-version
linux-libre-5.6-source
'("aarch64-linux")
#:defconfig "defconfig"
- #:extra-version "arm64-generic"))
+ #:extra-version "arm64-generic"
+ #:extra-options
+ (append
+ `(;; needed to fix the RTC on rockchip platforms
+ ("CONFIG_RTC_DRV_RK808" . #t))
+ %default-extra-linux-options)))
(define-public linux-libre-riscv64-generic
(make-linux-libre* linux-libre-version