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)
commitc26b999353339c235b9e166739926d0199eeecbf
tree996dfedab9127d69042dd332ed769acab7968cb3
parentabbfb21efcd704e8b858e94e327bb014386ba0dd
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 808b7e07464d...).

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]