linux/arch/arm/include/debug
Geert Uytterhoeven 7a2071c58f ARM: shmobile: Add early debugging support using SCIF(A)
Add serial port debug macros for the SCIF(A) serial ports.
This includes all supported shmobile SoCs, except for EMEV2.

The configuration logic (both Kconfig and #ifdef) is more complicated than
one would expect, for several reasons:
  1. Not all SoCs have the same serial devices, and they're not always
     at the same addresses.
  2. There are two different types: SCIF and SCIFA. Fortunately they can
     easily be distinguished by physical address.
  3. Not all boards use the same serial port for the console.
     The defaults correspond to the boards that are supported in
     mainline. If you want to use a different serial port, just change
     the value of CONFIG_DEBUG_UART_PHYS, and the rest will auto-adapt.
  4. debug_ll_io_init() maps the SCIF(A) registers to a fixed virtual
     address. 0xfdxxxxxx was chosen, as it should lie below VMALLOC_END
     = 0xff000000, and must not conflict with the 2 MiB reserved region
     at PCI_IO_VIRT_BASE = 0xfee00000.
       - On SoCs not using the legacy machine_desc.map_io(),
	 debug_ll_io_init() is called by the ARM core code.
       - On SoCs using the legacy machine_desc.map_io(),
	 debug_ll_io_init() must be called explicitly. Calls are added
	 for r8a7740, r8a7779, sh7372, and sh73a0.

This was derived from the r8a7790 version by Laurent Pinchart.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-11-17 10:29:58 +09:00
..
8250.S ARM: debug: add support for word accesses to debug/8250.S 2013-08-25 17:11:03 +01:00
bcm63xx.S ARM: BCM63XX: add low-level UART debug support 2014-09-17 10:56:06 -07:00
clps711x.S ARM: clps711x: Move debug include into arch/arm/include/debug/ 2014-07-06 16:52:05 -07:00
efm32.S ARM: 7850/1: DEBUG_LL on efm32 SoCs 2013-10-29 11:06:04 +00:00
exynos.S ARM: exynos: move debug-macro.S to include/debug/ 2013-04-19 13:51:21 +02:00
icedcc.S
imx-uart.h ARM: imx: add low-level debug support for imx6sx 2014-05-16 15:35:14 +08:00
imx.S ARM: imx: support DEBUG_LL uart port selection for all i.MX SoCs 2013-02-05 10:14:55 +08:00
meson.S ARM: meson: debug: add debug UART for earlyprintk support 2014-09-25 17:31:53 +02:00
msm.S ARM: debug: qcom: make UART address selection configuration option 2014-05-22 11:50:15 -05:00
omap2plus.S ARM: OMAP2+: Add multiplatform debug_ll support 2013-01-11 11:24:19 -08:00
pl01x.S ARM: pl01x debug code endian fix 2013-10-19 20:46:33 +01:00
renesas-scif.S ARM: shmobile: Add early debugging support using SCIF(A) 2014-11-17 10:29:58 +09:00
s3c24xx.S ARM: S3C24XX: move debug-macro.S into the common space 2014-05-26 04:05:00 +09:00
s5pv210.S ARM: S5PV210: move debug-macro.S into the common space 2014-07-19 04:32:12 +09:00
samsung.S ARM: SAMSUNG: Remove platform dependency from samsung.S 2014-02-14 10:30:39 +09:00
sirf.S ARM: sirf: move debug-macro.S to include/debug/sirf.S 2013-03-25 12:29:40 +01:00
sti.S ARM: sti: Add DEBUG_LL console support 2013-06-25 13:27:02 -07:00
tegra.S ARM: tegra: make debug_ll code build for ARMv6 2014-03-22 01:06:58 +01:00
uncompress.h ARM: 7672/1: uncompress debug support for multiplatform build 2013-03-15 17:18:52 +00:00
ux500.S ARM: debug: move PL01X debug include into arch/arm/include/debug/ 2013-08-25 17:11:06 +01:00
vexpress.S ARM: debug: move PL01X debug include into arch/arm/include/debug/ 2013-08-25 17:11:06 +01:00
vf.S ARM: vf610: add UART choice for low-level debug 2014-04-30 13:40:27 +08:00
vt8500.S arm: vt8500: Convert debug-macro.S to be multiplatform friendly 2013-01-12 15:47:38 +13:00
zynq.S ARM: zynq: Enable big-endian 2014-05-20 16:17:13 +02:00