From 0bc615482e34af308712be970479aeb613f5fa41 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Sat, 17 Oct 2009 13:25:07 +0000 Subject: Remove CONFIG_ from #defines that aren't config variables. Trivial. Signed-off-by: Myles Watson Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4802 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/drivers/ati/ragexl/atyfb.h | 8 ++++---- src/drivers/ati/ragexl/fbcon.h | 2 +- src/drivers/emulation/qemu/fbcon.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/drivers') 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)) diff --git a/src/drivers/emulation/qemu/fbcon.h b/src/drivers/emulation/qemu/fbcon.h index 56328323dc..8b83a3682b 100644 --- a/src/drivers/emulation/qemu/fbcon.h +++ b/src/drivers/emulation/qemu/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)) -- cgit v1.2.3