blob: 5953b365fd2060246d94f38191e0d8eaf37cb303 [file] [log] [blame]
Alexey Brodkin95f71032019-12-26 14:47:42 +03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2020 Synopsys, Inc. All rights reserved.
4 */
5
Simon Glass691d7192020-05-10 11:40:02 -06006#include <init.h>
Alexey Brodkin95f71032019-12-26 14:47:42 +03007#include <dm/device.h>
8#include <virtio_types.h>
9#include <virtio.h>
10
11int 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
22int checkboard(void)
23{
24 printf("Board: ARC virtual or prototyping platform\n");
25 return 0;
26};