diff options
author | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-02-26 08:39:10 -0500 |
---|---|---|
committer | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-03-16 21:19:20 -0400 |
commit | ce443ab5fd536941da1d529ba3963324f941fc29 (patch) | |
tree | 5551778e3ae1d623410ad98cbeefe941fc29dd28 /include/linux/fb.h | |
parent | d10e4a660d11212a41ac5d2c116a655e25e2d38a (diff) |
unicore32 machine related: add frame buffer driver for pkunity-v3 soc
change from original version -- by advice of Paul Mundt
1. remove videomemorysize definitions
2. remove unifb_enable and unifb_setup
3. use dev_warn instead of printk in fb driver
4. remove judgement for FB_ACCEL_PUV3_UNIGFX
5. adjust clk_get and clk_set_rate calls
6. add resources definitions
7. remove unifb_option
8. adjust register for platform_device
9. adjust unifb_ops position and unifb_regs assignment position
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r-- | include/linux/fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 68ba85a00c06..b2a36391d2a1 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -152,6 +152,8 @@ | |||
152 | #define FB_ACCEL_PROSAVAGE_DDR 0x8d /* S3 ProSavage DDR */ | 152 | #define FB_ACCEL_PROSAVAGE_DDR 0x8d /* S3 ProSavage DDR */ |
153 | #define FB_ACCEL_PROSAVAGE_DDRK 0x8e /* S3 ProSavage DDR-K */ | 153 | #define FB_ACCEL_PROSAVAGE_DDRK 0x8e /* S3 ProSavage DDR-K */ |
154 | 154 | ||
155 | #define FB_ACCEL_PUV3_UNIGFX 0xa0 /* PKUnity-v3 Unigfx */ | ||
156 | |||
155 | struct fb_fix_screeninfo { | 157 | struct fb_fix_screeninfo { |
156 | char id[16]; /* identification string eg "TT Builtin" */ | 158 | char id[16]; /* identification string eg "TT Builtin" */ |
157 | unsigned long smem_start; /* Start of frame buffer mem */ | 159 | unsigned long smem_start; /* Start of frame buffer mem */ |