05 Jul, 2014

4 commits

  • The mach-mxs platform is actually co-maintained by myself and
    pengutronix folks. Also it's hosted in the same kernel tree as IMX.
    So let's merge the entry into IMX one.

    Signed-off-by: Shawn Guo
    Acked-by: Sascha Hauer
    Signed-off-by: Olof Johansson

    Shawn Guo
     
  • mvebu fixes for v3.16 (round #2)

    - mvebu
    - Fix PCIe deadlock now that SMP is enabled
    - Fix cpuidle for big-endian systems

    * tag 'mvebu-fixes-3.16-2' of git://git.infradead.org/linux-mvebu:
    ARM: mvebu: fix cpuidle implementation to work on big-endian systems
    ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup
    ARM: mvebu: move Armada 375 external abort logic as a quirk

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • This partly reverts commits 553600502b84 (ARM: sunxi: Remove reset code from
    the platform) and 5e669ec583e2 (ARM: sunxi: Remove init_machine callback) for
    the sun4i, sun5i and sun7i families.

    This is needed because the watchdog counterpart of these commits was dropped,
    and didn't make it into 3.16. In order to still be able to reboot the board, we
    need to reintroduce that code. Of course, the long term view is still to get
    rid of that code in mach-sunxi.

    Signed-off-by: Maxime Ripard
    Signed-off-by: Olof Johansson

    Maxime Ripard
     
  • …ux/kernel/git/tmlind/linux-omap into fixes

    Merge OMAP fixes from Tony Lindgren:

    Fixes for omaps for issues discovered during the merge window and
    enabling of a few features that had to wait for the driver
    dependencies to clear.

    The fixes included are:

    - Fix am43xx hard reset flags
    - Fix SoC detection for DRA722
    - Fix CPU OPP table for omap5
    - Fix legacy mux parser bug if requested muxname is a prefix of
    multiple mux entries
    - Fix qspi interrupt binding that relies on the irq crossbar
    that has not yet been enabled
    - Add missing phy_sel for am43x-epos-evm
    - Drop unused gic_init_irq() that is no longer needed

    And the enabling of features that had driver dependencies are:

    - Change dra7 to use Audio Tracking Logic clock instead of a fixed
    clock now that the clock driver for it has been merged

    - Enable off idle configuration for selected omaps as all the kernel
    dependencies for device tree based booting are finally merged as
    this is needed to get the automated PM tests working finally with
    device tree based booting

    - Add hwmod entry for ocp2scp3 for omap5 to get sata working as
    all the driver dependencies are now in the kernel and this patch
    fell through the cracks during the merge window

    * tag 'omap-for-v3.16/fixes-against-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: dts: dra7-evm: remove interrupt binding
    ARM: OMAP2+: Fix parser-bug in platform muxing code
    ARM: DTS: dra7/dra7xx-clocks: ATL related changes
    ARM: OMAP2+: drop unused function
    ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm
    ARM: dts: omap5: Update CPU OPP table as per final production Manual
    ARM: DRA722: add detection of SoC information
    ARM: dts: Enable twl4030 off-idle configuration for selected omaps
    ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods
    ARM: OMAP2+: hwmod: Change hardreset soc_ops for AM43XX

    Olof Johansson
     

01 Jul, 2014

3 commits

  • On Marvell Armada XP, when a CPU comes back from deep idle state of
    cpuidle, it restarts its execution at armada_370_xp_cpu_resume(),
    which puts back the CPU into the coherency, and then calls the generic
    cpu_resume() function.

    While this works on little-endian configurations, it doesn't work on
    big-endian configurations because the CPU restarts in little-endian,
    and therefore must be switched back to big-endian to operate
    properly. To achieve this, a 'setend be' instruction must be executed
    in big-endian configurations. However, the ARM_BE8() macro that is
    used to implement nice compile-time conditional for ARM LE vs. ARM BE8
    is not easily usable in inline assembly.

    Therefore, this patch moves the armada_370_xp_cpu_resume() C function,
    which was anyway just a block of inline assembly, into a proper
    pmsu_ll.S file, and adds the appropriate ARM_BE8(setend be)
    instruction.

    Without this patch, an Armada XP big endian configuration with cpuidle
    enabled fails to boot, as it hangs as soon as one of the CPU hits the
    deep idle state.

    Signed-off-by: Thomas Petazzoni
    Link: https://lkml.kernel.org/r/1404130165-3593-1-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     
  • Commit 497a92308af8e9385fa3d135f7f416a997e4b93b ("ARM: mvebu:
    implement L2/PCIe deadlock workaround") introduced some logic in
    coherency.c to adjust the PL310 cache controller Device Tree node of
    Armada 375 and Armada 38x platform to include the 'arm,io-coherent'
    property if the system is running with hardware I/O coherency enabled.

    However, with the L2CC driver cleanup done by Russell King, the
    initialization of the L2CC driver has been moved earlier, and is now
    part of the init_IRQ() ARM function in
    arch/arm/kernel/irq.c. Therefore, calling coherency_init() in
    ->init_time() is now too late, as the Device Tree property gets added
    too late (after the L2CC driver has been initialized).

    In order to fix this, this commit removes the ->init_time() callback
    use in board-v7.c and replaces it with an ->init_irq() callback. We
    therefore no longer use the default ->init_irq() callback, but we now
    use the default ->init_time() callback.

    In this newly introduced ->init_irq() callback, we call irqchip_init()
    which is the default behavior when ->init_irq() isn't defined, and
    then do the initialization related to the coherency: SCU, coherency
    fabric, and mvebu-mbus (which is needed to start secondary CPUs).

    Signed-off-by: Thomas Petazzoni
    Link: https://lkml.kernel.org/r/1402585772-10405-4-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     
  • In preparation to a small re-organization of the initialization
    sequence in board-v7.c, this commit moves the registration of the
    custom external abort handler on Armada 375 later in the boot
    sequence, and makes it more similar to the other quirks that we
    already have. There is indeed no need to register this abort handler
    particularly early, it simply needs to be registered before switching
    to userspace.

    In addition to this, this commit makes the registration of the custom
    abort handler conditional on Armada 375 Z1, because Armada 375 A0 and
    later iterations are not affected by the issue.

    This commit was tested on both Armada 375 Z1 and Armada 375 A0
    platforms.

    Signed-off-by: Thomas Petazzoni
    Link: https://lkml.kernel.org/r/1402585772-10405-3-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     

27 Jun, 2014

1 commit

  • BCM (Kona/capri platform) has regressed in two ways on this release. First,
    bcm_defconfig no longer selected the appropriate MMC driver options due to
    changes in dependencies. Secondly, the new MFD and regulator drivers were not
    enabled on multi_v7_defconfig, so that caused the system to fail probing MMC
    there.

    Fix by enabling the new options as needed.

    Cc: Matt Porter
    Cc: Christian Daudt
    Signed-off-by: Olof Johansson

    Olof Johansson
     

26 Jun, 2014

3 commits

  • Merge "First AT91 fixes batch for 3.16" from Nicolas Ferre:

    - drivers/misc fix for Kconfig PWM symbol
    - correction of several values in DT after conversion to CCF
    - fix at91sam9261/at91sam9261ek mistake in slow crystal vs. slow RC osc

    * tag 'at91-fixes' of git://github.com/at91linux/linux-at91:
    ARM: at91/dt: sam9261: remove slow RC osc
    ARM: at91/dt: define sam9261ek slow crystal frequency
    ARM: at91/dt: sam9261: correctly define mainck
    ARM: at91/dt: sam9n12: correct PLLA ICPLL and OUT values
    ARM: at91/dt: sam9x5: correct PLLA ICPLL and OUT values
    misc: atmel_pwm: fix Kconfig symbols

    Arnd Bergmann
     
  • Merge "mvebu fixes for v3.16" from Jason Cooper:

    - mvebu
    - Fix broken SoC ID detection
    - Select ARM_CPU_SUSPEND for v7
    - Remove armada38x compatible string (no users yet)

    - kirkwood
    - Fix phy-connection-type on GuruPlug board

    * tag 'mvebu-fixes-3.16' of git://git.infradead.org/linux-mvebu:
    ARM: mvebu: Fix the improper use of the compatible string armada38x using a wildcard
    ARM: dts: kirkwood: fix phy-connection-type for Guruplug
    ARM: mvebu: select ARM_CPU_SUSPEND for Marvell EBU v7 platforms
    ARM: mvebu: Fix broken SoC ID detection

    Arnd Bergmann
     
  • The at91sam9261 doesn't actually have a slow RC oscillator, remove it from the
    dtsi.

    Signed-off-by: Alexandre Belloni
    Acked-by: Boris BREZILLON
    Signed-off-by: Nicolas Ferre

    Alexandre Belloni
     

25 Jun, 2014

5 commits


24 Jun, 2014

3 commits

  • Commit 07e461cd7e73a84f0e3757932b93cc80976fd749
    "of: Ensure unique names without sacrificing determinism"
    caused a boot failure regression on the Integrator machines.

    The problem is probably caused by fiddling too much with
    the device tree population in the OF init function, such
    as passing the SoC bus device as parent when populating
    the device tree.

    This patch fixes the problem by:

    - Avoiding to explicitly look up the tree root
    - Look up devices needed before device population from
    the match only, passing NULL as root
    - Passing NULL as root and parent when calling
    of_platform_populate()

    After this the Integrators boot again. Tested on
    Integrator/AP and Integrator/CP.

    Cc: Grant Likely
    Signed-off-by: Linus Walleij
    Signed-off-by: Arnd Bergmann

    Linus Walleij
     
  • Wildcards in compatible strings should be avoid. "marvell,armada38x"
    was recently introduced but was not yet used.

    The armada 385 SoC is a superset of the armada 380 SoC (with more CPUs
    and more PCIe slots). So this patch replaces the use of
    "marvell,armada38x" by the "marvell,armada380" string.

    Signed-off-by: Gregory CLEMENT
    Link: https://lkml.kernel.org/r/1403533011-21339-1-git-send-email-gregory.clement@free-electrons.com
    Acked-by: Andrew Lunn
    Cc: # v3.15+
    Signed-off-by: Jason Cooper

    Gregory CLEMENT
     
  • Commit eeb845459a72e792a959278b858f9c417e9995bd
    ("ARM: dts: kirkwood: set Guruplug phy-connection-type to rgmii-id")
    added phy-connection-type properties to ethernet PHY nodes.

    Actually, the property has to be set for the ethernet port node instead.
    Fix it by moving the corresponding properties to the correct nodes.

    Signed-off-by: Sebastian Hesselbarth
    Link: https://lkml.kernel.org/r/1403555115-13111-1-git-send-email-sebastian.hesselbarth@gmail.com
    Fixes: eeb845459a72: ('ARM: dts: kirkwood: set Guruplug phy-connection-type to rgmii-id')
    Cc: # v3.16+
    Signed-off-by: Jason Cooper

    Sebastian Hesselbarth
     

23 Jun, 2014

2 commits

  • …nguo/linux into fixes

    Pull "i.MX fixes for 3.16" from Shawn Guo:

    - Use GPIO for card CD/WP on imx51-babbage and eukrea-mbimxsd51,
    because controller base CD/WP is not working in esdhc driver due to
    runtime PM support
    - A couple of random ventana gw5xxx board fixes
    - Add IMX_IPUV3_CORE back to defconfig, which gets lost when moving
    IPUv3 driver out of staging tree
    - Fix enet/fec clock selection on imx6sl
    - Fix display node on imx53-m53evk board
    - A couple of Cubox-i updates from Russell, which were omitted from
    the merge window due to dependency

    * tag 'imx-fixes-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
    ARM: dts: imx51-eukrea-mbimxsd51-baseboard: unbreak esdhc.
    ARM: dts: imx51-babbage: Fix esdhc setup
    ARM: dts: mx5: Move the display out of soc {} node
    ARM: dts: mx5: Fix IPU port node placement
    ARM: imx_v6_v7_defconfig: Enable CONFIG_IMX_IPUV3_CORE
    ARM: dts: hummingboard/cubox-i: move usb otg configuration to platform level
    ARM: dts: cubox-i: add support for PWM-driven front panel LED
    ARM: dts: imx6: ventana: correct gw52xx sgtl5000 clock source
    ARM: dts: imx6qdl-gw5xxx: Fix Linear Technology vendor prefix
    ARM: dts: imx6: ventana: fix include typo
    ARM: dts: imx6sl: correct the fec ipg clock source
    ARM: imx6sl: add missing enet clock for imx6sl

    Arnd Bergmann
     
  • …ne/linux-samsung into fixes

    Merge Samsung fixes for 3.16 from Kukjin Kim:

    - use WFI macro in platform_do_lowpower because exynos cpuhotplug
    includes a hardcoded WFI instruction and it causes compile error
    in Thumb-2 mode.
    - fix GIC reg sizes for exynos4 SoCs
    - remove reset timer counter value during boot and resume for mct
    to fix a big jump in printk timestamps
    - fix pm code to check cortex-A9 for another exynos SoCs
    - don't rely on firmware's secondary_cpu_start for mcpm

    * tag 'samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: EXYNOS: Don't rely on firmware's secondary_cpu_start for mcpm
    ARM: EXYNOS: fix pm code to check for cortex A9 rather than the SoC
    clocksource: exynos_mct: Don't reset the counter during boot and resume
    ARM: dts: fix reg sizes of GIC for exynos4
    ARM: EXYNOS: Use wfi macro in platform_do_lowpower

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Arnd Bergmann
     

21 Jun, 2014

7 commits

  • On exynos mcpm systems the firmware is hardcoded to jump to an address
    in SRAM (0x02073000) when secondary CPUs come up. By default the
    firmware puts a bunch of code at that location. That code expects the
    kernel to fill in a few slots with addresses that it uses to jump back
    to the kernel's entry point for secondary CPUs.

    Originally (on prerelease hardware) this firmware code contained a
    bunch of workarounds to deal with boot ROM bugs. However on all
    shipped hardware we simply use this code to redirect to a kernel
    function for bringing up the CPUs.

    Let's stop relying on the code provided by the bootloader and just
    plumb in our own (simple) code jump to the kernel. This has the nice
    benefit of fixing problems due to the fact that older bootloaders
    (like the one shipped on the Samsung Chromebook 2) might have put
    slightly different code into this location.

    Once suspend/resume is implemented for systems using exynos-mcpm we'll
    need to make sure we reinstall our fixed up code after resume. ...but
    that's not anything new since IRAM (and thus the address of the
    mcpm_entry_point) is lost across suspend/resume anyway.

    Signed-off-by: Doug Anderson
    Acked-by: Kevin Hilman
    Tested-by: Kevin Hilman
    Acked-by: Nicolas Pitre
    Signed-off-by: Kukjin Kim

    Doug Anderson
     
  • The following commit:
    89d7e5c mmc: sdhci-esdhc-imx: add runtime pm support
    has the effect of also disabling the hardware card detect
    in runtime pm.

    We switch to GPIO based detection to avoid this issue.

    This patch is based on:
    ARM: dts: imx51-babbage: Fix esdhc setup

    Signed-off-by: Denis Carikli
    Signed-off-by: Shawn Guo

    Denis Carikli
     
  • Since commit 89d7e5c13122 (mmc: sdhci-esdhc-imx: add runtime pm
    support), controller based card detection / write protection is not
    supported anymore by esdhc driver. Let's use GPIO for CD/WP on esdhc1
    instead.

    While at it, fix cd gpio polarity for esdhc2. This is wrong and
    currently only works because the imx esdhc driver ignores the polarity.

    Signed-off-by: Sascha Hauer
    Signed-off-by: Shawn Guo

    Sascha Hauer
     
  • Move the display {} node out of the soc {} node . This just aligns
    the DT with other boards, there is no functional change.

    Signed-off-by: Marek Vasut
    Signed-off-by: Shawn Guo

    Marek Vasut
     
  • The "port" node was misplaced in the original patch, therefore making
    the LCD dysfunctional on this board. Fix this by moving the "port" DT
    node into the "display {}" node.

    Signed-off-by: Marek Vasut
    Acked-by: Philipp Zabel
    Signed-off-by: Shawn Guo

    Marek Vasut
     
  • On Marvell Armada platforms, the PMSU (Power Management Service Unit)
    controls a number of power management related activities, needed for
    things like suspend/resume, CPU hotplug, cpuidle or even simply SMP.

    Since cpuidle support was added for Armada XP, the pmsu.c file in
    arch/arm/mach-mvebu/ calls the cpu_suspend() and cpu_resume() ARM
    functions, which are only available when
    CONFIG_ARM_CPU_SUSPEND=y. Therefore, configurations that have
    CONFIG_ARM_CPU_SUSPEND disabled due to PM_SLEEP being disabled no
    longer build properly, due to undefined references to cpu_suspend()
    and cpu_resume().

    To fix this, this patch simply ensures CONFIG_ARM_CPU_SUSPEND is
    always enabled for Marvell EBU v7 platforms. Doing things in a more
    fine-grained way would require a lot of #ifdef-ery in pmsu.c to
    isolate the parts that use cpu_suspend()/cpu_resume(), and those parts
    would anyway have been needed as soon as either one of suspend/resume,
    CPU hotplug or cpuidle was enabled.

    Reported-by: Ezequiel Garcia
    Signed-off-by: Thomas Petazzoni
    Link: https://lkml.kernel.org/r/1402488397-31381-1-git-send-email-thomas.petazzoni@free-electrons.com
    Acked-by: Ezequiel Garcia
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     
  • Currently the mvebu boards need to detect the SoC revision in order to apply
    some quirks needed to workaround issues found on I2C and thermal controllers
    present only in very early SoC.

    This detection requires PCI address translation to work, so we need to
    explicitly select OF_ADDRESS_PCI.

    This can be considered a partial revert of the following commit, that
    wrongly removed the option selection:

    commit 55400f3a1f89e39761f45c19f6e4235a329c400b
    Author: Rob Herring
    Date: Tue Apr 22 14:15:52 2014 -0500

    ARM: mvebu: clean-up unneeded kconfig selects

    Signed-off-by: Ezequiel Garcia
    Link: https://lkml.kernel.org/r/1402347165-19988-1-git-send-email-ezequiel.garcia@free-electrons.com
    Acked-by: Rob Herring
    Signed-off-by: Jason Cooper

    Ezequiel Garcia
     

20 Jun, 2014

3 commits

  • Since commit 39b9004d1f (gpu: ipu-v3: Move i.MX IPUv3 core driver out of
    staging) the ipuv3 core driver is no longer built bey default.

    Select CONFIG_IMX_IPUV3_CORE so that the core ipuv3 code can be built again.

    Signed-off-by: Fabio Estevam
    Signed-off-by: Shawn Guo

    Fabio Estevam
     
  • This patch adds QCOM GSBI config option to multi_v7_defconfig. Serial
    driver on QCOM APQ8064 depends on GSBI driver, so without this patch
    there is no serial console on IF6410 board using multi_v7_defconfig.

    Signed-off-by: Srinivas Kandagatla
    Signed-off-by: Arnd Bergmann

    Srinivas Kandagatla
     
  • Merge "STi: DT fixes for v3.16" from Maxime Coquelin:

    Couple of DT fixes for STi platform issues discovered on V3.16-rc1.

    The fixes included are:
    - Ethernet clocks were wrongly defined for STiH415/416 platforms
    - STiH416 B2020 revision E DTS file name contained uppercase, change to
    lowercase.

    * tag 'sti-fixes-for-v3.16-rc1' of git://git.stlinux.com/devel/kernel/linux-sti: (2963 commits)
    ARM: stih41x: Rename stih416-b2020-revE.dts to stih416-b2020e.dts
    ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

19 Jun, 2014

1 commit


18 Jun, 2014

3 commits

  • WARNING: drivers/tty/built-in.o(.data+0x3544): Section mismatch in
    reference from the variable msm_platform_driver to the function
    .init.text:msm_serial_probe()
    The variable msm_platform_driver references
    the function __init msm_serial_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

    Signed-off-by: Kumar Gala
    Signed-off-by: Arnd Bergmann

    Kumar Gala
     
  • Since commit:

    commit d93003e8e4e1fbbc8a06ec561a63f5aa105a4c45
    Author: Sebastian Hesselbarth
    Date: Thu Apr 24 22:58:30 2014 +0100

    ARM: 8042/1: iwmmxt: allow to build iWMMXt on Marvell PJ4B

    fixed the error that prevented Dove SoC from being built with
    the rest of the mvebu SoCs, we can now add it to the defconfig.

    In addition, this commit enables SERIAL_OF_PLATFORM, which is required
    to have UART on some of the boards.

    Signed-off-by: Ezequiel Garcia
    Signed-off-by: Arnd Bergmann

    Ezequiel Garcia
     
  • We have an soc check to ensure that the scu and certain A9 specific
    registers are not accessed on Exynos5250 (which is A15 based).
    Rather than adding another soc specific check for 5420 let us test
    for the Cortex A9 primary part number.

    This resolves the below crash seen on exynos5420 during core switching
    after the CPUIdle consolidation series was merged.

    [ 155.975589] [] (scu_enable) from [] (exynos_cpu_pm_notifier+0x80/0xc4)
    [ 155.983833] [] (exynos_cpu_pm_notifier) from [] (notifier_call_chain+0x44/0x84)
    [ 155.992851] [] (notifier_call_chain) from [] (cpu_pm_notify+0x20/0x3c)
    [ 156.001089] [] (cpu_pm_notify) from [] (cpu_pm_exit+0x20/0x38)
    [ 156.008635] [] (cpu_pm_exit) from [] (bL_switcher_thread+0x298/0x40c)
    [ 156.016788] [] (bL_switcher_thread) from [] (kthread+0xcc/0xe8)
    [ 156.024426] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
    [ 156.031621] Code: ea017fec c0530a00 c052e3f8 c0012dcc (e5903000

    Signed-off-by: Abhilash Kesavan
    Signed-off-by: Kukjin Kim

    Abhilash Kesavan
     

17 Jun, 2014

5 commits

  • The System Type menu is getting quite long with platforms and is
    inconsistent in handling of sub-arch specific options. Tidy up the menu
    by making platform options a menuconfig entry containing any platform
    specific config items.

    [arnd: change OMAP part according to suggestion from
    Tony Lindgren ]

    Signed-off-by: Rob Herring
    Signed-off-by: Arnd Bergmann

    Rob Herring
     
  • Following 5d01b7684b7e "mmc: simplify SDHCI Kconfig dependencies",
    SDHCI drivers that use MMC_SDHCI_PLTFM no longer select it, but
    instead depend on it. This means that multi_v7_defconfig no longer
    selects it, and hence many SDHCI drivers are no longer enabled.
    Explicitly enable MMC_SDHCI_PLTFM to solve this.

    Fixes: 5d01b7684b7e ("mmc: simplify SDHCI Kconfig dependencies")
    Signed-off-by: Stephen Warren
    Tested-by: Matt Porter
    Signed-off-by: Arnd Bergmann

    Stephen Warren
     
  • of_get_flat_dt_prop return type is now const.
    Fixes the following compilation warning introduced by commit 9d0c4dfedd96
    ("of/fdt: update of_get_flat_dt_prop in prep for libfdt")

    arch/arm/mach-exynos/exynos.c:259:6: warning:
    assignment discards ‘const’ qualifier from pointer target type [enabled by default]

    Signed-off-by: Sachin Kamat
    Reviewed-by: Tushar Behera
    Cc: Rob Herring
    Signed-off-by: Arnd Bergmann

    Sachin Kamat
     
  • This solves a problem with building with CONFIG_SMP=n due to missing
    sysram_base_addr (or sysram_ns_base_addr) variables.

    The new setup method is more awkward than I'd like for it to be, but
    it can't be done in init_early() since ioremap is not yet available,
    but it needs to happen before SMP.

    Reported-by: Russell King
    Cc: Kukjin Kim
    Cc: Daniel Lezcano
    Signed-off-by: Olof Johansson
    Reviewed-by: Tomasz Figa
    Signed-off-by: Arnd Bergmann

    Olof Johansson
     
  • The factory bootloader on A385-DB boards expect the ECC strength to be
    4 bits over 512 bytes. Hence, we need to specify this in the devicetree,
    to prevent the kernel from assuming any different ECC scheme.

    Signed-off-by: Ezequiel Garcia
    Link: https://lkml.kernel.org/r/1400941030-2123-3-git-send-email-ezequiel.garcia@free-electrons.com
    Signed-off-by: Jason Cooper

    Ezequiel Garcia