aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ati/ragexl/mach64.h
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-11-27 19:36:05 -0700
committerMartin Roth <martinroth@google.com>2015-12-10 16:46:23 +0100
commita606598150320f87d1780b6443ccb960fa4bd21e (patch)
tree34a7e54fcb9cf3d70b428531839a988e18511b47 /src/drivers/ati/ragexl/mach64.h
parentf79062f478e6e758a6c5e0afc85133631798f0f4 (diff)
ati/ragexl: Change .h #defines named CONFIG_ to CFG_
The CONFIG_ prefix should be reserved for Kconfig symbols. Change-Id: I1d3141e0f5f9e1161bc7f88158af8a5d5780829c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12564 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/ati/ragexl/mach64.h')
-rw-r--r--src/drivers/ati/ragexl/mach64.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/drivers/ati/ragexl/mach64.h b/src/drivers/ati/ragexl/mach64.h
index 3acbef45dd..354ae2ba0d 100644
--- a/src/drivers/ati/ragexl/mach64.h
+++ b/src/drivers/ati/ragexl/mach64.h
@@ -101,7 +101,7 @@
#define CUR_HORZ_VERT_OFF 0x0070 /* Dword offset 0_1C */
#define CUR2_HORZ_VERT_OFF 0x0070 /* Dword offset 0_1C */
-#define CONFIG_PANEL_LG 0x0074 /* Dword offset 0_1D */
+#define CFG_PANEL_LG 0x0074 /* Dword offset 0_1D */
/* General I/O Control */
#define GP_IO 0x0078 /* Dword offset 0_1E */
@@ -120,8 +120,8 @@
#define CLOCK_SEL_CNTL 0x0090 /* Dword offset 0_24 */
/* Configuration */
-#define CONFIG_STAT1 0x0094 /* Dword offset 0_25 */
-#define CONFIG_STAT2 0x0098 /* Dword offset 0_26 */
+#define CFG_STAT1 0x0094 /* Dword offset 0_25 */
+#define CFG_STAT2 0x0098 /* Dword offset 0_26 */
/* Bus Control */
#define BUS_CNTL 0x00A0 /* Dword offset 0_28 */
@@ -158,9 +158,9 @@
#define POWER_MANAGEMENT_LG 0x00D8 /* Dword offset 0_36 (LG) */
/* Configuration */
-#define CONFIG_CNTL 0x00DC /* Dword offset 0_37 (CT, ET, VT) */
-#define CONFIG_CHIP_ID 0x00E0 /* Dword offset 0_38 */
-#define CONFIG_STAT0 0x00E4 /* Dword offset 0_39 */
+#define CFG_CNTL 0x00DC /* Dword offset 0_37 (CT, ET, VT) */
+#define CFG_CHIP_ID 0x00E0 /* Dword offset 0_38 */
+#define CFG_STAT0 0x00E4 /* Dword offset 0_39 */
/* Test and Debug */
#define CRC_SIG 0x00E8 /* Dword offset 0_3A */
@@ -726,17 +726,17 @@
#define VCLK2_POST 0x30
#define VCLK3_POST 0xC0
-/* CONFIG_CNTL register constants */
+/* CFG_CNTL register constants */
#define APERTURE_4M_ENABLE 1
#define APERTURE_8M_ENABLE 2
#define VGA_APERTURE_ENABLE 4
-/* CONFIG_STAT0 register constants (GX, CX) */
+/* CFG_STAT0 register constants (GX, CX) */
#define CFG_BUS_TYPE 0x00000007
#define CFG_MEM_TYPE 0x00000038
#define CFG_INIT_DAC_TYPE 0x00000e00
-/* CONFIG_STAT0 register constants (CT, ET, VT) */
+/* CFG_STAT0 register constants (CT, ET, VT) */
#define CFG_MEM_TYPE_xT 0x00000007
#define ISA 0
@@ -815,7 +815,7 @@
#define PCI_ATI_VENDOR_ID 0x1002
-/* CONFIG_CHIP_ID register constants */
+/* CFG_CHIP_ID register constants */
#define CFG_CHIP_TYPE 0x0000FFFF
#define CFG_CHIP_CLASS 0x00FF0000
#define CFG_CHIP_REV 0xFF000000
@@ -824,7 +824,7 @@
#define CFG_CHIP_MINOR 0xC0000000
-/* Chip IDs read from CONFIG_CHIP_ID */
+/* Chip IDs read from CFG_CHIP_ID */
/* mach64GX family */
#define GX_CHIP_ID 0xD7 /* mach64GX (ATI888GX00) */
@@ -1113,7 +1113,7 @@
#define CRTC2_DISPLAY_DIS 0x00000400
/* LCD register indices */
-#define CONFIG_PANEL 0x00
+#define CFG_PANEL 0x00
#define LCD_GEN_CTRL 0x01
#define DSTN_CONTROL 0x02
#define HFB_PITCH_ADDR 0x03