summaryrefslogtreecommitdiffstats
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* ARM: mach-kirkwood: remove mach/memory.hNicolas Pitre2011-09-262-10/+1
| | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
* ARM: mach-dove: remove include/mach/memory.hNicolas Pitre2011-09-262-10/+1
| | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
* ARM: prepare for removal of a bunch of <mach/memory.h> filesNicolas Pitre2011-09-263-2/+20
| | | | | | | | | | | | | When the CONFIG_NO_MACH_MEMORY_H symbol is selected by a particular machine class, the machine specific memory.h include file is no longer used and can be removed. In that case the equivalent information can be obtained dynamically at runtime by enabling CONFIG_ARM_PATCH_PHYS_VIRT or by specifying the physical memory address at kernel configuration time. If/when all instances of mach/memory.h are removed then this symbol could be removed. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
* ARM: mach-davinci: clean up debug-macro.SNicolas Pitre2011-09-261-24/+19
| | | | | | | | | | | | | | This achieves two goals: 1) Get rid of davinci_uart_v2p() and davinci_uart_p2v() which were the last users of PLAT_PHYS_OFFSET. 2) Remove the probing of the M bit in the CP15 control reg and make the access to the .data variables completely position independent. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com>
* ARM: mach-davinci: make DAVINCI_UART_INFO into a relative offsetNicolas Pitre2011-09-263-13/+18
| | | | | | | | | This is the first step to remove PLAT_PHYS_OFFSET usage from the debug UART code. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com>
* ARM: mach-omap2: clean up debug-macro.SNicolas Pitre2011-09-261-39/+31
| | | | | | | | | | | | | | | | | | | | | This achieves two goals: 1) Get rid of omap_uart_v2p() and omap_uart_p2v() which were the last users of PLAT_PHYS_OFFSET. 2) Remove the probing of the M bit in the CP15 control reg and make the access to the .data variables completely position independent. There is a catch though: the busyuart macro needs to know where the LSR register is which might be at a different offset depending on the hardware. Given that this macro is given only two registers and that one of them must be preserved, the trick is to always pass the LSR register address around, and deduce the base address for the THR register by masking out the LSR offset in senduart instead. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Kevin Hilman <khilman@ti.com>
* ARM: mach-omap1: clean up debug-macro.SNicolas Pitre2011-09-261-21/+17
| | | | | | | | | | | | | | This achieves two goals: 1) Get rid of omap_uart_v2p() and omap_uart_p2v() which were the last users of PLAT_PHYS_OFFSET. 2) Remove the probing of the M bit in the CP15 control reg and make the access to the .data variables completely position independent. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Kevin Hilman <khilman@ti.com>
* ARM: plat-omap: make OMAP_UART_INFO into a relative offsetNicolas Pitre2011-09-264-14/+17
| | | | | | | | | This is the first step to remove PLAT_PHYS_OFFSET usage from the debug UART code. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Kevin Hilman <khilman@ti.com>
* ARM: add an extra temp register to the low level debugging addruart macroNicolas Pitre2011-09-2655-58/+58
| | | | | | | | | | | | | Some platforms (like OMAP not to name it) are doing rather complicated hacks just to determine the base UART address to use. Let's give their addruart macro some slack by providing an extra work register which will allow for much needed cleanups. This is basically a no-op as this commit is only adding the extra argument to the macro but no one is using it yet. Signed-off-by: nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Kevin Hilman <khilman@ti.com>
* ARM: mach-prima2: move ARM_DMA_ZONE_SIZE to mdesc->dma_zone_sizeNicolas Pitre2011-09-062-7/+1
| | | | | | | | | | Original comment: Restrict DMA-able region to workaround silicon limitation. The limitation restricts buffers available for DMA to SD/MMC hardware to be below 256MB. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
* Merge the enabling by default of ARM_PATCH_PHYS_VIRTNicolas Pitre2011-08-299-73/+95
|\ | | | | | | | | Conflicts: arch/arm/mach-msm/board-msm7x30.c
| * ARM: 7013/1: P2V: Remove ARM_PATCH_PHYS_VIRT_16BITNicolas Pitre2011-08-134-68/+14
| | | | | | | | | | | | | | | | | | This code can be removed now that MSM targets no longer need the 16-bit offsets for P2V. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMsStephen Boyd2011-08-135-3/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSMs post 8x50 have 2Mb at the beginning of RAM reserved for shared memory. Since the kernel hasn't typically been told this RAM exists, PHYS_OFFSET has been set to 0xN0200000 and the memory atags passed to the kernel have matched. This doesn't play nicely with things such as AUTO_ZRELADDR, which doesn't work at all, and dynamic phys to virt, which requires an MSM specific workaround. Work around these issues by telling the kernel RAM starts at 0xN0000000 (it actually does) and fixup the atags from the bootloader (if necessary) to say the same. In addition, make sure to set TEXT_OFFSET at least 2Mb beyond the start of RAM so that the kernel doesn't end up being decompressed into shared memory. After doing this, AUTO_ZRELADDR should work on MSM with no problems and ARM_PATCH_PHYS_VIRT_16BIT should no longer be necessary. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * ARM: enable ARM_PATCH_PHYS_VIRT by defaultRussell King2011-08-111-2/+6
| | | | | | | | | | | | | | | | | | | | | | Enable virtual to physical translation patching by default in all kernels. Hide the option behind EMBEDDED. This can still be turned off if people desire, and they know what they're doing, to shrink the size of the kernel to a minimum. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | Merge branch 'atag_offset' of git://git.linaro.org/people/nico/linux into ↵Russell King2011-08-23329-415/+393
|\ \ | | | | | | | | | devel-stable
| * | ARM: remove boot_params from struct machine_descNicolas Pitre2011-08-212-20/+0
| | | | | | | | | | | | | | | | | | | | | Now that there is no more users, we can remove it from the kernel. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-prima2: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-w90x900: remove useless boot_params entriesNicolas Pitre2011-08-213-3/+0
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-vt8500: convert boot_params to atag_offsetNicolas Pitre2011-08-212-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: vexpress: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-versatile: convert boot-params to atag_offsetNicolas Pitre2011-08-212-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-ux500: convert boot-params to atag_offsetNicolas Pitre2011-08-212-4/+4
| | | | | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-u300: convert boot_params to atag_offsetNicolas Pitre2011-08-212-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Someone was smoking good stuff with CONFIG_MACH_U300_2MB_ALIGNMENT_FIX here... Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-tegra: convert boot_params to atag_offsetNicolas Pitre2011-08-214-6/+6
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-tcc8k: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-spear*: convert boot_params to atag_offsetNicolas Pitre2011-08-214-4/+4
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-shark: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-sa1100: convert boot_params to atag_offsetNicolas Pitre2011-08-2110-10/+10
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-s5pc100, mach-s5pv210: convert boot_params to atag_offsetNicolas Pitre2011-08-216-6/+6
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-s3c64xx: convert boot_params to atag_offsetNicolas Pitre2011-08-2110-10/+10
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-s5p64x0: convert boot_params to atag_offsetNicolas Pitre2011-08-212-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-s3c24*: convert boot_params to atag_offsetNicolas Pitre2011-08-2123-26/+26
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-rpc: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-realview: convert boot_params to atag_offsetNicolas Pitre2011-08-215-5/+5
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-pxa: convert boot_params to atag_offsetNicolas Pitre2011-08-2143-60/+60
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-pnx4008: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-orion5x: convert boot_params to atag_offsetNicolas Pitre2011-08-2121-23/+23
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-omap2: convert boot_params to atag_offsetNicolas Pitre2011-08-2127-33/+33
| | | | | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-omap1: convert boot_params to atag_offsetNicolas Pitre2011-08-2115-15/+15
| | | | | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-nuc93x: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+0
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-nomadik: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-netx: convert boot_params to atag_offsetNicolas Pitre2011-08-213-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-mx5: convert boot_params to atag_offsetNicolas Pitre2011-08-216-6/+6
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-mv78xx0: convert boot_params to atag_offsetNicolas Pitre2011-08-213-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-msm: convert boot_params to atag_offsetNicolas Pitre2011-08-217-13/+13
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-lpc32xx: convert boot_params to atag_offsetNicolas Pitre2011-08-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-ks8695: convert boot_params to atag_offsetNicolas Pitre2011-08-213-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-kirkwood: convert boot_params to atag_offsetNicolas Pitre2011-08-2114-20/+20
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-ixp4xx: convert boot_params to atag_offsetNicolas Pitre2011-08-2112-17/+17
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
| * | ARM: mach-ixp23xx: convert boot_params to atag_offsetNicolas Pitre2011-08-213-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
OpenPOWER on IntegriCloud