/*arch/arm/mach-s3c6400/include/mach/debug-macro.S**Copyright2008Openmoko,Inc.*Copyright2008SimtecElectronics*http://armlinux.simtec.co.uk/*BenDooks<ben@simtec.co.uk>**Thisprogramisfreesoftware; you can redistribute it and/or modify*itunderthetermsoftheGNUGeneralPublicLicenseversion2as*publishedbytheFreeSoftwareFoundation.*//*pullintherelevantregisterandmapfiles.*/#include <mach/map.h>#include <plat/regs-serial.h>/*note,forthebootprocesstoworkwehavetokeeptheUART*virtualaddressalignedtoan1MiBboundaryfortheL1*mappingtheheadcodemakes.WekeeptheUARTvirtualaddress*alignedandaddintheoffsetwhenweloadthevaluehere.*/.macroaddruart,rxmrcp15,0,\rx,c1,c0tst\rx,#1ldreq\rx,=S3C_PA_UARTldrne\rx,=(S3C_VA_UART+S3C_PA_UART&0xfffff)#if CONFIG_DEBUG_S3C_UART != 0add\rx,\rx,#(0x400*CONFIG_DEBUG_S3C_UART)#endif.endm/*includetheresetofthecodewhichwilldothework,we're only*compilingforasinglecpuprocessortypesothedefaultofs3c2440*willbefinewithus.*/#include <plat/debug-macro.S>