Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272915
b: refs/heads/master
c: ad8dfac
h: refs/heads/master
i:
  272913: b21a2f9
  272911: 3e02649
v: v3
  • Loading branch information
Benoit Cousson committed Oct 4, 2011
1 parent 6eeb085 commit 4a0d41b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d039c5b9fb2315ef942944439da6f0fbaf2f1941
refs/heads/master: ad8dfac66fb1995014060302bda19a15bc62bd6d
3 changes: 2 additions & 1 deletion trunk/arch/arm/boot/dts/omap4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
* hierarchy.
*/
ocp {
compatible = "simple-bus";
compatible = "ti,omap4-l3-noc", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges;
ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";

gic: interrupt-controller@48241000 {
compatible = "arm,cortex-a9-gic";
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/of.h>

#include <mach/hardware.h>
#include <mach/irqs.h>
Expand Down Expand Up @@ -77,6 +78,10 @@ static int __init omap4_l3_init(void)
struct platform_device *pdev;
char oh_name[L3_MODULES_MAX_LEN];

/* If dtb is there, the devices will be created dynamically */
if (of_have_populated_dt())
return -ENODEV;

/*
* To avoid code running on other OMAPs in
* multi-omap builds
Expand Down

0 comments on commit 4a0d41b

Please sign in to comment.