diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-08-24 15:57:49 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-08-24 15:57:49 +0000 |
commit | 49a8887214b5369e55b356a18e426d8abc8a182f (patch) | |
tree | 58e63ca7fba300db8872b0e0abaa2d0759a382f3 /target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch | |
parent | 7bbfb59996f12d39d8eeda0bf62e1f9f839e9f8e (diff) | |
download | master-187ad058-49a8887214b5369e55b356a18e426d8abc8a182f.tar.gz master-187ad058-49a8887214b5369e55b356a18e426d8abc8a182f.tar.bz2 master-187ad058-49a8887214b5369e55b356a18e426d8abc8a182f.zip |
bcm53xx: update bcma device tree intergeneration and fix nvram parsing
This fixes lots of sparse and checkpatch errors and extends the
documentation.
This also fixes a problem in the nvram parser, it now detects the
correct nvram on my Netgear R6250.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch b/target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch index 0bf1308045..fbc75ceff3 100644 --- a/target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch +++ b/target/linux/bcm53xx/patches-3.14/123-bcma-get-sprom-from-devicetree.patch @@ -1,7 +1,7 @@ -From 5d94449a92e4121b408e7cb8931a47984135eeea Mon Sep 17 00:00:00 2001 +From bd9106f5907080b467026bdaaea979fac8c7badb Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens <hauke@hauke-m.de> Date: Sun, 4 May 2014 14:34:31 +0200 -Subject: [PATCH 07/15] bcma: get sprom from devicetree +Subject: [PATCH 06/17] bcma: get sprom from devicetree This patch make it possible to device an sprom provider in device tree and get the sprom from this driver. Every time there is such a provider @@ -31,7 +31,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> +static int bcma_fill_sprom_with_dt(struct bcma_bus *bus, + struct ssb_sprom *out) +{ -+ const phandle *handle; ++ const __be32 *handle; + struct device_node *sprom_node; + struct platform_device *sprom_dev; + struct ssb_sprom *sprom; |