blob: 00e5cc36414b15b341745c404f3e8f96ea95a31f [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
6#include <common.h>
Simon Glass691d7192020-05-10 11:40:02 -06007#include <init.h>
Alexey Brodkin95f71032019-12-26 14:47:42 +03008#include <dm/device.h>
9#include <virtio_types.h>
10#include <virtio.h>
11
12int board_early_init_r(void)
13{
14 /*
15 * Make sure virtio bus is enumerated so that peripherals
16 * on the virtio bus can be discovered by their drivers
17 */
18 virtio_init();
19
20 return 0;
21}
22
23int checkboard(void)
24{
25 printf("Board: ARC virtual or prototyping platform\n");
26 return 0;
27};