Hauke Mehrtens
192e945479
bcm53xx: PCIe: add link check again
...
When there is no device connected to the controller we should not start
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed
based on the device. This code is based on code from the new Broadcom
PCIe controller driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43748
2014-12-18 16:23:42 +00:00
Rafał Miłecki
e21e9c5548
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43738
2014-12-17 14:53:25 +00:00
Rafał Miłecki
b55199cf41
bcm53xx: support LEDs on Buffalo devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43616
2014-12-11 11:23:26 +00:00
Rafał Miłecki
40d94a3ef0
bcm53xx: backport NVRAM driver sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43612
2014-12-10 21:50:57 +00:00
Rafał Miłecki
ba81966001
bcm53xx: use bcma callback in SPROM driver to fill the SPROM
...
This is required because it has to be called at very precise moment. See
comment in driver for details.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43611
2014-12-10 21:24:11 +00:00
Rafał Miłecki
b0b43e1ef9
bcm53xx: use static NVRAM pointer for now
...
This will allow us to sync with code sent for upstream.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43608
2014-12-10 19:56:56 +00:00
Rafał Miłecki
960130e99c
bcm53xx: clean up nvram header
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43606
2014-12-10 18:29:26 +00:00
Rafał Miłecki
7093580424
bcm53xx: move SPROM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43604
2014-12-10 18:07:01 +00:00
Rafał Miłecki
27a91a99d9
bcm53xx: move NVRAM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43603
2014-12-10 18:01:24 +00:00
Rafał Miłecki
3fab0d818c
bcm53xx: move NVRAM header to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43602
2014-12-10 17:37:24 +00:00
Rafał Miłecki
613bc3ef3f
bcm53xx: bcm_nand: fix compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43584
2014-12-08 18:28:54 +00:00
Rafał Miłecki
aed6b26431
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43580
2014-12-08 17:39:07 +00:00
Hauke Mehrtens
7a2f186d70
bcm53xx: update the NAND driver
...
This adds some updates to the NAND driver and refreshed the config.
Most of these changes are done in preparation for mainling it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43546
2014-12-07 21:55:21 +00:00
Hauke Mehrtens
664ae86dde
bcm53xx: update the PCIe driver
...
This adds some updates to the PCIe driver and refreshed the config.
Most of these changes are done in preparation for mainling it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43545
2014-12-07 21:54:53 +00:00
Hauke Mehrtens
d9bb8326fa
kernel: update bcma and ssb to wireless-testing master-2014-12-05
...
This brings ssb and bcma to wireless-testing tag master-2014-12-05
In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43544
2014-12-07 21:53:20 +00:00
Rafał Miłecki
a20fa1cb48
bcm53xx: add early support for Buffalo WZR-900DHP
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43533
2014-12-07 10:55:44 +00:00
Rafał Miłecki
9bec9b86af
bcm53xx: backport BCM5301X patches from arm-soc.git next/dt
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43530
2014-12-05 16:46:55 +00:00
Rafał Miłecki
d1e0e39993
bcm53xx: squeeze (rename) BCM5301X patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43529
2014-12-05 16:15:16 +00:00
Rafał Miłecki
8ea3c20b23
bcm53xx: rename patches that were not upstreamed to 3xx
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43528
2014-12-05 16:13:27 +00:00
Rafał Miłecki
8033ccc975
kernel: update bcma up to 2014-10-27
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43527
2014-12-05 16:11:03 +00:00
Rafał Miłecki
93b3924128
kernel: backport bcm47xxpart changes queued for 3.19
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43223
2014-11-08 21:41:21 +00:00
Hauke Mehrtens
5e13e40591
bcm53xx: activate early printk
...
This makes it possible to activate early printk.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43145
2014-11-01 13:57:50 +00:00
Hauke Mehrtens
8e20cceeae
bcm53xx: refresh patches
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43144
2014-11-01 13:55:02 +00:00
Rafał Miłecki
c14e0807bd
bcm53xx: backport forgotten spi-nor change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43031
2014-10-22 14:34:43 +00:00
Rafał Miłecki
2466b04a5a
bcm53xx: backport spi-nor patches from 3.18-rc1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43030
2014-10-22 14:16:18 +00:00
Rafał Miłecki
bf0342f0ef
bcm53xx: add support for Asus RT-N18U LEDs & buttons
...
Got GPIOs from #18152 thanks to Grrruk
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43010
2014-10-21 14:37:44 +00:00
Rafał Miłecki
150c200e91
bcm53xx: hack UBI to erase all dirty blocks left by CFE
...
UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42940
2014-10-16 20:52:22 +00:00
Rafał Miłecki
579b0d9c5b
bcm53xx: add support for Buffalo WZR-600DHP2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42925
2014-10-15 07:14:13 +00:00
Rafał Miłecki
96a33c0dd7
bcm53xx: fix Asus RT-N18U support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42924
2014-10-15 07:12:46 +00:00
Rafał Miłecki
5a03d0c931
bcm53xx: fix hangs in PCIe2 host driver
...
Accessing CFG regs with no card present results in SoC hang.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42895
2014-10-14 08:06:15 +00:00
Rafał Miłecki
540a6a45e4
bcm53xx: add temp bcma workaround that allows debugging
...
This way we will get logs if case of hang/crash in bcma or related code.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42894
2014-10-14 05:31:54 +00:00
Rafał Miłecki
78be7225c3
bcm53xx: prepare to support Asus RT-N18U
...
DT file doesn't include any GPIOs yet, but let's add it as we got some
interest in this device on IRC.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42864
2014-10-09 16:36:51 +00:00
Rafał Miłecki
9473673ae3
bcm53xx: add support for Buffalo WZR-1750DHP
...
Let's generate a simple TRX file as we can't get encrypted one.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42863
2014-10-09 16:36:05 +00:00
Rafał Miłecki
2818493e82
bcm53xx: add Netgear R6300 V2 LEDs and buttons
...
Thanks tusc (our forum user) for checking GPIOs.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42827
2014-10-06 21:33:17 +00:00
Rafał Miłecki
66922082ed
bcm53xx: early support for Netgear R6300 V2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42743
2014-10-02 19:30:08 +00:00
Rafał Miłecki
28301ea0b1
bcm53xx: early buttons support (without interrupts)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42718
2014-10-02 12:05:58 +00:00
Rafał Miłecki
bd12c49473
bcm53xx: backport bcma RFC patch that fixes LEDs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42717
2014-10-02 10:42:30 +00:00
Rafał Miłecki
01ab343779
bcm53xx: support devices with more (13+) partitions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42716
2014-10-02 09:51:54 +00:00
Rafał Miłecki
1421516e65
bcm53xx: add BCM5301X patches sent upstream (bus and R6250 LEDs)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42711
2014-10-01 13:38:50 +00:00
Rafał Miłecki
59b965194d
kernel: update bcma to the tag master-2014-09-30 (wireless-next)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42710
2014-10-01 13:37:36 +00:00
Rafał Miłecki
26e85084b5
bcm53xx: rename BCM5301X DTS patch to match upstream order
...
SVN-Revision: 42708
2014-10-01 07:59:03 +00:00
Rafał Miłecki
8e525a43b4
kernel: update bcma to the tag master-2014-09-26 (wireless-next)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42672
2014-09-27 07:49:48 +00:00
Rafał Miłecki
747fd7871c
bcm53xx: add a patch that fixes booting problems
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42659
2014-09-24 21:08:17 +00:00
Hauke Mehrtens
47aefcc563
bcm53xx: add nand flash driver
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42641
2014-09-21 21:58:02 +00:00
Hauke Mehrtens
2c6e0e0ae0
bcm53xx: update patches adding bcma support
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42640
2014-09-21 21:57:17 +00:00
Rafał Miłecki
223a309c3c
bcm53xx: add support for GPIOs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42638
2014-09-21 21:18:30 +00:00
Rafał Miłecki
2468f9201f
bcm53xx: rename console fixing patch
...
This squeezes BCM5301X patches.
SVN-Revision: 42637
2014-09-21 21:02:38 +00:00
Hauke Mehrtens
9434dfee87
bcm53xx: fix early serial console
...
This device actually has a 8250 serial with a shift of 0.
Tested this on a BCM4708.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42538
2014-09-14 19:22:49 +00:00
Rafał Miłecki
7cd532623e
kernel: update bcma to the tag master-2014-09-11 (wireless-next)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42537
2014-09-14 17:31:13 +00:00
Luka Perkov
02629d8f87
kernel: update 3.14 to 3.14.18
...
Targets were build tested and patches are refreshed.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42463
2014-09-10 21:40:19 +00:00