I have a question for OMAP3530 DMA APIs in the Linux Kernel
In http://lxr.linux.no/linux+v3.8/arch/arm/mach-omap2/dma.c
there is a function called configure_dma_errata() in line 139
in this function
I have noticed that omap_type() function read the DEVICETYPE field From the CONTROL_STATUS register that is found in spruf98s.pdf page 898
and this return only the DEVICETYPE (3 bits)
then it will compare it to OMAP3430_REV_ES1_0 in
if (omap_type() == OMAP3430_REV_ES1_0)
and this macro is defined in http://lxr.linux.no/linux+v3.8/arch/arm/mach-omap2/soc.h Line 362
#define OMAP343X_CLASS 0x34300034
#define OMAP3430_REV_ES1_0 OMAP343X_CLASS
so this condition will never occur and no need for that check or the macros must by defined will not in that matter.