aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/board-dm6446evm.h
diff options
context:
space:
mode:
authorChaithrika U S <chaithrika@ti.com>2009-01-19 03:43:05 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-26 10:18:14 -0400
commit17eb15704142dc1b302a3f0cd632c426ee326b6d (patch)
tree48c563fa921c858d4648d485309125beed436395 /arch/arm/mach-davinci/include/mach/board-dm6446evm.h
parentdc75602628472d7fbc4cb43f010bf0257e95ab71 (diff)
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>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/board-dm6446evm.h')
0 files changed, 0 insertions, 0 deletions