summaryrefslogtreecommitdiff
path: root/target/linux/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-01 22:25:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-01 22:26:50 +0200
commit77dcf4f883cd9ee840e7d431ed982fa982a60405 (patch)
tree36a8d3f098d3271d632157e98898d7fd201bca65 /target/linux/patches
parent6a8a13075e6dd6ff646fca3dd1c5dae0ed88c41f (diff)
rpi2: unbreak bootop with 4.1.x kernel
Add missing kernel symbols. NOL2CACHE and *BSG to allow bootup. Remove support patches for older kernels. Enable REGMAP by default.
Diffstat (limited to 'target/linux/patches')
-rw-r--r--target/linux/patches/3.18.16/regmap-bool.patch27
-rw-r--r--target/linux/patches/4.1.6/regmap-default-on.patch17
2 files changed, 17 insertions, 27 deletions
diff --git a/target/linux/patches/3.18.16/regmap-bool.patch b/target/linux/patches/3.18.16/regmap-bool.patch
deleted file mode 100644
index 5c0ff5e2c..000000000
--- a/target/linux/patches/3.18.16/regmap-bool.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Nur linux-3.18.5.orig/drivers/base/regmap/Kconfig linux-3.18.5/drivers/base/regmap/Kconfig
---- linux-3.18.5.orig/drivers/base/regmap/Kconfig 2015-01-30 02:41:03.000000000 +0100
-+++ linux-3.18.5/drivers/base/regmap/Kconfig 2015-02-02 11:53:27.854106073 +0100
-@@ -10,19 +10,19 @@
- bool
-
- config REGMAP_I2C
-- tristate
-+ bool
- depends on I2C
-
- config REGMAP_SPI
-- tristate
-+ bool
- depends on SPI
-
- config REGMAP_SPMI
-- tristate
-+ bool
- depends on SPMI
-
- config REGMAP_MMIO
-- tristate
-+ bool
-
- config REGMAP_IRQ
- bool
diff --git a/target/linux/patches/4.1.6/regmap-default-on.patch b/target/linux/patches/4.1.6/regmap-default-on.patch
new file mode 100644
index 000000000..8d72224bf
--- /dev/null
+++ b/target/linux/patches/4.1.6/regmap-default-on.patch
@@ -0,0 +1,17 @@
+diff -Nur linux-4.1.6.orig/drivers/base/regmap/Kconfig linux-4.1.6/drivers/base/regmap/Kconfig
+--- linux-4.1.6.orig/drivers/base/regmap/Kconfig 2015-08-17 05:52:51.000000000 +0200
++++ linux-4.1.6/drivers/base/regmap/Kconfig 2015-08-29 22:18:50.329683337 +0200
+@@ -3,7 +3,7 @@
+ # subsystems should select the appropriate symbols.
+
+ config REGMAP
+- default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
++ default y
+ select LZO_COMPRESS
+ select LZO_DECOMPRESS
+ select IRQ_DOMAIN if REGMAP_IRQ
+@@ -29,3 +29,4 @@
+
+ config REGMAP_IRQ
+ bool
++ default y