Alexander Dahl | 6ac319d | 2022-09-30 14:04:30 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2022 Alexander Dahl <post@lespocky.de> | ||||
4 | */ | ||||
5 | |||||
6 | #include <dm.h> | ||||
7 | |||||
8 | static const struct udevice_id sandbox_fpga_match[] = { | ||||
9 | { .compatible = "sandbox,fpga" }, | ||||
10 | { /* sentinel */ } | ||||
11 | }; | ||||
12 | |||||
13 | U_BOOT_DRIVER(sandbox_fpga) = { | ||||
14 | .name = "sandbox_fpga", | ||||
15 | .id = UCLASS_FPGA, | ||||
16 | .of_match = sandbox_fpga_match, | ||||
17 | }; |