summaryrefslogtreecommitdiff
path: root/src/drivers/ati/ragexl/atyfb.h
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-17 13:25:07 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-17 13:25:07 +0000
commit0bc615482e34af308712be970479aeb613f5fa41 (patch)
treeaaf65180b43b30302880d95cd349b3de15046964 /src/drivers/ati/ragexl/atyfb.h
parentd7b37b0a670abc24e538700c0e2762f1cde7faf7 (diff)
downloadcoreboot-0bc615482e34af308712be970479aeb613f5fa41.tar.xz
Remove CONFIG_ from #defines that aren't config variables. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4802 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/drivers/ati/ragexl/atyfb.h')
-rw-r--r--src/drivers/ati/ragexl/atyfb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/ati/ragexl/atyfb.h b/src/drivers/ati/ragexl/atyfb.h
index 16eb15295d..a30cae48b3 100644
--- a/src/drivers/ati/ragexl/atyfb.h
+++ b/src/drivers/ati/ragexl/atyfb.h
@@ -223,7 +223,7 @@ static inline u32 aty_ld_le32(int regindex,
if (regindex >= 0x400)
regindex -= 0x800;
-#ifdef CONFIG_ATARI
+#ifdef ATARI
return in_le32((volatile u32 *)(info->ati_regbase+regindex));
#else
return readl (info->ati_regbase + regindex);
@@ -237,7 +237,7 @@ static inline void aty_st_le32(int regindex, u32 val,
if (regindex >= 0x400)
regindex -= 0x800;
-#ifdef CONFIG_ATARI
+#ifdef ATARI
out_le32 (info->ati_regbase+regindex, val);
#else
writel (val, info->ati_regbase + regindex);
@@ -279,7 +279,7 @@ static inline u8 aty_ld_8(int regindex,
if (regindex >= 0x400)
regindex -= 0x800;
-#ifdef CONFIG_ATARI
+#ifdef ATARI
return in_8 (info->ati_regbase + regindex);
#else
return readb (info->ati_regbase + regindex);
@@ -293,7 +293,7 @@ static inline void aty_st_8(int regindex, u8 val,
if (regindex >= 0x400)
regindex -= 0x800;
-#ifdef CONFIG_ATARI
+#ifdef ATARI
out_8 (info->ati_regbase + regindex, val);
#else
writeb (val, info->ati_regbase + regindex);