summaryrefslogtreecommitdiff
path: root/src/drivers/xgi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/xgi')
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h
index 57475d2450..dd5178219c 100644
--- a/src/drivers/xgi/common/xgi_coreboot.h
+++ b/src/drivers/xgi/common/xgi_coreboot.h
@@ -228,14 +228,6 @@ typedef u64 phys_addr_t;
#define pr_debug(format, arg...) printk(BIOS_INFO, "XGI VGA: " format, ##arg)
#define pr_err(format, arg...) printk(BIOS_ERR, "XGI VGA: " format, ##arg)
-static inline void writel(u32 val, volatile void *addr) {
- *(u32*)addr = val;
-}
-
-static inline u32 readl(const volatile void *addr) {
- return *(u32*)addr;
-}
-
static inline int pci_read_config_dword(struct pci_dev *dev, int where,
u32 *val)
{