From 3fae214b8ca5a4cef3100d6ee182602c0d061415 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 21 Oct 2002 17:23:20 +0000 Subject: [PATCH] Fixed typos in macros MDREFR_DRI and MDMRS_MDCL2. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@195 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/arm/pxa2x0/mc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/arm/pxa2x0/mc.h b/include/arm/pxa2x0/mc.h index 3a99bc86..26731a86 100644 --- a/include/arm/pxa2x0/mc.h +++ b/include/arm/pxa2x0/mc.h @@ -155,14 +155,14 @@ typedef volatile struct MC_registers { #define MDREFR_K0RUN bit(13) #define MDREFR_E0PIN bit(12) #define MDREFR_DRI_MASK bits(11,0) -#define MDREFR_DRI(x) bits(11,0,x) +#define MDREFR_DRI(x) bits_val(11,0,x) /* MDMRS bits - see Table 6-4 in [1] */ #define MDMRS_MDMRS2_MASK bits(30,23) #define MDMRS_MDMRS2(x) bits_val(30,23,x) #define MDMRS_MDCL2_MASK bits(22,20) -#define MDMRS_MDCL2(x) bits_val(22,20) +#define MDMRS_MDCL2(x) bits_val(22,20,x) #define MDMRS_MDADD2 bit(19) #define MDMRS_MDBL2_MASK bits(18,16) #define MDMRS_MDBL2(x) bits_val(18,16,x)