提交 7bf3ba6b 编写于 作者: A Ajay Kumar 提交者: Kukjin Kim

ARM: S5PV210: Cleanup mach/regs-fb.h from mach-s5pv210

Use plat/regs-fb-v4.h in machine files instead of mach/regs-fb.h.
Signed-off-by: NAjay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 1c4f6d48
/*
* Copyright 2010 Ben Dooks <ben-linux@fluff.org>
*
* Dummy framebuffer to allow build for the moment.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_MACH_REGS_FB_H
#define __ASM_ARCH_MACH_REGS_FB_H __FILE__
#include <plat/regs-fb-v4.h>
static inline unsigned int s3c_fb_pal_reg(unsigned int window, int reg)
{
return 0x2400 + (window * 256 *4 ) + reg;
}
#endif /* __ASM_ARCH_MACH_REGS_FB_H */
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <mach/regs-fb.h>
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
...@@ -40,6 +39,7 @@ ...@@ -40,6 +39,7 @@
#include <plat/fimc-core.h> #include <plat/fimc-core.h>
#include <plat/sdhci.h> #include <plat/sdhci.h>
#include <plat/s5p-time.h> #include <plat/s5p-time.h>
#include <plat/regs-fb-v4.h>
/* Following are default values for UCON, ULCON and UFCON UART registers */ /* Following are default values for UCON, ULCON and UFCON UART registers */
#define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <mach/regs-fb.h>
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
...@@ -47,6 +46,7 @@ ...@@ -47,6 +46,7 @@
#include <plat/sdhci.h> #include <plat/sdhci.h>
#include <plat/clock.h> #include <plat/clock.h>
#include <plat/s5p-time.h> #include <plat/s5p-time.h>
#include <plat/regs-fb-v4.h>
/* Following are default values for UCON, ULCON and UFCON UART registers */ /* Following are default values for UCON, ULCON and UFCON UART registers */
#define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ #define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <mach/regs-fb.h>
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
#include <plat/regs-srom.h> #include <plat/regs-srom.h>
...@@ -46,6 +45,7 @@ ...@@ -46,6 +45,7 @@
#include <plat/fb.h> #include <plat/fb.h>
#include <plat/s5p-time.h> #include <plat/s5p-time.h>
#include <plat/backlight.h> #include <plat/backlight.h>
#include <plat/regs-fb-v4.h>
/* Following are default values for UCON, ULCON and UFCON UART registers */ /* Following are default values for UCON, ULCON and UFCON UART registers */
#define SMDKV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ #define SMDKV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/fb.h> #include <linux/fb.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <mach/regs-fb.h>
#include <mach/map.h> #include <mach/map.h>
#include <plat/fb.h> #include <plat/fb.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册