mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Reviewed-by: Ingo Molnar <[email protected]> Reviewed-by: Stephen Neuendorffer <[email protected]> Acked-by: John Linn <[email protected]> Acked-by: John Williams <[email protected]> Signed-off-by: Michal Simek <[email protected]>
32 lines
835 B
C
32 lines
835 B
C
/*
|
|
* Copyright 2008 Michal Simek <[email protected]>
|
|
*
|
|
* 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);
|