9
0
Fork 0

ARM pcm043: Add overlay support

Adding overlay support for phyCORE-i.MX35.
Also move the TEXT_BASE to leave enough space for the overlay image
at the end of the RAM.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Teresa Gámez 2012-01-19 09:23:16 +01:00 committed by Sascha Hauer
parent a0d23c41d0
commit 4bcf52aa66
2 changed files with 7 additions and 5 deletions

View File

@ -29,6 +29,7 @@
#include <driver.h>
#include <environment.h>
#include <fs.h>
#include <sizes.h>
#include <mach/imx-regs.h>
#include <asm/armlinux.h>
#include <mach/gpio.h>
@ -94,14 +95,15 @@ static struct fb_videomode pcm043_fb_mode[] = {
};
static struct imx_ipu_fb_platform_data ipu_fb_data = {
.mode = pcm043_fb_mode,
.num_modes = ARRAY_SIZE(pcm043_fb_mode),
.bpp = 16,
.mode = pcm043_fb_mode,
.num_modes = ARRAY_SIZE(pcm043_fb_mode),
.framebuffer_ovl = (void *) (IMX_SDRAM_CS0 + SZ_128M - SZ_1M),
.bpp = 16,
};
static int pcm043_mem_init(void)
{
arm_add_mem_device("ram0", IMX_SDRAM_CS0, 128 * 1024 * 1024);
arm_add_mem_device("ram0", IMX_SDRAM_CS0, SZ_128M);
return 0;
}

View File

@ -10,7 +10,7 @@ CONFIG_AEABI=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_ARM_UNWIND=y
CONFIG_MMU=y
CONFIG_TEXT_BASE=0x87F00000
CONFIG_TEXT_BASE=0x87E00000
CONFIG_MALLOC_SIZE=0x1000000
CONFIG_MALLOC_TLSF=y
CONFIG_KALLSYMS=y