Rafał Miłecki
0a9b7ea932
bcm53xx: support NVRAM prefixes with extra / in devpath
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44755
10 years ago
Rafał Miłecki
2b56913734
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>
SVN-Revision: 44680
10 years ago
Rafał Miłecki
4c67f1d464
bcm53xx: fix typo in bcm47xx sprom driver
...
Fix thinko' in the bcm47xx sprom driver.
Signed-off-by: Ian Kent <raven@themaw.net>
SVN-Revision: 44679
10 years ago
Rafał Miłecki
c3b9b35155
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44622
10 years ago
John Crispin
d15ac306fa
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>
SVN-Revision: 44615
10 years ago
John Crispin
f04a268a04
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>
SVN-Revision: 44614
10 years ago
John Crispin
6617845711
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>
SVN-Revision: 44612
10 years ago
Rafał Miłecki
c2cf1abf8f
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>
SVN-Revision: 44596
10 years ago
Rafał Miłecki
a416029d4d
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>
SVN-Revision: 44497
10 years ago
Rafał Miłecki
08b45f73db
bcm53xx: include kmod-brcmfmac in default profile
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44467
10 years ago
Rafał Miłecki
44253d311f
bcm53xx: sprom: extract for PCI host
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44464
10 years ago
Rafał Miłecki
4c98253648
bcm53xx: sprom: prepare to support other hosttype-s
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44463
10 years ago
Rafał Miłecki
b5310e180d
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44408
10 years ago
Rafał Miłecki
6bafb2f810
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44390
10 years ago
Rafał Miłecki
ddcbef5766
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44385
10 years ago
Rafał Miłecki
3ae30df7db
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>
SVN-Revision: 44383
10 years ago
Rafał Miłecki
3dbaab6f67
bcm53xx: fix loading SPROM content by bcma init change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44367
10 years ago
Rafał Miłecki
539cd23892
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44219
10 years ago
Rafał Miłecki
1d1a1c19bf
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44218
10 years ago
Rafał Miłecki
ee75859533
bcm53xx: fix Netgear R8000 serial console
...
Thanks raven-auand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44217
10 years ago
Rafał Miłecki
251b42d491
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186
10 years ago
Rafał Miłecki
bba98a3c53
bcm53xx: backport official Buffalo WZR-900DHP patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44070
10 years ago
Rafał Miłecki
3b701e8023
bcm53xx: backport spi-nor changes to add gd25q128 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44069
10 years ago
Rafał Miłecki
f0d73a4381
bcm53xx: use final (backported) patch fixing serial console
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44059
10 years ago
Rafał Miłecki
ea1fe45fae
bcm53xx: backport 3 BCM5301X patches from Hauke repo
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44058
10 years ago
Rafał Miłecki
9758327d83
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>
SVN-Revision: 44057
10 years ago
Rafał Miłecki
78b0da393b
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44051
10 years ago
Rafał Miłecki
71c8ec020d
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>
SVN-Revision: 43981
10 years ago
Rafał Miłecki
4ae1e883e8
bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43972
10 years ago
Rafał Miłecki
f59c84c431
bcm53xx: enable earlyprintk on more devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43965
10 years ago
Rafał Miłecki
8e95c2c5be
bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43964
10 years ago
Rafał Miłecki
55e766d78d
bcm53xx: refresh configs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43963
10 years ago
Rafał Miłecki
d1a28cfbb2
bcm53xx: support flashing CHK and CyberTAN images
...
SVN-Revision: 43800
10 years ago
Rafał Miłecki
e7d7f59171
bcm53xx: support WAN connected to switch port 0
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43754
10 years ago
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
10 years ago
Rafał Miłecki
e21e9c5548
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43738
10 years ago
Rafał Miłecki
dd9ca05249
bcm53xx: sysupgrade support for devices with serial flash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43719
10 years ago
John Crispin
019ea725aa
add "preinit_regular" diag.sh set_state argument
...
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43715
10 years ago
Rafał Miłecki
3aaee1ba02
bcm53xx: failsafe support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43639
10 years ago
Rafał Miłecki
b55199cf41
bcm53xx: support LEDs on Buffalo devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43616
10 years ago
Rafał Miłecki
40d94a3ef0
bcm53xx: backport NVRAM driver sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43612
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
960130e99c
bcm53xx: clean up nvram header
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43606
10 years ago
Rafał Miłecki
7093580424
bcm53xx: move SPROM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43604
10 years ago
Rafał Miłecki
27a91a99d9
bcm53xx: move NVRAM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43603
10 years ago
Rafał Miłecki
3fab0d818c
bcm53xx: move NVRAM header to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43602
10 years ago
Rafał Miłecki
613bc3ef3f
bcm53xx: bcm_nand: fix compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43584
10 years ago
Rafał Miłecki
aed6b26431
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43580
10 years ago
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
10 years ago