usb: dwc3-meson-g12a: add power-on/off of the PHYs
[oweals/u-boot.git] / board / synopsys / nsim / nsim.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2020 Synopsys, Inc. All rights reserved.
4  */
5
6 #include <common.h>
7 #include <dm/device.h>
8 #include <virtio_types.h>
9 #include <virtio.h>
10
11 int board_early_init_r(void)
12 {
13         /*
14          * Make sure virtio bus is enumerated so that peripherals
15          * on the virtio bus can be discovered by their drivers
16          */
17         virtio_init();
18
19         return 0;
20 }
21
22 int checkboard(void)
23 {
24         printf("Board: ARC virtual or prototyping platform\n");
25         return 0;
26 };