firefly-linux-kernel-4.4.55.git
12 years agomodify for rga.h independ
zsq [Thu, 1 Mar 2012 07:40:35 +0000 (23:40 -0800)]
modify for rga.h independ

12 years agomodify RGA driver some case is valid
zsq [Thu, 1 Mar 2012 03:32:53 +0000 (19:32 -0800)]
modify RGA driver some case is valid

12 years agork30:modify dma_free_coherent operation for spim
lw [Wed, 29 Feb 2012 09:36:39 +0000 (17:36 +0800)]
rk30:modify dma_free_coherent operation for spim

12 years agork30:modify dma_alloc_coherent operation for spim
lw [Wed, 29 Feb 2012 09:22:57 +0000 (17:22 +0800)]
rk30:modify dma_alloc_coherent operation for spim

12 years agork30:add gyroscope l3d4200d support
lw [Wed, 29 Feb 2012 08:14:50 +0000 (16:14 +0800)]
rk30:add gyroscope l3d4200d support

12 years agork: i2s: fix compile error
黄涛 [Tue, 28 Feb 2012 11:55:29 +0000 (19:55 +0800)]
rk: i2s: fix compile error

12 years agork30: fb: fix compile error
黄涛 [Tue, 28 Feb 2012 11:47:54 +0000 (19:47 +0800)]
rk30: fb: fix compile error

12 years agork: move early_printk.c from mach-rk29 to plat-rk and add RK_EARLY_PRINTK config
黄涛 [Tue, 28 Feb 2012 11:19:37 +0000 (19:19 +0800)]
rk: move early_printk.c from mach-rk29 to plat-rk and add RK_EARLY_PRINTK config

12 years agork30 fb: add interface to show image directly in kernel
yxj [Tue, 28 Feb 2012 10:23:28 +0000 (18:23 +0800)]
rk30 fb: add interface to show image directly in kernel
 add ARGB888 support,enable RB swap

12 years agork30: refactor i2s init code
黄涛 [Tue, 28 Feb 2012 09:10:11 +0000 (17:10 +0800)]
rk30: refactor i2s init code

12 years agoupdate i2s codec
邱建斌 [Tue, 28 Feb 2012 07:57:15 +0000 (15:57 +0800)]
update i2s codec

12 years ago rk30: debug: add FIQ mode serial debugger
hhb [Tue, 28 Feb 2012 06:29:31 +0000 (14:29 +0800)]
rk30: debug: add FIQ mode serial debugger

12 years agork30 lcdc:完善rk_fb.c中的相关接口
yxj [Mon, 27 Feb 2012 09:54:07 +0000 (17:54 +0800)]
rk30 lcdc:完善rk_fb.c中的相关接口

12 years agork30 fb: 完善 rk_fb_register 框架
yxj [Fri, 24 Feb 2012 01:45:58 +0000 (09:45 +0800)]
rk30 fb: 完善 rk_fb_register 框架

12 years agork30: clock: add clk_set_rate
黄涛 [Mon, 27 Feb 2012 06:34:30 +0000 (14:34 +0800)]
rk30: clock: add clk_set_rate

12 years agork30: add basic support for sdmmc
黄涛 [Mon, 27 Feb 2012 06:31:27 +0000 (14:31 +0800)]
rk30: add basic support for sdmmc

12 years agork30:add tsadc support
lw [Sat, 25 Feb 2012 08:19:49 +0000 (16:19 +0800)]
rk30:add tsadc support

12 years agoupdate i2c driver: for compile error
kfx [Fri, 24 Feb 2012 09:20:13 +0000 (17:20 +0800)]
update i2c driver: for compile error

12 years agork29: fix vivante Kconfig, only for rk29
黄涛 [Thu, 23 Feb 2012 08:58:16 +0000 (16:58 +0800)]
rk29: fix vivante Kconfig, only for rk29

12 years agork30: port ipp
黄涛 [Thu, 23 Feb 2012 08:57:25 +0000 (16:57 +0800)]
rk30: port ipp

12 years agork: move rk29-ipp.h from mach-rk29 to plat-rk
黄涛 [Thu, 23 Feb 2012 08:22:42 +0000 (16:22 +0800)]
rk: move rk29-ipp.h from mach-rk29 to plat-rk

12 years agork30: add RGA driver
黄涛 [Thu, 23 Feb 2012 08:04:40 +0000 (16:04 +0800)]
rk30: add RGA driver

12 years agork: board.h: revert rk29fb_info name changed by yxj
黄涛 [Wed, 22 Feb 2012 11:11:54 +0000 (19:11 +0800)]
rk: board.h: revert rk29fb_info name changed by yxj

12 years agork30: refactor code
黄涛 [Wed, 22 Feb 2012 08:06:07 +0000 (16:06 +0800)]
rk30: refactor code

12 years agocpufreq: introduce hotplug governor
黄涛 [Wed, 22 Feb 2012 06:54:22 +0000 (14:54 +0800)]
cpufreq: introduce hotplug governor

12 years agocpufreq: introduce hotplug governor
黄涛 [Wed, 22 Feb 2012 06:49:20 +0000 (14:49 +0800)]
cpufreq: introduce hotplug governor

port from ti.

12 years agoMerge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
yxj [Wed, 22 Feb 2012 06:39:17 +0000 (14:39 +0800)]
Merge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30

12 years agork30 fb:base version ,can show linux boot logo
yxj [Wed, 22 Feb 2012 06:37:53 +0000 (14:37 +0800)]
rk30 fb:base version ,can show linux boot logo

12 years agoARM: 7297/1: smp_twd: make sure timer is stopped before registering it
Marc Zyngier [Fri, 20 Jan 2012 11:24:47 +0000 (12:24 +0100)]
ARM: 7297/1: smp_twd: make sure timer is stopped before registering it

On secondary CPUs, the Timer Control Register is not reset
to a sane value before the timer is registered, and the TRM
doesn't seem to indicate any reset value either. In some cases,
the kernel will take an interrupt too early, depending on what
junk was present in the registers at reset time.

The fix is to set the Timer Control Register to 0 before
registering the clock_event_device and enabling the interrupt.

Problem seen on VE (Cortex A5) and Tegra.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 years agoARM: twd: register clockevents device before enabling PPI
Will Deacon [Wed, 20 Jul 2011 13:18:46 +0000 (14:18 +0100)]
ARM: twd: register clockevents device before enabling PPI

The smp_twd clockevents driver currently enables the local timer PPI
before the clockevents device is registered. This can lead to a kernel
panic if a spurious timer interrupt is generated before registration
has completed since the kernel will treat it as an IPI timer.

This patch moves the clockevents device registration before the IRQ
unmasking so that we can always handle timer interrupts once they can
occur.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: smp_twd: use clockevents_update_freq to update frequency
Colin Cross [Sat, 29 Oct 2011 21:06:07 +0000 (14:06 -0700)]
ARM: smp_twd: use clockevents_update_freq to update frequency

clockevents_reconfigure was an older api that doesn't handle
updating the max time between ticks when the frequency changes.
Under some conditions, the boot value of max_delta_ns scaled
by the mult/shift values for the current frequency can result
in a value of 0x200000004 selected as the number of cycles to
program for a long tick, which gets wrapped to 0x4.

Also switch to the matching clockevents_config_and_register
function to register the clockevent, which handles converting
the min/max ticks to ns during init.

Change-Id: I6ca659c309e7bb031cdb1954767b5aa7a022ff44
Signed-off-by: Colin Cross <ccross@android.com>
12 years agoARM: smp_twd: Reconfigure clockevents after cpufreq change
Colin Cross [Mon, 16 May 2011 23:21:54 +0000 (16:21 -0700)]
ARM: smp_twd: Reconfigure clockevents after cpufreq change

The localtimer's clock changes with the cpu clock.  After a
cpufreq transition, update the clockevent's frequency and
reprogram the next clock event.

Adds a clock called "smp_twd" that is used to determine the
twd frequency, which can also be used at init time to
avoid calibrating the twd frequency.

Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Rob Herring <robherring2@gmail.com>
12 years agoARM: mm: fix racy ASID rollover broadcast on SMP platforms
Will Deacon [Fri, 20 May 2011 11:19:58 +0000 (12:19 +0100)]
ARM: mm: fix racy ASID rollover broadcast on SMP platforms

If ASID rollover is detected on a CPU in an SMP system, a synchronous
IPI call is made to force the secondaries to reallocate their current
ASIDs.

There is a problem where a CPU may be interrupted in the cpu_switch_mm
code with the context ID held in r1. After servicing the IPI, the
context ID register will be updated with an ASID from the previous
generation, polluting the TLB for when that ASID becomes valid in the
new generation.

This patch disables interrupts during cpu_switch_mm for SMP systems,
preventing incoming rollover broadcasts from being serviced while the
register state is inconsistent. Additionally, the context resetting code
is modified to call cpu_switch_mm, rather than setting the context ID
register directly, so that the TTBR always agrees with the ASID.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: vfp: Use cpu pm notifiers to save vfp state
Colin Cross [Thu, 10 Feb 2011 10:08:32 +0000 (02:08 -0800)]
ARM: vfp: Use cpu pm notifiers to save vfp state

When the cpu is powered down in a low power mode, the vfp
registers may be reset.

This patch uses CPU_PM_ENTER and CPU_PM_EXIT notifiers to save
and restore the cpu's vfp registers.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
12 years agoARM: Enable CPU_PM notifiers on ARM machines.
Santosh Shilimkar [Sat, 10 Sep 2011 06:00:28 +0000 (11:30 +0530)]
ARM: Enable CPU_PM notifiers on ARM machines.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
12 years agocpu_pm: call notifiers during suspend
Colin Cross [Fri, 22 Jul 2011 21:57:09 +0000 (14:57 -0700)]
cpu_pm: call notifiers during suspend

Implements syscore_ops in cpu_pm to call the cpu and
cpu cluster notifiers during suspend and resume,
allowing drivers receiving the notifications to
avoid implementing syscore_ops.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
12 years agocpu_pm: Add cpu power management notifiers
Colin Cross [Thu, 10 Feb 2011 10:04:45 +0000 (02:04 -0800)]
cpu_pm: Add cpu power management notifiers

During some CPU power modes entered during idle, hotplug and
suspend, peripherals located in the CPU power domain, such as
the GIC, localtimers, and VFP, may be powered down.  Add a
notifier chain that allows drivers for those peripherals to
be notified before and after they may be reset.

Notified drivers can include VFP co-processor, interrupt controller
and it's PM extensions, local CPU timers context save/restore which
shouldn't be interrupted. Hence CPU PM event APIs  must be called
with interrupts disabled.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Conflicts:

kernel/power/Kconfig

12 years agoadd gsensor mma8452 code support for board-rk30-sdk
lw [Tue, 21 Feb 2012 07:57:06 +0000 (15:57 +0800)]
add gsensor mma8452 code support for board-rk30-sdk

12 years agomfd: wm831x: add WM8326 support again
黄涛 [Mon, 20 Feb 2012 09:46:43 +0000 (17:46 +0800)]
mfd: wm831x: add WM8326 support again

12 years agork: update board.h
黄涛 [Mon, 20 Feb 2012 08:17:16 +0000 (16:17 +0800)]
rk: update board.h

move rk30_i2c_platform_data from plat to rk30
move boot mode, usb detect etc API from rk29 to plat
move spi_cs_gpio, rk29xx_spi_platform_data, rk29_bl_info from rk29/rk30 to plat

12 years agork30: timer: modernize clock event and clock source registration
黄涛 [Mon, 20 Feb 2012 07:43:16 +0000 (15:43 +0800)]
rk30: timer: modernize clock event and clock source registration

12 years agoarm: head.S: port to rk platform
黄涛 [Mon, 20 Feb 2012 07:17:28 +0000 (15:17 +0800)]
arm: head.S: port to rk platform

12 years agork: disable print_modules
黄涛 [Mon, 20 Feb 2012 06:30:18 +0000 (14:30 +0800)]
rk: disable print_modules

12 years agoarm: pl330: revert REVISION change
黄涛 [Mon, 20 Feb 2012 06:28:26 +0000 (14:28 +0800)]
arm: pl330: revert REVISION change

12 years agoarm: gic: port to rk platform
黄涛 [Mon, 20 Feb 2012 06:24:32 +0000 (14:24 +0800)]
arm: gic: port to rk platform

12 years agork30:add backlight config
lw [Mon, 20 Feb 2012 07:31:01 +0000 (15:31 +0800)]
rk30:add backlight config

12 years agork30:add rk30 backlight support
lw [Mon, 20 Feb 2012 07:02:52 +0000 (15:02 +0800)]
rk30:add rk30 backlight support

12 years agork30: io: add pwm register mapping
黄涛 [Mon, 20 Feb 2012 03:56:46 +0000 (11:56 +0800)]
rk30: io: add pwm register mapping

12 years agork30:add spim driver config
lw [Fri, 17 Feb 2012 07:33:37 +0000 (15:33 +0800)]
rk30:add spim driver config

12 years agoadd dma support for spim driver
lw [Fri, 17 Feb 2012 07:26:18 +0000 (15:26 +0800)]
add dma support for spim driver

12 years agoupdate i2c driver for 'no ack'
kfx [Thu, 16 Feb 2012 04:49:04 +0000 (12:49 +0800)]
update i2c driver for 'no ack'

12 years agoRK30 I2C drivers: new adapter(rk30) support
kfx [Wed, 15 Feb 2012 12:17:42 +0000 (20:17 +0800)]
RK30 I2C drivers: new adapter(rk30) support

12 years agork30: timer: set clockevent irq, fix for smp
黄涛 [Tue, 14 Feb 2012 10:35:39 +0000 (18:35 +0800)]
rk30: timer: set clockevent irq, fix for smp

12 years agork30: add pmu.h
黄涛 [Fri, 10 Feb 2012 08:46:09 +0000 (16:46 +0800)]
rk30: add pmu.h

12 years agork30: add sram support
黄涛 [Fri, 10 Feb 2012 08:30:54 +0000 (16:30 +0800)]
rk30: add sram support

12 years agork: move sram.c from mach-rk29 to plat-rk
黄涛 [Fri, 10 Feb 2012 08:27:40 +0000 (16:27 +0800)]
rk: move sram.c from mach-rk29 to plat-rk

12 years agork30: clock: add spi clock for fpga
黄涛 [Fri, 10 Feb 2012 08:10:05 +0000 (16:10 +0800)]
rk30: clock: add spi clock for fpga

12 years agork30: indent devices.c
黄涛 [Fri, 10 Feb 2012 07:48:17 +0000 (15:48 +0800)]
rk30: indent devices.c

12 years agork29: io.h include rk29_iomap.h
黄涛 [Fri, 10 Feb 2012 07:47:23 +0000 (15:47 +0800)]
rk29: io.h include rk29_iomap.h

12 years agork30:add spi support
lw [Fri, 10 Feb 2012 08:12:10 +0000 (16:12 +0800)]
rk30:add spi support

12 years agork30: DMA: modify 'include <mach/dma-pl330.h>' to '#include <plat/dma-pl330.h>'...
hhb [Fri, 10 Feb 2012 07:39:45 +0000 (15:39 +0800)]
rk30: DMA: modify 'include <mach/dma-pl330.h>' to  '#include <plat/dma-pl330.h>' in devices.c and rk_serial.c

12 years agork30: DMA: update pl330 driver
hhb [Fri, 10 Feb 2012 07:15:31 +0000 (15:15 +0800)]
rk30: DMA: update pl330 driver

12 years agork30:DMA:add driver for dma pl330
hhb [Fri, 10 Feb 2012 07:09:52 +0000 (15:09 +0800)]
rk30:DMA:add driver for dma pl330

12 years agoupdate i2c drivers
kfx [Thu, 9 Feb 2012 02:43:35 +0000 (10:43 +0800)]
update i2c drivers

12 years agork30: update board.h
黄涛 [Thu, 9 Feb 2012 02:31:47 +0000 (10:31 +0800)]
rk30: update board.h

12 years agork30: clock: add i2c clock for fpga
黄涛 [Thu, 9 Feb 2012 02:15:42 +0000 (10:15 +0800)]
rk30: clock: add i2c clock for fpga

12 years agork30:modify gpio pull up or down operation
lw [Wed, 8 Feb 2012 06:22:13 +0000 (14:22 +0800)]
rk30:modify gpio pull up or down operation

12 years agorename: board-rk30sdk-key.c --> board-rk30-sdk-key.c
kfx [Wed, 8 Feb 2012 03:47:32 +0000 (11:47 +0800)]
rename: board-rk30sdk-key.c --> board-rk30-sdk-key.c

12 years agoadd rk30 key drivers
kfx [Wed, 8 Feb 2012 03:37:48 +0000 (11:37 +0800)]
add rk30 key drivers

12 years agork30:add INVALID_GPIO define for gpio.h
lw@rock-chips.com [Wed, 8 Feb 2012 03:11:52 +0000 (11:11 +0800)]
rk30:add INVALID_GPIO define for gpio.h

12 years agork30: sdk: reserve is after fixup, before map_io
黄涛 [Wed, 8 Feb 2012 01:57:48 +0000 (09:57 +0800)]
rk30: sdk: reserve is after fixup, before map_io

12 years agork30: sdk: update defconfig
黄涛 [Tue, 7 Feb 2012 10:59:30 +0000 (18:59 +0800)]
rk30: sdk: update defconfig

12 years agork30: add serial support
黄涛 [Tue, 7 Feb 2012 10:49:15 +0000 (18:49 +0800)]
rk30: add serial support

12 years agork29: add dma-pl330.h
黄涛 [Tue, 7 Feb 2012 10:48:21 +0000 (18:48 +0800)]
rk29: add dma-pl330.h

12 years agork30: clock: add clk_get_rate
黄涛 [Tue, 7 Feb 2012 10:47:47 +0000 (18:47 +0800)]
rk30: clock: add clk_get_rate

12 years agork30: add early printk
黄涛 [Tue, 7 Feb 2012 10:46:54 +0000 (18:46 +0800)]
rk30: add early printk

12 years agork30: timer: fix ic bug
黄涛 [Tue, 7 Feb 2012 10:41:50 +0000 (18:41 +0800)]
rk30: timer: fix ic bug

12 years agork30: indent i2c code
黄涛 [Tue, 7 Feb 2012 10:24:58 +0000 (18:24 +0800)]
rk30: indent i2c code

12 years agoadd rk30 i2c drvier
kfx [Tue, 7 Feb 2012 10:06:57 +0000 (18:06 +0800)]
add rk30 i2c drvier

12 years agork30: move nand device from board to devices.c
黄涛 [Tue, 7 Feb 2012 08:01:27 +0000 (16:01 +0800)]
rk30: move nand device from board to devices.c

12 years agork30: annotate rk30_iomux_init as __init
黄涛 [Tue, 7 Feb 2012 07:47:02 +0000 (15:47 +0800)]
rk30: annotate rk30_iomux_init as __init

12 years agork30: add devices.c
黄涛 [Tue, 7 Feb 2012 07:40:21 +0000 (15:40 +0800)]
rk30: add devices.c

12 years agork30: timer: fix for smp
黄涛 [Tue, 7 Feb 2012 07:33:13 +0000 (15:33 +0800)]
rk30: timer: fix for smp

12 years agork30xxnand_ko.uu
zhaoyifeng [Tue, 7 Feb 2012 07:21:30 +0000 (15:21 +0800)]
rk30xxnand_ko.uu

12 years agoMerge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
zhaoyifeng [Tue, 7 Feb 2012 07:18:15 +0000 (15:18 +0800)]
Merge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30

12 years agork30 nand driver.
zhaoyifeng [Tue, 7 Feb 2012 07:16:46 +0000 (15:16 +0800)]
rk30 nand driver.

12 years agoadd iomux control for i2c bus
lw [Tue, 7 Feb 2012 06:53:06 +0000 (14:53 +0800)]
add iomux control for i2c bus

12 years agork30:modify table key size to make iomux code aligned
lw [Tue, 7 Feb 2012 06:34:24 +0000 (14:34 +0800)]
rk30:modify table key size to make iomux code aligned

12 years agork30:add gpio support
lw [Tue, 7 Feb 2012 06:15:09 +0000 (14:15 +0800)]
rk30:add gpio support

12 years agork30: irqs.h: fix NR_GIC_IRQS to 160, NR_GPIO_IRQS to 192
黄涛 [Tue, 7 Feb 2012 01:40:40 +0000 (09:40 +0800)]
rk30: irqs.h: fix NR_GIC_IRQS to 160, NR_GPIO_IRQS to 192

12 years agork30:add iomux support
lw@rock-chips.com [Mon, 6 Feb 2012 06:42:31 +0000 (14:42 +0800)]
rk30:add iomux support

12 years agomemory reserve: Initial Code
kfx [Mon, 6 Feb 2012 05:21:51 +0000 (13:21 +0800)]
memory reserve: Initial Code

12 years agork30: sdk: add defconfig
黄涛 [Sat, 4 Feb 2012 09:32:36 +0000 (17:32 +0800)]
rk30: sdk: add defconfig

12 years agork30: add timer support
黄涛 [Sat, 4 Feb 2012 09:26:15 +0000 (17:26 +0800)]
rk30: add timer support

12 years agork30: initial rk30 support
黄涛 [Sat, 4 Feb 2012 06:20:41 +0000 (14:20 +0800)]
rk30: initial rk30 support

12 years agodriver: Makefile: build dbg subdirectories depend on config option
黄涛 [Fri, 3 Feb 2012 08:18:51 +0000 (16:18 +0800)]
driver: Makefile: build dbg subdirectories depend on config option

12 years agohdmi: fix Makefile, build hdmi driver depend on config option
黄涛 [Fri, 3 Feb 2012 08:17:58 +0000 (16:17 +0800)]
hdmi: fix Makefile, build hdmi driver depend on config option

12 years agoARM: SMP: Refactor Kconfig to be more maintainable
Dave Martin [Thu, 2 Feb 2012 01:34:19 +0000 (09:34 +0800)]
ARM: SMP: Refactor Kconfig to be more maintainable

Making SMP depend on (huge list of MACH_ and ARCH_ configs) is
bothersome to maintain and likely to lead to merge conflicts.

This patch moves the knowledge of which platforms are SMP-capable
to the individual machines.  To enable this, a new HAVE_SMP config
option is introduced to allow machines to indicate that they can
run in a SMP configuration.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
        (for nomadik, ux500)
Acked-by: Tony Lindgren <tony@atomide.com>
        (for omap)
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
        (for exynos)
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
        (for imx)
Acked-by: Olof Johansson <olof@lixom.net>
        (for tegra)

12 years agoARM: SMP depends on MMU
Arnd Bergmann [Fri, 10 Jun 2011 14:05:22 +0000 (14:05 +0000)]
ARM: SMP depends on MMU

The SMP implementation on ARM heavily depends on MMU-only code.
As long as nobody is interested in fixing this, let's disable the
SMP option when building for nommu.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
12 years agoARM: l2x0/pl310: Refactor Kconfig to be more maintainable
Dave Martin [Wed, 1 Feb 2012 12:13:06 +0000 (20:13 +0800)]
ARM: l2x0/pl310: Refactor Kconfig to be more maintainable

Making CACHE_L2X0 depend on (huge list of MACH_ and ARCH_ configs)
is bothersome to maintain and likely to lead to merge conflicts.

This patch moves the knowledge of which platforms have a L2x0 or
PL310 cache controller to the individual machines.  To enable this,
a new MIGHT_HAVE_CACHE_L2X0 config option is introduced to allow
machines to indicate that they may have such a cache controller
independently of each other.

Boards/SoCs which cannot reliably operate without the L2 cache
controller support will need to select CACHE_L2X0 directly from
their own Kconfigs instead.  This applies to some TrustZone-enabled
boards where Linux runs in the Normal World, for example.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
        (for cns3xxx)
Acked-by: Tony Lindgren <tony@atomide.com>
        (for omap)
Acked-by: Shawn Guo <shawn.guo@linaro.org>
        (for imx)
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
        (for exynos)
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
        (for imx)
Acked-by: Olof Johansson <olof@lixom.net>
        (for tegra)