Alexey Brodkin | 95f7103 | 2019-12-26 14:47:42 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2020 Synopsys, Inc. All rights reserved. |
| 4 | */ |
| 5 | |
Simon Glass | 691d719 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 6 | #include <init.h> |
Alexey Brodkin | 95f7103 | 2019-12-26 14:47:42 +0300 | [diff] [blame] | 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 | }; |