-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 143004 b: refs/heads/master c: 945ce1b h: refs/heads/master v: v3
- Loading branch information
Michal Simek
committed
Mar 27, 2009
1 parent
a3071c0
commit 7fa3945
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 12e8414263f47352b3fec8ba5efff160584202e0 | ||
refs/heads/master: 945ce1bc54e40aa0a659226b6e79a0bce065945f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright 2008 Michal Simek <monstr@monstr.eu> | ||
* | ||
* based on virtex.c file | ||
* | ||
* Copyright 2007 Secret Lab Technologies Ltd. | ||
* | ||
* This file is licensed under the terms of the GNU General Public License | ||
* version 2. This program is licensed "as is" without any warranty of any | ||
* kind, whether express or implied. | ||
*/ | ||
|
||
#include <linux/init.h> | ||
#include <linux/of_platform.h> | ||
#include <asm/prom.h> | ||
|
||
static struct of_device_id xilinx_of_bus_ids[] __initdata = { | ||
{ .compatible = "simple-bus", }, | ||
{ .compatible = "xlnx,plb-v46-1.00.a", }, | ||
{ .compatible = "xlnx,opb-v20-1.10.c", }, | ||
{ .compatible = "xlnx,opb-v20-1.10.b", }, | ||
{ .compatible = "xlnx,compound", }, | ||
{} | ||
}; | ||
|
||
static int __init microblaze_device_probe(void) | ||
{ | ||
of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL); | ||
return 0; | ||
} | ||
device_initcall(microblaze_device_probe); |