]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8271/1: omap1: Migrate debug_ll macros to use 8250.S
authorDaniel Thompson <daniel.thompson@linaro.org>
Fri, 9 Jan 2015 17:33:50 +0000 (18:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 15:49:39 +0000 (15:49 +0000)
commitac54cc69ab3947a567d2e12cffc9e3ce6fa4a80d
tree996dfedab9127d69042dd332ed769acab7968cb3
parent5f130d3c72ad3dc6ac0e17159e72977babd79407
ARM: 8271/1: omap1: Migrate debug_ll macros to use 8250.S

The omap1's debug-macro.S is similar to the generic 8250 code. Compared to
the 8520 code the omap1 macro automatically determines what UART to use
based on breadcrumbs left by the bootloader and automatically copes with
the eccentric register layout on OMAP7XX.

This patch drops both these features and relies instead on the generic
8250 macros:

1. Dropping support for the bootloader breadcrumbs is identical to the
   way the migration was handled for OMAP2 (see df4a0d9df71c...).

2. Support for OMAP7XX still exists but it must be configured by hand
   (DEBUG_OMAP7XXUART1/2/3) rather than handled at runtime.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: linux-omap@vger.kernel.org
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig.debug
arch/arm/mach-omap1/include/mach/debug-macro.S [deleted file]