From b533e93ad8d30255a9d2b3122376e56807f8afed Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Thu, 20 May 2010 20:58:18 +0900 Subject: [PATCH] --- yaml --- r: 198517 b: refs/heads/master c: 1ae35de1c1ac81f8f31879316656b0a66616a4b0 h: refs/heads/master i: 198515: 7cd79975373f2bcc0667f460727e0f6d2f0e5738 v: v3 --- [refs] | 2 +- .../arm/mach-s5pv210/include/mach/regs-fb.h | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/mach-s5pv210/include/mach/regs-fb.h diff --git a/[refs] b/[refs] index 4a80a237d5a6..8686912d3c1d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dd1ef1a2a1b91c5bf1d6f45d0a0eaf9233e3570c +refs/heads/master: 1ae35de1c1ac81f8f31879316656b0a66616a4b0 diff --git a/trunk/arch/arm/mach-s5pv210/include/mach/regs-fb.h b/trunk/arch/arm/mach-s5pv210/include/mach/regs-fb.h new file mode 100644 index 000000000000..60d992989bdc --- /dev/null +++ b/trunk/arch/arm/mach-s5pv210/include/mach/regs-fb.h @@ -0,0 +1,21 @@ +/* + * Copyright 2010 Ben Dooks + * + * 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 + +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 */