X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Fprint_ut.c;h=f0f1d6010a164fb2d4e14aa89065ed7c44bdd7f2;hb=b5700efbc863669bc4e11283917aa9965c5fc8e8;hp=d8e9da8fa8f4141235ac01d7d1654f5b6314b1f7;hpb=5f1ce1d4ca4decef688fe0dd71b11927d6a18845;p=oweals%2Fu-boot.git diff --git a/test/print_ut.c b/test/print_ut.c index d8e9da8fa8..f0f1d6010a 100644 --- a/test/print_ut.c +++ b/test/print_ut.c @@ -1,14 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012, The Chromium Authors - * - * SPDX-License-Identifier: GPL-2.0+ */ #define DEBUG #include -#if defined(CONFIG_EFI_LOADER) && \ - !defined(CONFIG_SPL_BUILD) && !defined(API_BUILD) +#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD) #include #endif #include @@ -20,8 +18,7 @@ /* Test efi_loader specific printing */ static void efi_ut_print(void) { -#if defined(CONFIG_EFI_LOADER) && \ - !defined(CONFIG_SPL_BUILD) && !defined(API_BUILD) +#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD) char str[10]; u8 buf[sizeof(struct efi_device_path_sd_mmc_path) + sizeof(struct efi_device_path)];