diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-10-17 13:25:07 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-10-17 13:25:07 +0000 |
commit | 0bc615482e34af308712be970479aeb613f5fa41 (patch) | |
tree | aaf65180b43b30302880d95cd349b3de15046964 /src/drivers/ati/ragexl | |
parent | d7b37b0a670abc24e538700c0e2762f1cde7faf7 (diff) |
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')
-rw-r--r-- | src/drivers/ati/ragexl/atyfb.h | 8 | ||||
-rw-r--r-- | src/drivers/ati/ragexl/fbcon.h | 2 |
2 files changed, 5 insertions, 5 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); diff --git a/src/drivers/ati/ragexl/fbcon.h b/src/drivers/ati/ragexl/fbcon.h index 56328323dc..8b83a3682b 100644 --- a/src/drivers/ati/ragexl/fbcon.h +++ b/src/drivers/ati/ragexl/fbcon.h @@ -65,7 +65,7 @@ struct display { #define fontheight(p) ((p)->_fontheight) #define fontheightlog(p) ((p)->_fontheightlog) -#ifdef CONFIG_FBCON_FONTWIDTH8_ONLY +#ifdef FBCON_FONTWIDTH8_ONLY /* fontwidth w is supported by dispsw */ #define FONTWIDTH(w) (1 << ((8) - 1)) |