aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-11MIPS: BMIPS: Enable GZIP ramdisk and timed printksFlorian Fainelli2-2/+4
Update bmips_be_defconfig and bmips_stb_defconfig to have GZIP ramdisk support enabled by default as well was timed printks. Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Kevin Cernekee <[email protected]> Reviewed-by: Dragan Stancevic <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11307/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11s390/ipl: fix out of bounds access in scpdata_writeSebastian Ott1-12/+5
The input buffer in reipl_fcp_scpdata_write is accessed out of bounds when an offset is specified. The problem is that the offset refers to the data we should write to and not to the buffer we read from. So instead of memcpy(scp_data, buf + off, count); we could just do memcpy(scp_data + off, buf, count); However we not only modify the data but also store its length. For this to work we'd need to remember a state per open FH. Since that's not possible with sysfs callbacks let's just fail when an offset is specified. Signed-off-by: Sebastian Ott <[email protected]> Acked-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
2015-11-11ALSA: ctxfi: constify rsc ops structuresJulia Lawall8-18/+18
The various rsc ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2015-11-11MIPS: Add xilfpga defconfigZubair Lutfullah Kakakhel1-0/+40
Add defconfig for MIPSfpga Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11363/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: xilfpga: Add mipsfpga platform codeZubair Lutfullah Kakakhel9-0/+184
The xilfpga platform will be DT only. Add required platform code. DT files have already been added separately. Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11364/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: xilfpga: Add xilfpga device tree files.Zubair Lutfullah Kakakhel4-0/+77
Add device tree files for the MIPSfpga platform. See Documentation/devicetree/bindings/mips/img/xilfpga.txt for details about MIPSfpga Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11362/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11dt-bindings: MIPS: Document xilfpga bindings and boot styleZubair Lutfullah Kakakhel1-0/+83
Xilfpga boots only with device-tree. Document the required properties and the unique boot style Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11361/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Make MIPS_CMDLINE_DTB defaultJonas Gorski6-7/+3
Seval of-enabled machines (bmips, lantiq, xlp, pistachio, ralink) copied the arguments from dtb to arcs_command_line to prevent the kernel from overwriting them. Since there is now an option to keep the dtb arguments, default to the new option remove the "backup" to arcs_command_line in case of USE_OF is enabled, except for those platforms that still take the bootloader arguments or do not use any at all. Signed-off-by: Jonas Gorski <[email protected]> Cc: [email protected] Cc: Kevin Cernekee <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Zubair Lutfullah Kakakhel <[email protected]> Cc: James Hogan <[email protected]> Cc: John Crispin <[email protected]> Cc: Ganesan Ramalingam <[email protected]> Cc: Jayachandran C <[email protected]> Cc: Andrew Bresticker <[email protected]> Cc: James Hartley <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/11285/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Make the kernel arguments from dtb availableJonas Gorski2-7/+33
Similar to how arm allows using selecting between bootloader arguments, dtb arguments and both, allow to select them on mips. But since we have less control over the place of the dtb do not modify it but instead use the boot_command_line for merging them. The default is "use bootloader arguments" to keep the current behaviour as default. Signed-off-by: Jonas Gorski <[email protected]> Cc: [email protected] Cc: Kevin Cernekee <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Zubair Lutfullah Kakakhel <[email protected]> Cc: James Hogan <[email protected]> Cc: John Crispin <[email protected]> Cc: Ganesan Ramalingam <[email protected]> Cc: Jayachandran C <[email protected]> Cc: Andrew Bresticker <[email protected]> Cc: James Hartley <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/11284/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Use USE_OF as the guard for appended dtbJonas Gorski1-1/+1
Since OF is now a user selectable symbol, the choice for appended dtb support should only be visible when USE_OF is selected, as this indicates actual machine support for device tree in MIPS. Signed-off-by: Jonas Gorski <[email protected]> Cc: [email protected] Cc: Kevin Cernekee <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Zubair Lutfullah Kakakhel <[email protected]> Cc: James Hogan <[email protected]> Cc: John Crispin <[email protected]> Cc: Ganesan Ramalingam <[email protected]> Cc: Jayachandran C <[email protected]> Cc: Andrew Bresticker <[email protected]> Cc: James Hartley <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/11283/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BCM63XX: Use pr_* instead of printkGregory Fong6-20/+20
Signed-off-by: Gregory Fong <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Jonas Gorski <[email protected]> Cc: Joe Perches <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Nicolas Schichan <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11300/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.Huacai Chen3-7/+2
Now LOONGSON_CHIPCFG register definition doesn't depend on CPUFREQ any more, so CPU_SUPPORTS_CPUFREQ is no longer needed for suspend/resume. Remove CONFIG_LOONGSON_SUSPEND and use CONFIG_SUSPEND instead. Signed-off-by: Huacai Chen <[email protected]> Cc: John Crispin <[email protected]> Cc: Steven J. Hill <[email protected]> Cc: Fuxin Zhang <[email protected]> Cc: Zhangjin Wu <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11274/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: lantiq: Disable xbar fpi burst modeJohn Crispin1-0/+41
Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11458/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: lantiq: Force the crossbar to big endianJohn Crispin1-0/+8
Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11450/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: lantiq: Initialize the USB core on bootJohn Crispin1-0/+74
There is a DWC2 USB core in these SoCs. To make USB work we need to first reset and power the state machine. These are SoC specific registers and not part of the actual USB core. Signed-off-by: Antti Seppälä <[email protected]> Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11449/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: lantiq: Return correct value for fpi clock on ar9John Crispin1-2/+3
Some configurations of AR9 reported the incorrect speed for the fpi bus. Signed-off-by: Ben Mulvihill <[email protected]> Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11448/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Add missing clock on rt305xJohn Crispin1-0/+1
The rt305x support is missing a clock required by the ethernet driver. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11447/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Put the pci bus into reset state before rebooting the SoCJohn Crispin1-2/+10
Some pcie cards have problems after a reboot without this. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11446/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Don't set pm_power_offJohn Crispin1-1/+0
Setting pm_power_off is apprently wrong and makes drivers such as gpio-poweroff not work. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11445/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Remove check for CONFIG_PCI on non-PCI SoCsJohn Crispin1-3/+0
The code currently panics if PCI is enabled but the SoC has no PCI bus. This check is superfluous as the driver only loads if enabled in the devicetree. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11444/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Fix invalid tick countJohn Crispin1-1/+1
The current code adds the delta twice, which is obviously wrong. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11443/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Add tty detectionJohn Crispin1-0/+26
MT7688 has several uarts that can be used for console. There are several boards in the wild, that use ttyS1 or ttyS2. This patch applies a simply autodetection routine to figure out which ttyS the bootloader used as console. The uarts come up in 6 bit mode by default. The bootloader will have set 8 bit mode on the console. Find that 8bit tty and use it. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11459/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Fix usb issue during frequency scalingJohn Crispin1-0/+20
If the USB HCD is running and the cpu is scaled too low, then the USB stops working. Increase the idle speed of the core to fix this if the kernel is built with USB support. The "magic" values are taken from the Ralink SDK Kernel. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11441/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Unify SoC id handlingJohn Crispin8-38/+42
This makes detection a lot easier for audio, wifi, ... drivers. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11440/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: ralink: Add support for mt7688John Crispin2-6/+30
MT7688 is similar tot he MT7628 but has a different wifi radio. Signed-off-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11439/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add SATA/PHY nodes for bcm7362Jaedon Shin2-0/+50
Add AHCI and PHY device nodes to MIPS-based BCM7362 set-top box platform. Signed-off-by: Jaedon Shin <[email protected]> Cc: Brian Norris <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: Rob Herring <[email protected]> Cc: Kevin Cernekee <[email protected]> Cc: Dragan Stancevic <[email protected]> Cc: [email protected] Cc: Linux-MIPS <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11379/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add SATA/PHY nodes for bcm7346Jaedon Shin2-0/+50
Add AHCI and PHY device nodes to MIPS-based BCM7346 set-top box platform. Signed-off-by: Jaedon Shin <[email protected]> Cc: Brian Norris <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: Rob Herring <[email protected]> Cc: Kevin Cernekee <[email protected]> Cc: Dragan Stancevic <[email protected]> Cc: [email protected] Cc: Linux-MIPS <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11378/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add SATA/PHY nodes for bcm7425Jaedon Shin1-0/+42
Add AHCI and PHY device nodes to MIPS-based BCM7425 set-top box platform. Signed-off-by: Jaedon Shin <[email protected]> Cc: Brian Norris <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: Rob Herring <[email protected]> Cc: Kevin Cernekee <[email protected]> Cc: Dragan Stancevic <[email protected]> Cc: [email protected] Cc: Linux-MIPS <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11377/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add I2C node for bcm7362Jaedon Shin2-2/+62
Add I2C device nodes to BMIPS based BCM7362 platform. Signed-off-by: Jaedon Shin <[email protected]> Acked-by: Florian Fainelli <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11336/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add I2C node for bcm7360Jaedon Shin2-2/+76
Add I2C device nodes to BMIPS based BCM7360 platform. Signed-off-by: Jaedon Shin <[email protected]> Acked-by: Florian Fainelli <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11335/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add I2C node for bcm7358Jaedon Shin2-2/+76
Add I2C device nodes to BMIPS based BCM7358 platform. Signed-off-by: Jaedon Shin <[email protected]> Acked-by: Florian Fainelli <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11334/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BMIPS: Add I2C node for bcm7346Jaedon Shin2-2/+90
Add I2C device nodes to BMIPS based BCM7346 platform. Signed-off-by: Jaedon Shin <[email protected]> Acked-by: Florian Fainelli <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Kamal Dasu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11333/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Fix check for return value of request_mem_region()Hauke Mehrtens3-11/+11
request_mem_region() returns a pointer and not an integer with an error value. A check for "< 0" on a pointer will cause problems, replace it with not null checks instead. This was found with sparse. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11395/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add support for xRX220 SoCHauke Mehrtens2-0/+9
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11394/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add misc clocksHauke Mehrtens1-1/+3
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11393/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add 1e103100.deu clockHauke Mehrtens1-0/+6
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11392/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add clock for mei driverHauke Mehrtens1-0/+6
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11391/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add SoC detection for ar10 and grx390Hauke Mehrtens2-2/+38
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11390/ Patchwork: https://patchwork.linux-mips.org/patch/11399/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add support for gphy firmware loading for ar10 and grx390Hauke Mehrtens1-20/+92
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11389/ Patchwork: https://patchwork.linux-mips.org/patch/11398/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add pmu bits for ar10 and grx390Hauke Mehrtens1-1/+56
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11388/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add PMU bits for USB and SDIO devicesHauke Mehrtens1-1/+23
This adds the PUM bits for USB and SDIO devices Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11387/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Deactivate most of the devices by defaultHauke Mehrtens1-21/+28
When the SoC starts up most of the devices should be deactivated by the PMU, they should be activated when they get used by their drivers. Some devices should not get deactivate at startup like the serial, register them in a special way. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11386/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add clock detection for grx390 and ar10Hauke Mehrtens2-1/+167
This add detection of some clocks on the ar10 and grx390. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11385/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Fix pp32 clock on vr9Hauke Mehrtens2-3/+8
The vendor code uses different clock values for this clock. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11384/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Rename CGU_SYS_VR9 registerHauke Mehrtens1-4/+5
This register is also used on other SoCs. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11383/ Patchwork: https://patchwork.linux-mips.org/patch/11397/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add support for setting PMU register on AR10 and GRX390Hauke Mehrtens1-11/+73
This adds support for setting the PMU register on the AR10 and GRX390. Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11382/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: Lantiq: Add locking for PMU register and check status afterwardsHauke Mehrtens1-5/+27
The PMU register are accessed in a non atomic way and they could be accessed by different threads simultaneously, which could cause problems this patch adds locking around the PMU registers. In addition we now also wait till the PMU is actually deactivated. [[email protected]: Fix spelling mistake in commit message as noticed by Sergei Shtylyov <[email protected]>.] Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11381/ Patchwork: https://patchwork.linux-mips.org/patch/11396/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BCM47xx: Fetch board info directly in callback functionRafał Miłecki3-19/+18
This drops another symbol dependency between setup.c and sprom.c which will allow us to make SPROM code a separated module (and share it with ARM). Patch tested on Linksys WRT300N V1. Signed-off-by: Rafał Miłecki <[email protected]> Cc: Hauke Mehrtens <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11360/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BCM47xx: Fix some WARNINGs pointed in sprom.c by checkpatch.plRafał Miłecki1-9/+16
There are still few left: 1) Most of them about lines over 80 chars (increased readability exception) 2) Wrong parsing of preprocessor macros Signed-off-by: Rafał Miłecki <[email protected]> Cc: [email protected] Cc: Hauke Mehrtens <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/11356/ Signed-off-by: Ralf Baechle <[email protected]>
2015-11-11MIPS: BCM47xx: Support on-SoC bus in SPROM reading functionRafał Miłecki1-2/+6
To support (extract) SPROM on Broadcom ARM devices we should separate SPROM code and make it a separated module. We won't want to export bcm47xx_fill_sprom symbol so we should support SoC SPROM in the standard fallback function and then modify ssb to use it. Signed-off-by: Rafał Miłecki <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11355/ Signed-off-by: Ralf Baechle <[email protected]>