linux/arch/arm/mach-davinci/include/mach
Chaithrika U S 17eb157041 davinci: use 32-bit accesses for low-level debug macros
This patch defines debug macros for low-level debugging for Davinci
based platforms

Tested on :
        - DM644x DaVinci EVM
        - DM646X DaVinciHD EVM
	- DM355 EVM

This patch attempts to solve the low-level debug issue in DM646x. The
UART on DM646x SoC allows only 32-bit access. The existing
debug-macro.S uses the macros from debug-8250.S file. This led to
garbage serial out in the case of DM646x.

The inclusion of debug-8250.S does not allow for run time fix for this
issue.  There are compile time errors due to multiple definitions of
the macros.  Also when building a single image for multiple DaVinci
Platforms, the ifdefs cannot be relied upon.

The solution below does not include the debug-8250.S file and defines
the necessary macros. This solution was arrived at after observing
that word access does not affect the low-level debug messages on
DM644x/DM355.

The other approach to this issue is to use the UART module information
available in the peripheral registers to decide the access
mechanism. But this will have to be done for every access of UART
specifically for DM646x. Also this calls for a modification of the
debug-8250.S file.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-05-26 07:18:14 -07:00
..
asp.h ASoC: DaVinci EVM board support buildfixes 2009-05-15 08:59:07 +01:00
board-dm6446evm.h davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
clkdev.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
clock.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
common.h davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
cputype.h davinci: add runtime CPU detection support 2009-04-23 09:27:59 -07:00
debug-macro.S davinci: use 32-bit accesses for low-level debug macros 2009-05-26 07:18:14 -07:00
dm644x.h davinci: update DM644x support in preparation for more SoCs 2009-04-27 09:50:11 -07:00
edma.h davinci: add EDMA driver 2009-04-27 09:49:42 -07:00
entry-macro.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gpio.h davinci: gpio bugfixes 2009-04-27 09:49:43 -07:00
hardware.h davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00
i2c.h ARM: DaVinci: i2c setup 2008-09-17 00:31:42 -07:00
io.h davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00
irqs.h davinci: DM355 IRQ Definitions 2009-04-27 09:49:44 -07:00
memory.h [ARM] Ensure that both MAX_DMA_ADDRESS and ISA_DMA_THRESHOLD are defined 2008-11-30 13:26:47 +00:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
nand.h [MTD] [NAND] davinci_nand driver 2009-03-20 12:32:19 +00:00
psc.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
serial.h davinci: serial: generalize for more SoCs 2009-04-27 09:49:45 -07:00
system.h [ARM] pass reboot command line to arch_reset() 2009-03-19 16:20:24 +00:00
timex.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
uncompress.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
vmalloc.h [ARM] davinci: asm/memory.h is not required for mach/vmalloc.h 2008-11-30 14:42:43 +00:00