diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-05-07 07:48:39 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-05-07 07:56:38 +0200 |
commit | ed00387dc550695f2b9d690b7a8e5a1567e175ee (patch) | |
tree | 060055c43f9dedfea2c7e16576ef6a20b4409df3 /target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch | |
parent | f172456edcee41d37d182bdb6423247c90a1333f (diff) | |
download | upstream-ed00387dc550695f2b9d690b7a8e5a1567e175ee.tar.gz upstream-ed00387dc550695f2b9d690b7a8e5a1567e175ee.tar.bz2 upstream-ed00387dc550695f2b9d690b7a8e5a1567e175ee.zip |
bcm53xx: switch to the new/alternative SPI controller driver
This switches bcm53xx from spi-bcm53xx to the spi-bcm-qspi driver. The
later one was developed by Broadcom and is more advanced one. It
supports more modes, setting a speed, setting bits per word and uses
IRQs instead of polling.
This increases kernel size from 1808120 B to the 1811160 B (by 3040 B).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch b/target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch index edb0ed1fdd..d3b8e4079a 100644 --- a/target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch +++ b/target/linux/bcm53xx/patches-4.14/410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch @@ -19,18 +19,18 @@ Subject: [PATCH] Use "brcm,bcm947xx-cfe-partitions" binding for Broadcom }; --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi -@@ -346,8 +346,11 @@ - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <20000000>; -- linux,part-probe = "ofpart", "bcm47xxpart"; - status = "disabled"; +@@ -456,8 +456,11 @@ + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; +- linux,part-probe = "ofpart", "bcm47xxpart"; + status = "disabled"; + -+ partitions { -+ compatible = "brcm,bcm947xx-cfe-partitions"; -+ }; - }; ++ partitions { ++ compatible = "brcm,bcm947xx-cfe-partitions"; ++ }; }; + }; --- a/drivers/mtd/bcm47xxpart.c +++ b/drivers/mtd/bcm47xxpart.c |