Rafał Miłecki
af4bf61297
bcm53xx: use bcm47xx_nvram.c with the latest patches
...
This will be hopefully a mainline version.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 07:21:59 +00:00
Felix Fietkau
b2188a6377
bcm53xx: use the correct kernel image
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:42:36 +00:00
Felix Fietkau
53aabb0a46
bcm53xx: convert to new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:57:44 +00:00
Felix Fietkau
a325d7259e
bcm53xx: enable the full-line-of-zero optimization in the cache controller
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 14:30:40 +00:00
Felix Fietkau
5064bb35c1
bcm53xx: add missing cache controller errata options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 10:14:27 +00:00
Felix Fietkau
a415534bf4
bcm53xx: remove linux 3.14 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 10:14:20 +00:00
Rafał Miłecki
4b5af7dfa9
bcm53xx: add SMP support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:07:40 +00:00
Rafał Miłecki
c8dc94b365
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:15 +00:00
Rafał Miłecki
4193282ee9
bcm53xx: fix Asus RT-AC87U magic (even if not used yet)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:10 +00:00
Rafał Miłecki
53117a6c7d
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:06 +00:00
Rafał Miłecki
dbd0ee9733
bcm53xx: refresh patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:56:47 +00:00
Rafał Miłecki
def8e2e478
kernel: backport bgmac patches
...
This allows dropping some hacky bcm53xx bgmac patch forcing link state.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:50 +00:00
Rafał Miłecki
74d43a8381
bcm53xx: enable FIXED_PHY, we will need it for bgmac
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:27 +00:00
Rafał Miłecki
7c068fdf9d
bcm53xx: switch to 3.18
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 22:24:56 +00:00
Rafał Miłecki
5cf9746b1d
bcm53xx: support NVRAM prefixes with extra / in devpath
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 16:35:56 +00:00
Rafał Miłecki
bd74798e93
bcm53xx: fixup early device id 8012
...
Looks like the BCM53012 has a similar problem to the BCM53011.
Signed-off-by: Ian Kent <raven@themaw.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:02 +00:00
Rafał Miłecki
3ce21086f2
bcm53xx: fix typo in bcm47xx sprom driver
...
Fix thinko' in the bcm47xx sprom driver.
Signed-off-by: Ian Kent <raven@themaw.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:10:19 +00:00
Rafał Miłecki
1c8d1d2a87
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-07 12:31:42 +00:00
John Crispin
63a4e80380
kernel: move KERNFS to generic config
...
KERNFS symbol is selected by SYSFS, so place it in generic config.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:47 +00:00
John Crispin
a585342d28
kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
...
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:34 +00:00
John Crispin
a739348da2
kernel: move MTD_SPLIT_SUPPORT to generic config
...
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:08 +00:00
Rafał Miłecki
599bab39a8
bcm53xx: switch to IRQ buttons (keys)
...
Now bcma provides IRQ domain we don't have to poll anymore.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:55 +00:00
Rafał Miłecki
a304daee1f
bcm53xx: add one more NVRAM possible size (0x180000)
...
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-20 07:07:53 +00:00
Rafał Miłecki
79a54d53cc
bcm53xx: include kmod-brcmfmac in default profile
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 19:51:21 +00:00
Rafał Miłecki
786b97003a
bcm53xx: sprom: extract for PCI host
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 16:13:23 +00:00
Rafał Miłecki
17dc7e0fde
bcm53xx: sprom: prepare to support other hosttype-s
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 16:10:05 +00:00
Rafał Miłecki
612979e8a2
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 14:41:07 +00:00
Rafał Miłecki
a530948b3a
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:11:00 +00:00
Rafał Miłecki
32c88d568c
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:04:51 +00:00
Rafał Miłecki
ea56e056dd
bcm53xx: drop unused (and broken) GPIOLIB patch
...
First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 08:42:34 +00:00
Rafał Miłecki
a59727e3b8
bcm53xx: fix loading SPROM content by bcma init change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 18:43:05 +00:00
Rafał Miłecki
61f0b79e06
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 07:25:43 +00:00
Rafał Miłecki
6748315e99
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:58:35 +00:00
Rafał Miłecki
1897829a18
bcm53xx: fix Netgear R8000 serial console
...
Thanks raven-auand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:30:44 +00:00
Rafał Miłecki
5edc190fef
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:55:43 +00:00
Rafał Miłecki
8d9c9dc495
bcm53xx: backport official Buffalo WZR-900DHP patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-21 07:23:31 +00:00
Rafał Miłecki
c838b04abc
bcm53xx: backport spi-nor changes to add gd25q128 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-21 06:53:15 +00:00
Rafał Miłecki
ad05c6e1e5
bcm53xx: use final (backported) patch fixing serial console
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 08:04:27 +00:00
Rafał Miłecki
db57d96d70
bcm53xx: backport 3 BCM5301X patches from Hauke repo
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 07:21:30 +00:00
Rafał Miłecki
be8bde3c90
bcm53xx: rename patches modifying DTS files
...
Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 06:58:03 +00:00
Rafał Miłecki
bf5ba711df
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 11:05:22 +00:00
Rafał Miłecki
2967c8a901
bcm53xx: drop hacky patch making bcma init later
...
The only reason this patch was helping was moving bcma init *after*
of_serial init. It was a bit of luck because both drivers use
device_initcall.
It isn't really a correct way to provide early logging.
Now we have earlyprintk support in bcm53xx we can drop this patch.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 15:59:29 +00:00
Rafał Miłecki
d900866b1d
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 13:41:05 +00:00
Rafał Miłecki
fa29300ffa
bcm53xx: enable earlyprintk on more devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:42:48 +00:00
Rafał Miłecki
36ef371f8e
bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:03:42 +00:00
Rafał Miłecki
8ae4b8ea1e
bcm53xx: refresh configs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:03:17 +00:00
Rafał Miłecki
60baecf987
bcm53xx: support flashing CHK and CyberTAN images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-30 17:45:53 +00:00
Rafał Miłecki
f7e3ab8f27
bcm53xx: support WAN connected to switch port 0
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-20 15:09:01 +00:00
Hauke Mehrtens
440591ac63
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 16:23:42 +00:00
Rafał Miłecki
d3b63e5b4e
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-17 14:53:25 +00:00