ARM: S3C24XX: cleanup debug macro/earlyprintk

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 24 Apr 2014 12:21:35 +0200

This series tries to simplify the s3c24xx debug macro, removing dependencies on mach/ includes, static mappings and finally moving it into include/debug. The one slightly invasive change is the need for the developer to select the uart type by himself, which gets rid of the debug macro trying to determine the uart type itself. But as usage of the debug-uart is not the common case - especially in a multiplatform scenario - I didn't worry to much. Based on 3.15-rc1 and tested on a S3C2442 Openmoko Freerunner (GTA02) Heiko Stuebner (4): ARM: compressed/head.S: remove s3c24xx special case ARM: S3C24XX: trim down debug uart handling ARM: S3C24XX: use generic DEBUG_UART_PHY/_VIRT in debug macro ARM: S3C24XX: move debug-macro.S into the common space arch/arm/Kconfig.debug | 36 +++++++- arch/arm/boot/compressed/head.S | 5 -- arch/arm/include/debug/s3c24xx.S | 46 +++++++++++ arch/arm/mach-s3c24xx/Kconfig | 28 ------- arch/arm/mach-s3c24xx/include/mach/debug-macro.S | 101 ----------------------- 5 files changed, 80 insertions(+), 136 deletions(-) create mode 100644 arch/arm/include/debug/s3c24xx.S delete mode 100644 arch/arm/mach-s3c24xx/include/mach/debug-macro.S -- 1.9.0

Patches in this set

Statistics

  • 4 individual patches
  • 37 lines added
  • 93 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...