Maciej W. Rozycki
2fabc7d25d
MIPS: signal.c: Fix an invalid cast in ISA mode bit handling
...
Fix:
arch/mips/kernel/signal.c: In function 'handle_signal':
arch/mips/kernel/signal.c:533:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
unsigned int tmp = (unsigned int)current->mm->context.vdso;
^
arch/mips/kernel/signal.c:536:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
vdso = (void *)tmp;
^
cc1: all warnings being treated as errors
when building a 64-bit kernel.
This is not really a supported configuration, but the cast is wrong
either way, Linux makes the assumption that sizeof(void *) equals
sizeof(unsigned long) and therefore the latter type is expected to be
used where integer operations have to be applied to pointers for some
reason.
Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8480/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:36 +01:00
Maciej W. Rozycki
c441d4a54c
MIPS: mm: Only build one microassembler that is suitable
...
The microMIPS microassembler is only suitable for configurations where
the kernel itself is built to microMIPS machine code and not where only
user microMIPS software is supported. The former is controlled with the
CPU_MICROMIPS configuration setting, whereas SYS_SUPPORTS_MICROMIPS is
used for the latter.
Not only that, but with a given microMIPS vs standard MIPS kernel
configuration only one microassembler is needed, that matches the ISA
selected -- CP0.Config3.ISAOnExc is mandatory on microMIPS processors,
so there is never a need to mix microMIPS and standard MIPS code.
Consequently build only the microassembler that matches the ISA selected
for the kernel.
Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8479/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:36 +01:00
Maciej W. Rozycki
424ebcdf28
MIPS: Kconfig: Enable microMIPS support for Malta
...
Add missing microMIPS support to Malta. Currently the kernel only
enables support for the instruction set for the SEAD-3 board despite the
fact processor features have nothing to do with the board a processor is
installed in.
In this case there is no way to run microMIPS software in a fully
supported way under Linux on QEMU. QEMU supports the emulation of a
Malta board, but does not emulate SEAD-3. Linux supports running
microMIPS code on a SEAD-3 board, but hardcodes such support to off on
an emulated Malta board even if the processor selected has the microMIPS
instruction set implemented.
Adding support for the SEAD-3 to QEMU is a major project. Flipping a
bit in the kernel that shouldn't have been cleared in the first place is
a trivial effort. Thus the answer is plain...
Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8478/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:35 +01:00
Aaro Koskinen
d47ff0ec0b
MIPS: loongson: common: rtc: make loongson_rtc_resources static
...
Make loongson_rtc_resources static to eliminate the following
sparse warning:
warning: symbol 'loongson_rtc_resources' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8529/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:35 +01:00
Aaro Koskinen
8387efd26a
MIPS: loongson: common: init: Add a missing include
...
Add a missing include to eliminate the following sparse warnings:
warning: symbol 'prom_init' was not declared. Should it be static?
warning: symbol 'prom_free_prom_memory' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8531/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:35 +01:00
Aaro Koskinen
65b432de80
MIPS: loongson: lemote-2f: reset: make ml2f_reboot static
...
Make ml2f_reboot static to elimite the following sparse warning:
warning: symbol 'ml2f_reboot' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8528/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:35 +01:00
Aaro Koskinen
55fa9889ca
MIPS: loongson: lemote-2f: irq: Make internal data static
...
Make internal static to eliminate the following sparse warnings:
warning: symbol 'ip6_irqaction' was not declared. Should it be static?
warning: symbol 'cascade_irqaction' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8527/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:34 +01:00
Aaro Koskinen
15dd8eb0ee
MIPS: loongson: common: Setup: add a missing include
...
Add a missing include to get rid of the following sparse warning:
warning: symbol 'plat_mem_setup' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8530/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:34 +01:00
Aaro Koskinen
fdd6a1fd61
MIPS: Loongson: cs5536_pci: Add a missing include
...
Add a missing include to get rid of the following sparse warnings:
warning: symbol 'cs5536_pci_conf_write4' was not declared. Should it be static?
warning: symbol 'cs5536_pci_conf_read4' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8526/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:34 +01:00
Aaro Koskinen
efa386f317
MIPS: Loongson: common: Fix array initializer syntax.
...
Fix array initializer syntax to get rid of the following sparse warnings:
"obsolete array initializer, use C99 syntax".
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8525/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:34 +01:00
Ralf Baechle
80219c6c6f
MIPS: uaccess.h: Fix strnlen_user comment.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:33 +01:00
Joshua Kinard
7893165224
MIPS: IP22/IP32: Add line to arch/mips/Makefile archhelp about vmlinux.32
...
Building a 64bit kernel for the SGI O2 (IP32) and the SGI Indy (IP22) uses
the 'vmlinux.32' target, which converts the output 64-bit 'vmlinux' image
into a 32-bit wrapped image. This is needed for certain revisions of the
IP22 and IP32 ARCS PROMs to boot correctly, but this target is missing
from the 'archhelp' info that is emitted by 'make help'.
Signed-off-by: Joshua Kinard <kumba@gentoo.org >
Cc: Linux MIPS List <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/7991/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:33 +01:00
Markos Chandras
f4f7d86b77
MIPS: lib: mips-atomic.c: Remove obsolete ifdefery
...
Having #ifdefs just to guard comments is not really helpful
so drop them. Moreover, the code wasn't really reached anyway
since there is a #ifndef CONFIG_CPU_MIPSR2 on the top of the file.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8513/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:33 +01:00
Aaro Koskinen
da85e36495
MIPS: Octeon: Mark octeon_model_get_string() with __init
...
Mark octeon_model_get_string() with __init and make internal functions
static.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: David Daney <david.daney@cavium.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7668/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:32 +01:00
Aaro Koskinen
653e052881
MIPS: Octeon: Move code to avoid forward declaration
...
Move code to avoid forward declarations.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: David Daney <david.daney@cavium.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7667/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:32 +01:00
Aaro Koskinen
4aa16510bf
MIPS: Octeon: Delete potentially dangerous feature checks
...
We should not need to read fuses during normal operation, also the current
code has issues with that (not safe for concurrent access). Since there
are no in-kernel users for these, just delete them. Drivers should
not need such OCTEON_HAS_FEATURE mechanism in any case, instead the
information should be passed via device tree.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: David Daney <david.daney@cavium.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7665/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:32 +01:00
Aaro Koskinen
0f24017a10
MIPS: Octeon: Move cvmx_fuse_read_byte()
...
Move cvmx_fuse_read_byte() into a .c file.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: David Daney <david.daney@cavium.com >
Cc: linux-mips@linux-mips.org
Cc: Aaro Koskinen <aaro.koskinen@nsn.com >
Patchwork: https://patchwork.linux-mips.org/patch/7666/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:32 +01:00
Aaro Koskinen
569309b42f
MIPS: oprofile: Backtrace: don't fail on leaf functions
...
Continue the backtrace if we cannot find SP adjustment and RA save. In
that case, just assume the current RA. This allows us to get samples of
frequent callers of e.g. GLIBC memset().
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8109/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:31 +01:00
Aaro Koskinen
1b48142a80
MIPS: oprofile: Enable backtrace on timer-based profiling
...
Allow unsupported CPU types to use backtrace with timer-based profiling.
Some CPUs (notably OCTEON) lack architecture-specific oprofile driver. In
such case oprofile can fallback to timer-based mode, and arch code can
still provide the backtrace functionality. So just set up the backtrace
hook always.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8108/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:31 +01:00
Markos Chandras
26b40ef1aa
MIPS: traps: Dump the PageGrain and Wired registers on MC
...
They can be useful to determine how the MMU is configured on a MC
exception.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8401/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:31 +01:00
Markos Chandras
31ec86b854
MIPS: traps: Dump the HTW registers on a MC exception
...
The HTW registers can be useful to debug a MC exception.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8400/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:31 +01:00
Markos Chandras
314727fe5c
MIPS: traps: Replace printk with pr_err for MC exceptions
...
printk should not be used without a KERN_ facility level
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8399/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:30 +01:00
Alban Bedel
ebf71ec7e1
MIPS: ath79: Read the initrd address from the firmware environment
...
Allow loading an initrd passed by the firmware.
Signed-off-by: Alban Bedel <albeu@free.fr >
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8354/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:30 +01:00
Alban Bedel
11a0f40bc9
MIPS: ath79: Use the firmware lib to parse the kernel command line
...
No need to duplicate code that is available in the firmware library.
It also give us access to the firmware environment which is needed
to read the initrd address and size.
Signed-off-by: Alban Bedel <albeu@free.fr >
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8353/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:29 +01:00
Sergey Ryazanov
d6a4c72ae4
MIPS: ath25: add Wireless device support
...
Atheros AR5312 and AR2315 both have a builtin wireless device, this
patch add helper code and register platform device for all supported
WiSoCs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8249/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:29 +01:00
Sergey Ryazanov
3ed7a2a702
MIPS: ath25: add AR2315 PCI host controller driver
...
Add PCI host controller driver and DMA address calculation hook.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8246/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:28 +01:00
Sergey Ryazanov
d58eaa7ffd
MIPS: ath25: register AR5312 flash controller
...
AR5312 SoC flash controller maps the flash content to memory and
translates the memory access operations to the flash access operations.
Such controller is fully supported by the physmap-flash driver.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >R5312 SoC flash
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8245/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:28 +01:00
Sergey Ryazanov
1654861f6e
MIPS: ath25: add SoC type detection
...
Detect SoC type based on device ID and board configuration data.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8244/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:28 +01:00
Sergey Ryazanov
a747371748
MIPS: ath25: add board configuration detection
...
All boards based on AR5312/AR2315 SoC have a special structure located
at the end of flash. This structure contains board-specific data such as
Ethernet and Wireless MAC addresses. The flash is mapped to the memmory
at predefined location.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8243/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:27 +01:00
Sergey Ryazanov
1ac91b1f68
MIPS: ath25: add UART support
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8242/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:27 +01:00
Sergey Ryazanov
8aaa7278c0
MIPS: ath25: add early printk support
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8241/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:27 +01:00
Sergey Ryazanov
1753e74ed8
MIPS: ath25: add interrupts handling routines
...
Add interrupts initialization and handling routines, also add AHB bus
error interrupt handlers for both SoCs families.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8240/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:27 +01:00
Sergey Ryazanov
ba91034503
MIPS: ath25: Add basic AR2315 SoC support
...
Add basic support for Atheros AR2315+ SoCs: registers definition file
and initial setup code.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8239/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:26 +01:00
Sergey Ryazanov
3b12308f33
MIPS: ath25: add basic AR5312 SoC support
...
Add basic support for Atheros AR5312/AR2312 SoCs: registers definition
file and initial setup code.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8238/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:26 +01:00
Sergey Ryazanov
43cc739fd9
MIPS: ath25: add common parts
...
Add common code for Atheros AR5312 and Atheros AR2315 SoCs families.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com >
Cc: Linux MIPS <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/8237
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:26 +01:00
Alban Bedel
484c344985
MIPS: FW: Use kstrtoul() to parse unsigned long from the fw environment
...
Fix some value corruptions with values that can't be represented in a
signed long.
Signed-off-by: Alban Bedel <albeu@free.fr >
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8358/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:26 +01:00
Alban Bedel
4a792e56cf
MIPS: FW: Fix parsing u-boot environment
...
When reading u-boot's key=value pairs it should skip the '=' and not
use the next argument.
Signed-off-by: Alban Bedel <albeu@free.fr >
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8357/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:25 +01:00
John Crispin
187c26ddf0
MIPS: ralink: add rt2880 pci driver
...
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8034/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:25 +01:00
John Crispin
b96e6e9fd2
MIPS: ralink: allow loading irq registers from the devicetree
...
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8029/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:25 +01:00
John Crispin
53263a1c68
MIPS: ralink: add mt7628an support
...
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8031/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:24 +01:00
John Crispin
1dc5c2cfc1
MIPS: ralink: add support for MT7620n
...
This is the small version of MT7620a.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8030/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:24 +01:00
John Crispin
a097b13c52
MIPS: ralink: cleanup early_printk
...
Add support for the new MT7621/8 SoC and kill ifdefs.
Cleanup some whitespace error while we are at it.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8028/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:24 +01:00
John Crispin
f576fb6a07
MIPS: ralink: cleanup the soc specific pinmux data
...
Before we had a pinctrl driver we used a custom OF api. This patch converts the
soc specific pinmux data to a new set of structs. We also add some new pinmux
setings.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8009/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:24 +01:00
John Crispin
4248f7f121
MIPS: ralink: copy the commandline from the devicetree
...
This is a regression caused by:
commit afb46f7996
Author: Rob Herring <robh@kernel.org >
Date: Wed Apr 2 19:07:24 2014 -0500
mips: ralink: convert to use unflatten_and_copy_device_tree
Make the of init code reuse the cmdline defined inside the dts.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8008/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:23 +01:00
John Crispin
7a1a44c909
MIPS: ralink: add a bootrom dumper module
...
This patch adds a trivial driver that allows userland to extract the bootrom of
a SoC via debugfs.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8002/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:22 +01:00
John Crispin
1e209c969a
MIPS: ralink: add rt3883 wmac clock
...
Register the wireless mac clock on rti3883. This is required by the wifi driver.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8007/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:20 +01:00
John Crispin
f2a8bd2e92
MIPS: ralink: add rt2880 wmac clock
...
Register the wireleass mac clock on rt2880. This is required by the wifi driver.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8006/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:20 +01:00
John Crispin
a8b6204761
MIPS: ralink: add missing clk_set_rate() to clk.c
...
This function was missing causing make allmod to fail.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:20 +01:00
John Crispin
15d1112070
MIPS: ralink: allow manual memory override
...
RT5350 relies on the bootloader setting up the memc correctly. On some boards
the setup is incorrect leading to 32 MB being available but only 16 MB being
recognized. Allow these boards to manually override the memory range.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8004/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:20 +01:00
John Crispin
5433acd81e
MIPS: ralink: add illegal access driver
...
These SoCs have a special irq that fires upon an illegal memmory access.
Signed-off-by: John Crispin <blogic@openwrt.org >
Patchwork: http://patchwork.linux-mips.org/patch/8003/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:19 +01:00