Mark Kettenis | fb57462 | 2021-10-23 16:58:02 +0200 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org> | ||||
4 | */ | ||||
5 | |||||
6 | #include <common.h> | ||||
7 | #include <dm.h> | ||||
8 | |||||
9 | static const struct udevice_id sandbox_iommu_ids[] = { | ||||
10 | { .compatible = "sandbox,iommu" }, | ||||
11 | { /* sentinel */ } | ||||
12 | }; | ||||
13 | |||||
14 | U_BOOT_DRIVER(sandbox_iommu) = { | ||||
15 | .name = "sandbox_iommu", | ||||
16 | .id = UCLASS_IOMMU, | ||||
17 | .of_match = sandbox_iommu_ids, | ||||
18 | }; |