Path: blob/master/arch/microblaze/platform/platform.c
10817 views
/*1* Copyright 2008 Michal Simek <[email protected]>2*3* based on virtex.c file4*5* Copyright 2007 Secret Lab Technologies Ltd.6*7* This file is licensed under the terms of the GNU General Public License8* version 2. This program is licensed "as is" without any warranty of any9* kind, whether express or implied.10*/1112#include <linux/init.h>13#include <linux/of_platform.h>14#include <asm/prom.h>15#include <asm/setup.h>1617static struct of_device_id xilinx_of_bus_ids[] __initdata = {18{ .compatible = "simple-bus", },19{ .compatible = "xlnx,compound", },20{}21};2223static int __init microblaze_device_probe(void)24{25of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL);26of_platform_reset_gpio_probe();27return 0;28}29device_initcall(microblaze_device_probe);303132