On Tue, Apr 06, 2010 at 06:51:04PM +0200, ext Laine Walker-Avina wrote:
Signed-off-by: Laine Walker-Avina <lwalkera@xxxxxxxx> --- arch/arm/plat-omap/include/plat/sdrc.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/sdrc.h b/arch/arm/plat-omap/include/plat/sdrc.h index 7b76f50..c74d1e7 100644 --- a/arch/arm/plat-omap/include/plat/sdrc.h +++ b/arch/arm/plat-omap/include/plat/sdrc.h @@ -124,6 +124,29 @@ struct omap_sdrc_params { u32 mr; }; +/* Helper macros and defines for the omap_sdrc_params registers */ +#define ACTIM_TRFC(a) (((a) & 0x1f)<<27)
you need to add more spacing in all these macros, something like: #define ACTIM_TRFC(a) (((a) & 0x1f) << 27) similar to all others. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html