Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340178
b: refs/heads/master
c: 63d5fc0
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen authored and Tony Lindgren committed Nov 7, 2012
1 parent 1f014fa commit ce4aae7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86cf29dc5a595957ab02068fcd39c57009763a8b
refs/heads/master: 63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288
10 changes: 10 additions & 0 deletions trunk/arch/arm/mach-omap2/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "common.h"
#include "common-board-devices.h"
#include "dss-common.h"

#if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3))
#define intc_of_init NULL
Expand All @@ -40,6 +41,15 @@ static void __init omap_generic_init(void)
omap_sdrc_init(NULL, NULL);

of_platform_populate(NULL, omap_dt_match_table, NULL, NULL);

/*
* HACK: call display setup code for selected boards to enable omapdss.
* This will be removed when omapdss supports DT.
*/
if (of_machine_is_compatible("ti,omap4-panda"))
omap4_panda_display_init_of();
else if (of_machine_is_compatible("ti,omap4-sdp"))
omap_4430sdp_display_init_of();
}

#ifdef CONFIG_SOC_OMAP2420
Expand Down

0 comments on commit ce4aae7

Please sign in to comment.