ide: Avoid preprocessor for CONFIG_LBA48
[platform/kernel/u-boot.git] / drivers / block / sb_efi_media.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * EFI_MEDIA driver for sandbox
4  *
5  * Copyright 2021 Google LLC
6  */
7
8 #include <common.h>
9 #include <dm.h>
10
11 static const struct udevice_id sandbox_efi_media_ids[] = {
12         { .compatible = "sandbox,efi-media" },
13         { }
14 };
15
16 U_BOOT_DRIVER(sandbox_efi_media) = {
17         .name           = "sandbox_efi_media",
18         .id             = UCLASS_EFI_MEDIA,
19         .of_match       = sandbox_efi_media_ids,
20 };