Commit e8ead7b5 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAP: RX51: remove use of vram

As omapfb no longer uses omap specific vram allocator we can remove the
vram pre-allocation from rx51 board file.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
parent 0049fb26
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <video/omapdss.h> #include <video/omapdss.h>
#include <plat/vram.h>
#include <linux/platform_data/spi-omap2-mcspi.h> #include <linux/platform_data/spi-omap2-mcspi.h>
#include "board-rx51.h" #include "board-rx51.h"
...@@ -87,17 +86,4 @@ static int __init rx51_video_init(void) ...@@ -87,17 +86,4 @@ static int __init rx51_video_init(void)
} }
subsys_initcall(rx51_video_init); subsys_initcall(rx51_video_init);
void __init rx51_video_mem_init(void)
{
/*
* GFX 864x480x32bpp
* VID1/2 1280x720x32bpp double buffered
*/
omap_vram_set_sdram_vram(PAGE_ALIGN(864 * 480 * 4) +
2 * PAGE_ALIGN(1280 * 720 * 4 * 2), 0);
}
#else
void __init rx51_video_mem_init(void) { }
#endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */ #endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#define RX51_GPIO_SLEEP_IND 162 #define RX51_GPIO_SLEEP_IND 162
extern void rx51_video_mem_init(void);
static struct gpio_led gpio_leds[] = { static struct gpio_led gpio_leds[] = {
{ {
.name = "sleep_ind", .name = "sleep_ind",
...@@ -112,7 +110,6 @@ static void __init rx51_init(void) ...@@ -112,7 +110,6 @@ static void __init rx51_init(void)
static void __init rx51_reserve(void) static void __init rx51_reserve(void)
{ {
rx51_video_mem_init();
omap_reserve(); omap_reserve();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment