Commit ae7e1f2d authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAPFB: remove remaining OMAP arch checks

Now that the old omapfb driver is only omap1 display driver, there's no
need to check if the arch is omap1. This patch removes the few remaining
checks for the arch.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
parent 5f1cc13f
...@@ -4,11 +4,9 @@ ...@@ -4,11 +4,9 @@
obj-$(CONFIG_FB_OMAP) += omapfb.o obj-$(CONFIG_FB_OMAP) += omapfb.o
objs-yy := omapfb_main.o objs-yy := omapfb_main.o lcdc.o
objs-y$(CONFIG_ARCH_OMAP1) += lcdc.o objs-y$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
objs-$(CONFIG_ARCH_OMAP1)$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
......
...@@ -47,11 +47,7 @@ ...@@ -47,11 +47,7 @@
struct omapfb_device; struct omapfb_device;
#ifdef CONFIG_ARCH_OMAP1
#define OMAPFB_PLANE_NUM 1 #define OMAPFB_PLANE_NUM 1
#else
#define OMAPFB_PLANE_NUM 3
#endif
struct omapfb_mem_region { struct omapfb_mem_region {
u32 paddr; u32 paddr;
......
...@@ -1741,7 +1741,6 @@ static int omapfb_do_probe(struct platform_device *pdev, ...@@ -1741,7 +1741,6 @@ static int omapfb_do_probe(struct platform_device *pdev,
#ifdef CONFIG_FB_OMAP_DMA_TUNE #ifdef CONFIG_FB_OMAP_DMA_TUNE
/* Set DMA priority for EMIFF access to highest */ /* Set DMA priority for EMIFF access to highest */
if (cpu_class_is_omap1())
omap_set_dma_priority(0, OMAP_DMA_PORT_EMIFF, 15); omap_set_dma_priority(0, OMAP_DMA_PORT_EMIFF, 15);
#endif #endif
......
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