blob: f384f707f670cd1b997e981ad7cee719b4527ce5 [file] [log] [blame]
Alexey Brodkin8244d692019-12-26 14:47:42 +03001// 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
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};