1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-03 09:42:22 +02:00
Files
u-boot-megous/drivers/gpio/sandbox_test.c
Tom Rini 6657851f83 gpio: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2024-05-07 08:00:55 -06:00

21 lines
410 B
C

// SPDX-License-Identifier: GPL-2.0
/*
* Sandbox driver for testing GPIOs with of-platdata
*
* Copyright 2021 Google LLC
*/
#include <dm.h>
#include <asm-generic/gpio.h>
static const struct udevice_id sandbox_gpio_test_ids[] = {
{ .compatible = "sandbox,gpio-test" },
{ }
};
U_BOOT_DRIVER(sandbox_gpio_test) = {
.name = "sandbox_gpio_test",
.id = UCLASS_MISC,
.of_match = sandbox_gpio_test_ids,
};