mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
board: samsung: Hardcode framebuffer variables
In preparation for removing unnecessary variables from Kbuild configuration options. Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This commit is contained in:
1 parent
24c29ee8bf
commit
305245a298
14 files changed
+56
-56
No files matched your search
@@ -19,10 +19,10 @@ int a105f_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info a105f_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 720,
|
||||
.height = 1520,
|
||||
.stride = 4,
|
||||
.address = (void *)0xec000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ int a127f_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info a127f_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 720,
|
||||
.height = 1600,
|
||||
.stride = 4,
|
||||
.address = (void *)0xfa000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ int a33x_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info a33x_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1080,
|
||||
.height = 2400,
|
||||
.stride = 4,
|
||||
.address = (void *)0xfa200000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ int c1s_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info c1s_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1080,
|
||||
.height = 2400,
|
||||
.stride = 4,
|
||||
.address = (void *)0xf1000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -116,10 +116,10 @@ int dreamlte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info dreamlte_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1440,
|
||||
.height = 2960,
|
||||
.stride = 4,
|
||||
.address = (void *)0xcc000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -85,10 +85,10 @@ int g0s_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info g0s_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1080,
|
||||
.height = 2340,
|
||||
.stride = 4,
|
||||
.address = (void *)0xf6200000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int j4lte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info j4lte_fb = {
|
||||
.format = FB_FORMAT_BGRA8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 720,
|
||||
.height = 1280,
|
||||
.stride = 4,
|
||||
.address = (void *)0x067000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@ int j5lte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info j5lte_fb = {
|
||||
.format = FB_FORMAT_RGB888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 720,
|
||||
.height = 1280,
|
||||
.stride = 3,
|
||||
.address = (void *)0x08e000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int jackpotlte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info jackpotlte_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1080,
|
||||
.height = 2200,
|
||||
.stride = 4,
|
||||
.address = (void *)0xec000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int noblelte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info noblelte_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1440,
|
||||
.height = 2560,
|
||||
.stride = 4,
|
||||
.address = (void *)0xe2a00000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int r8s_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info r8s_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1080,
|
||||
.height = 2400,
|
||||
.stride = 4,
|
||||
.address = (void *)0xf1000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int starlte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info starlte_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 2960,
|
||||
.height = 1440,
|
||||
.stride = 4,
|
||||
.address = (void *)0xcc000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int x1s_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info x1s_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1440,
|
||||
.height = 3200,
|
||||
.stride = 4,
|
||||
.address = (void *)0xf1000000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ int zeroflte_init(void)
|
||||
#ifdef CONFIG_SIMPLE_FB
|
||||
static struct video_info zeroflte_fb = {
|
||||
.format = FB_FORMAT_ARGB8888,
|
||||
.width = CONFIG_FRAMEBUFFER_WIDTH,
|
||||
.height = CONFIG_FRAMEBUFFER_HEIGHT,
|
||||
.stride = CONFIG_FRAMEBUFFER_STRIDE,
|
||||
.address = (void *)CONFIG_FRAMEBUFFER_BASE
|
||||
.width = 1440,
|
||||
.height = 2560,
|
||||
.stride = 4,
|
||||
.address = (void *)0xe2a00000
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user