summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/include/mach/regs-fb.h
blob: 60d992989bdc5414f052675749d09007635d168b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 
 * 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 */