diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-23 19:58:44 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-23 19:58:44 -0600 |
commit | c14229dd1e81a11487e37e42d5b81692beac1ce5 (patch) | |
tree | 410387e368b1457cc0e6eee7c2f424f81c9d9e3b | |
parent | 49434ff41f4b090e22e401aab71c155273873e4f (diff) | |
download | u-boot-TEST/remove-more-commonh.zip u-boot-TEST/remove-more-commonh.tar.gz u-boot-TEST/remove-more-commonh.tar.bz2 |
test: Remove <common.h>TEST/remove-more-commonh
Remove <common.h> from tests. In turn, fix up some missing includes in
other general headers.
Signed-off-by: Tom Rini <trini@konsulko.com>
203 files changed, 24 insertions, 196 deletions
diff --git a/include/adc.h b/include/adc.h index 0d1a666..15e4cdb 100644 --- a/include/adc.h +++ b/include/adc.h @@ -7,6 +7,8 @@ #ifndef _ADC_H_ #define _ADC_H_ +#include <stdbool.h> + /* ADC_CHANNEL() - ADC channel bit mask, to select only required channels */ #define ADC_CHANNEL(x) (1 << x) diff --git a/include/audio_codec.h b/include/audio_codec.h index a81a315..a87b76c 100644 --- a/include/audio_codec.h +++ b/include/audio_codec.h @@ -7,6 +7,8 @@ #ifndef __AUDIO_CODEC_H__ #define __AUDIO_CODEC_H__ +#include <linux/types.h> + struct udevice; /* diff --git a/include/axi.h b/include/axi.h index 59fb0b2..133a06e 100644 --- a/include/axi.h +++ b/include/axi.h @@ -7,6 +7,8 @@ #ifndef _AXI_H_ #define _AXI_H_ +#include <linux/types.h> + struct udevice; /** diff --git a/include/bootmeth.h b/include/bootmeth.h index 0fc3610..cd95173 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -7,6 +7,8 @@ #ifndef __bootmeth_h #define __bootmeth_h +#include <linux/bitops.h> + struct blk_desc; struct bootflow; struct bootflow_iter; diff --git a/include/bootstd.h b/include/bootstd.h index 99ce7b6..ac756e9 100644 --- a/include/bootstd.h +++ b/include/bootstd.h @@ -10,6 +10,8 @@ #define __bootstd_h #include <dm/ofnode_decl.h> +#include <linux/list.h> +#include <linux/types.h> struct udevice; diff --git a/include/cedit.h b/include/cedit.h index f43cafa..a31b424 100644 --- a/include/cedit.h +++ b/include/cedit.h @@ -7,12 +7,15 @@ #ifndef __CEDIT_H #define __CEDIT_H +#include <stdbool.h> #include <dm/ofnode_decl.h> +#include <linux/types.h> struct abuf; struct expo; struct scene; struct video_priv; +struct udevice; enum { /* size increment for writing FDT */ diff --git a/include/dm/test.h b/include/dm/test.h index b593750..0273741 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -6,6 +6,8 @@ #ifndef __DM_TEST_H #define __DM_TEST_H +#include <linux/types.h> + struct udevice; /** diff --git a/test/bloblist.c b/test/bloblist.c index 1c60bba..7c63682 100644 --- a/test/bloblist.c +++ b/test/bloblist.c @@ -3,7 +3,6 @@ * Copyright (c) 2018, Google Inc. All rights reserved. */ -#include <common.h> #include <bloblist.h> #include <log.h> #include <mapmem.h> diff --git a/test/boot/bootdev.c b/test/boot/bootdev.c index 0702fcc..6e94000 100644 --- a/test/boot/bootdev.c +++ b/test/boot/bootdev.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bootstd.h> #include <dm.h> #include <bootdev.h> diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index 674d4c0..4511cfa 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bootdev.h> #include <bootflow.h> #include <bootmeth.h> diff --git a/test/boot/bootmeth.c b/test/boot/bootmeth.c index e498eee..113b789 100644 --- a/test/boot/bootmeth.c +++ b/test/boot/bootmeth.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bootmeth.h> #include <bootstd.h> #include <dm.h> diff --git a/test/boot/bootstd_common.c b/test/boot/bootstd_common.c index cc97e25..e505395 100644 --- a/test/boot/bootstd_common.c +++ b/test/boot/bootstd_common.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bootdev.h> #include <bootstd.h> #include <dm.h> diff --git a/test/boot/cedit.c b/test/boot/cedit.c index aa41719..fd19da0 100644 --- a/test/boot/cedit.c +++ b/test/boot/cedit.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <cedit.h> #include <env.h> #include <expo.h> diff --git a/test/boot/expo.c b/test/boot/expo.c index 714fdfa..6ea0184 100644 --- a/test/boot/expo.c +++ b/test/boot/expo.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <command.h> #include <dm.h> #include <expo.h> diff --git a/test/boot/image.c b/test/boot/image.c index 2844b05..0894e30 100644 --- a/test/boot/image.c +++ b/test/boot/image.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <image.h> #include <test/suites.h> #include <test/ut.h> diff --git a/test/boot/measurement.c b/test/boot/measurement.c index 9db2ed3..29be495 100644 --- a/test/boot/measurement.c +++ b/test/boot/measurement.c @@ -6,7 +6,6 @@ * Written by Eddie James <eajames@linux.ibm.com> */ -#include <common.h> #include <bootm.h> #include <malloc.h> #include <test/suites.h> diff --git a/test/boot/vbe_fixup.c b/test/boot/vbe_fixup.c index eba5c4e..540816e 100644 --- a/test/boot/vbe_fixup.c +++ b/test/boot/vbe_fixup.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm/ofnode.h> #include <linux/libfdt.h> #include <test/test.h> diff --git a/test/boot/vbe_simple.c b/test/boot/vbe_simple.c index 5e61840..3672b74 100644 --- a/test/boot/vbe_simple.c +++ b/test/boot/vbe_simple.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bootmeth.h> #include <dm.h> #include <image.h> diff --git a/test/bootm.c b/test/bootm.c index 4bb3ca0..26c1555 100644 --- a/test/bootm.c +++ b/test/bootm.c @@ -5,7 +5,6 @@ * Copyright 2020 Google LLC */ -#include <common.h> #include <bootm.h> #include <asm/global_data.h> #include <test/suites.h> diff --git a/test/cmd/addrmap.c b/test/cmd/addrmap.c index 1eb5955..7b8f49f 100644 --- a/test/cmd/addrmap.c +++ b/test/cmd/addrmap.c @@ -5,7 +5,6 @@ * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <console.h> #include <test/suites.h> #include <test/ut.h> diff --git a/test/cmd/armffa.c b/test/cmd/armffa.c index 9a44a39..38f40b7 100644 --- a/test/cmd/armffa.c +++ b/test/cmd/armffa.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> */ -#include <common.h> #include <string.h> #include <asm/sandbox_arm_ffa.h> #include <dm/test.h> diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index 4977d01..027848c 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -5,7 +5,6 @@ * Copyright 2023 Marek Vasut <marek.vasut+renesas@mailbox.org> */ -#include <common.h> #include <console.h> #include <mapmem.h> #include <asm/global_data.h> diff --git a/test/cmd/exit.c b/test/cmd/exit.c index 7e160f7..d310ec8 100644 --- a/test/cmd/exit.c +++ b/test/cmd/exit.c @@ -5,7 +5,6 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <console.h> #include <mapmem.h> #include <asm/global_data.h> diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c index 5470855..a0faf5a 100644 --- a/test/cmd/fdt.c +++ b/test/cmd/fdt.c @@ -5,7 +5,6 @@ * Copyright 2022 Google LLC */ -#include <common.h> #include <console.h> #include <fdt_support.h> #include <mapmem.h> diff --git a/test/cmd/font.c b/test/cmd/font.c index 1fe05c1..a8905ce 100644 --- a/test/cmd/font.c +++ b/test/cmd/font.c @@ -5,7 +5,6 @@ * Copyright 2022 Google LLC */ -#include <common.h> #include <console.h> #include <dm.h> #include <video_console.h> diff --git a/test/cmd/history.c b/test/cmd/history.c index 06517fc..6964bfa 100644 --- a/test/cmd/history.c +++ b/test/cmd/history.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <cli.h> #include <command.h> #include <test/lib.h> diff --git a/test/cmd/loadm.c b/test/cmd/loadm.c index 41e005a..dff8a97 100644 --- a/test/cmd/loadm.c +++ b/test/cmd/loadm.c @@ -9,7 +9,6 @@ * Rui Miguel Silva <rui.silva@linaro.org> */ -#include <common.h> #include <console.h> #include <mapmem.h> #include <asm/global_data.h> diff --git a/test/cmd/mem.c b/test/cmd/mem.c index d76f47c..f1bbab6 100644 --- a/test/cmd/mem.c +++ b/test/cmd/mem.c @@ -5,7 +5,6 @@ * Copyright 2020 Google LLC */ -#include <common.h> #include <command.h> #include <test/suites.h> #include <test/test.h> diff --git a/test/cmd/mem_search.c b/test/cmd/mem_search.c index f80c9c4..55ad2fa 100644 --- a/test/cmd/mem_search.c +++ b/test/cmd/mem_search.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <console.h> #include <mapmem.h> #include <dm/test.h> diff --git a/test/cmd/pci_mps.c b/test/cmd/pci_mps.c index fd96f4f..2a64143 100644 --- a/test/cmd/pci_mps.c +++ b/test/cmd/pci_mps.c @@ -7,7 +7,6 @@ * Written by Stephen Carlson <stcarlso@linux.microsoft.com> */ -#include <common.h> #include <console.h> #include <test/suites.h> #include <test/ut.h> diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c index df40bb7..4253baa 100644 --- a/test/cmd/pinmux.c +++ b/test/cmd/pinmux.c @@ -5,7 +5,6 @@ * Copyright (C) 2021, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <command.h> #include <dm.h> #include <dm/test.h> diff --git a/test/cmd/rw.c b/test/cmd/rw.c index 98302bf..edd762e 100644 --- a/test/cmd/rw.c +++ b/test/cmd/rw.c @@ -3,7 +3,6 @@ * Tests for read and write commands */ -#include <common.h> #include <dm/test.h> #include <mapmem.h> #include <part.h> diff --git a/test/cmd/seama.c b/test/cmd/seama.c index b1b5693..b60f655 100644 --- a/test/cmd/seama.c +++ b/test/cmd/seama.c @@ -5,7 +5,6 @@ * Copyright (C) 2021 Linus Walleij <linus.walleij@linaro.org> */ -#include <common.h> #include <command.h> #include <dm.h> #include <test/suites.h> diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c index ee329e9..d50ce58 100644 --- a/test/cmd/setexpr.c +++ b/test/cmd/setexpr.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <console.h> #include <mapmem.h> #include <dm/test.h> diff --git a/test/cmd/temperature.c b/test/cmd/temperature.c index 2a1ea06..3649726 100644 --- a/test/cmd/temperature.c +++ b/test/cmd/temperature.c @@ -5,7 +5,6 @@ * Copyright (C) 2022 Sartura Ltd. */ -#include <common.h> #include <command.h> #include <dm.h> #include <dm/test.h> diff --git a/test/cmd/test_echo.c b/test/cmd/test_echo.c index 091e4f8..cde74eb 100644 --- a/test/cmd/test_echo.c +++ b/test/cmd/test_echo.c @@ -5,7 +5,6 @@ * Copyright 2020, Heinrich Schuchadt <xypron.glpk@gmx.de> */ -#include <common.h> #include <command.h> #include <asm/global_data.h> #include <display_options.h> diff --git a/test/cmd/test_pause.c b/test/cmd/test_pause.c index 2b85cce..3703290 100644 --- a/test/cmd/test_pause.c +++ b/test/cmd/test_pause.c @@ -5,7 +5,6 @@ * Copyright 2022, Samuel Dionne-Riel <samuel@dionne-riel.com> */ -#include <common.h> #include <asm/global_data.h> #include <test/lib.h> #include <test/ut.h> diff --git a/test/cmd/wget.c b/test/cmd/wget.c index ed83fc9..356a4dc 100644 --- a/test/cmd/wget.c +++ b/test/cmd/wget.c @@ -6,7 +6,6 @@ * Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> */ -#include <common.h> #include <command.h> #include <dm.h> #include <env.h> diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 0677ce0..4e4aa8f 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -4,9 +4,9 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include <common.h> #include <command.h> #include <console.h> +#include <vsprintf.h> #include <test/suites.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/command_ut.c b/test/command_ut.c index a74bd10..2b8d28d 100644 --- a/test/command_ut.c +++ b/test/command_ut.c @@ -5,7 +5,6 @@ #define DEBUG -#include <common.h> #include <command.h> #include <env.h> #include <log.h> diff --git a/test/common/cmd_ut_common.c b/test/common/cmd_ut_common.c index 2c02678..2f03a58 100644 --- a/test/common/cmd_ut_common.c +++ b/test/common/cmd_ut_common.c @@ -6,7 +6,6 @@ * Unit tests for common functions */ -#include <common.h> #include <command.h> #include <test/common.h> #include <test/suites.h> diff --git a/test/common/cread.c b/test/common/cread.c index 4edc773..e159cae 100644 --- a/test/common/cread.c +++ b/test/common/cread.c @@ -3,8 +3,8 @@ * Copyright 2023 Google LLC */ -#include <common.h> #include <cli.h> +#include <time.h> #include <test/common.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/common/cyclic.c b/test/common/cyclic.c index 6e758e8..461f8cf 100644 --- a/test/common/cyclic.c +++ b/test/common/cyclic.c @@ -3,7 +3,6 @@ * Copyright (C) 2022 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <cyclic.h> #include <dm.h> #include <test/common.h> diff --git a/test/common/event.c b/test/common/event.c index b462694..de433d3 100644 --- a/test/common/event.c +++ b/test/common/event.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <event.h> #include <test/common.h> diff --git a/test/common/test_autoboot.c b/test/common/test_autoboot.c index 42a1e4a..4ba1dcc 100644 --- a/test/common/test_autoboot.c +++ b/test/common/test_autoboot.c @@ -6,7 +6,6 @@ */ #include <autoboot.h> -#include <common.h> #include <test/common.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/compression.c b/test/compression.c index 3df9081..aa1d38b 100644 --- a/test/compression.c +++ b/test/compression.c @@ -3,7 +3,6 @@ * Copyright (c) 2013, The Chromium Authors */ -#include <common.h> #include <abuf.h> #include <bootm.h> #include <command.h> diff --git a/test/dm/acpi.c b/test/dm/acpi.c index f14b396..4db2171 100644 --- a/test/dm/acpi.c +++ b/test/dm/acpi.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <console.h> #include <dm.h> #include <malloc.h> diff --git a/test/dm/acpi_dp.c b/test/dm/acpi_dp.c index 44bcabd..87bd8ae 100644 --- a/test/dm/acpi_dp.c +++ b/test/dm/acpi_dp.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <uuid.h> #include <acpi/acpigen.h> diff --git a/test/dm/acpigen.c b/test/dm/acpigen.c index 15b2b6f..7113219 100644 --- a/test/dm/acpigen.c +++ b/test/dm/acpigen.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <irq.h> #include <malloc.h> diff --git a/test/dm/adc.c b/test/dm/adc.c index 740167e..a26a677 100644 --- a/test/dm/adc.c +++ b/test/dm/adc.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> #include <adc.h> #include <dm.h> #include <dm/root.h> diff --git a/test/dm/audio.c b/test/dm/audio.c index add15ae..3d1d821 100644 --- a/test/dm/audio.c +++ b/test/dm/audio.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <dm/test.h> diff --git a/test/dm/axi.c b/test/dm/axi.c index dc029df..0900a9b 100644 --- a/test/dm/axi.c +++ b/test/dm/axi.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <axi.h> #include <dm.h> #include <log.h> diff --git a/test/dm/blk.c b/test/dm/blk.c index 799f1e4..d03aec3 100644 --- a/test/dm/blk.c +++ b/test/dm/blk.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h> diff --git a/test/dm/blkmap.c b/test/dm/blkmap.c index 7a163d6..7581e62 100644 --- a/test/dm/blkmap.c +++ b/test/dm/blkmap.c @@ -4,7 +4,6 @@ * Author: Tobias Waldekranz <tobias@waldekranz.com> */ -#include <common.h> #include <blk.h> #include <blkmap.h> #include <dm.h> diff --git a/test/dm/bootcount.c b/test/dm/bootcount.c index b77b472..9cfc7d4 100644 --- a/test/dm/bootcount.c +++ b/test/dm/bootcount.c @@ -3,7 +3,6 @@ * (C) 2018 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <dm.h> #include <bootcount.h> #include <log.h> diff --git a/test/dm/bus.c b/test/dm/bus.c index 89a6aa6..a338c7f 100644 --- a/test/dm/bus.c +++ b/test/dm/bus.c @@ -3,7 +3,6 @@ * Copyright (c) 2014 Google, Inc */ -#include <common.h> #ifdef CONFIG_SANDBOX #include <log.h> #include <os.h> diff --git a/test/dm/button.c b/test/dm/button.c index 830d96f..9157ec9 100644 --- a/test/dm/button.c +++ b/test/dm/button.c @@ -5,7 +5,6 @@ * Based on led.c */ -#include <common.h> #include <dm.h> #include <adc.h> #include <button.h> diff --git a/test/dm/cache.c b/test/dm/cache.c index bbd8f98..d2f3bfe 100644 --- a/test/dm/cache.c +++ b/test/dm/cache.c @@ -3,7 +3,6 @@ * Copyright (C) 2019 Intel Corporation <www.intel.com> */ -#include <common.h> #include <dm.h> #include <dm/test.h> diff --git a/test/dm/clk.c b/test/dm/clk.c index 57fabbd..a966471 100644 --- a/test/dm/clk.c +++ b/test/dm/clk.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> diff --git a/test/dm/clk_ccf.c b/test/dm/clk_ccf.c index 61dad8d..15fba31 100644 --- a/test/dm/clk_ccf.c +++ b/test/dm/clk_ccf.c @@ -4,7 +4,6 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ -#include <common.h> #include <clk.h> #include <dm.h> #include <asm/clk.h> diff --git a/test/dm/core.c b/test/dm/core.c index 7f3f8d1..4741c81 100644 --- a/test/dm/core.c +++ b/test/dm/core.c @@ -5,7 +5,6 @@ * Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/test/dm/cpu.c b/test/dm/cpu.c index 5734cd0..acba810 100644 --- a/test/dm/cpu.c +++ b/test/dm/cpu.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/test.h> diff --git a/test/dm/cros_ec.c b/test/dm/cros_ec.c index 30cb70e..ac0055f 100644 --- a/test/dm/cros_ec.c +++ b/test/dm/cros_ec.c @@ -3,7 +3,6 @@ * Copyright 2021 Google LLC */ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <asm/test.h> diff --git a/test/dm/cros_ec_pwm.c b/test/dm/cros_ec_pwm.c index f8d6e1e..f68ee6f 100644 --- a/test/dm/cros_ec_pwm.c +++ b/test/dm/cros_ec_pwm.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <pwm.h> diff --git a/test/dm/devres.c b/test/dm/devres.c index 3df0f64..95a470b 100644 --- a/test/dm/devres.c +++ b/test/dm/devres.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include <common.h> #include <errno.h> #include <dm.h> #include <log.h> diff --git a/test/dm/dma.c b/test/dm/dma.c index cce47cb..949710f 100644 --- a/test/dm/dma.c +++ b/test/dm/dma.c @@ -6,7 +6,6 @@ * Grygorii Strashko <grygorii.strashko@ti.com> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/test.h> diff --git a/test/dm/dsi_host.c b/test/dm/dsi_host.c index 6e0a5df..68686a4 100644 --- a/test/dm/dsi_host.c +++ b/test/dm/dsi_host.c @@ -4,7 +4,6 @@ * Author(s): Yannick Fertre <yannick.fertre@st.com> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <dsi_host.h> #include <asm/state.h> diff --git a/test/dm/efi_media.c b/test/dm/efi_media.c index e343a0e..9d0ed0f 100644 --- a/test/dm/efi_media.c +++ b/test/dm/efi_media.c @@ -5,7 +5,6 @@ * Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <asm/test.h> #include <dm/test.h> diff --git a/test/dm/eth.c b/test/dm/eth.c index bb3dcc6..820b8cb 100644 --- a/test/dm/eth.c +++ b/test/dm/eth.c @@ -6,7 +6,6 @@ * Joe Hershberger <joe.hershberger@ni.com> */ -#include <common.h> #include <dm.h> #include <env.h> #include <fdtdec.h> diff --git a/test/dm/fastboot.c b/test/dm/fastboot.c index 758538d..5d938eb 100644 --- a/test/dm/fastboot.c +++ b/test/dm/fastboot.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <fastboot.h> #include <fb_mmc.h> diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c index 087d484..b484414 100644 --- a/test/dm/fdtdec.c +++ b/test/dm/fdtdec.c @@ -3,7 +3,6 @@ * Copyright 2020 NXP */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/of_extra.h> diff --git a/test/dm/ffa.c b/test/dm/ffa.c index 6912666..fa6d54d 100644 --- a/test/dm/ffa.c +++ b/test/dm/ffa.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> */ -#include <common.h> #include <console.h> #include <dm.h> #include <asm/sandbox_arm_ffa.h> diff --git a/test/dm/firmware.c b/test/dm/firmware.c index f37bccf..ec68e81 100644 --- a/test/dm/firmware.c +++ b/test/dm/firmware.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Xilinx, Inc. */ -#include <common.h> #include <dm.h> #include <syscon.h> #include <asm/test.h> diff --git a/test/dm/fwu_mdata.c b/test/dm/fwu_mdata.c index 52018f6..43ce3d0 100644 --- a/test/dm/fwu_mdata.c +++ b/test/dm/fwu_mdata.c @@ -5,7 +5,6 @@ */ #include <blk.h> -#include <common.h> #include <dm.h> #include <fwu.h> #include <fwu_mdata.h> diff --git a/test/dm/gpio.c b/test/dm/gpio.c index 0d88ec2..957ab25 100644 --- a/test/dm/gpio.c +++ b/test/dm/gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include <common.h> #include <fdtdec.h> #include <dm.h> #include <log.h> diff --git a/test/dm/host.c b/test/dm/host.c index ca05a36..e514f84 100644 --- a/test/dm/host.c +++ b/test/dm/host.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <blk.h> #include <dm.h> #include <fs.h> diff --git a/test/dm/hwspinlock.c b/test/dm/hwspinlock.c index 995759d..a05b183 100644 --- a/test/dm/hwspinlock.c +++ b/test/dm/hwspinlock.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <dm.h> #include <hwspinlock.h> #include <asm/state.h> diff --git a/test/dm/i2c.c b/test/dm/i2c.c index b46a22e..e9cf9f7 100644 --- a/test/dm/i2c.c +++ b/test/dm/i2c.c @@ -5,7 +5,6 @@ * Note: Test coverage does not include 10-bit addressing */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h> diff --git a/test/dm/i2s.c b/test/dm/i2s.c index c2bf4d5..a3d3a31 100644 --- a/test/dm/i2s.c +++ b/test/dm/i2s.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <i2s.h> #include <asm/test.h> diff --git a/test/dm/iommu.c b/test/dm/iommu.c index 62d38f1..acea5f2 100644 --- a/test/dm/iommu.c +++ b/test/dm/iommu.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org> */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <dm/uclass-internal.h> diff --git a/test/dm/irq.c b/test/dm/irq.c index 51dd5e4..d22772a 100644 --- a/test/dm/irq.c +++ b/test/dm/irq.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <acpi/acpi_device.h> diff --git a/test/dm/k210_pll.c b/test/dm/k210_pll.c index 354720f..2a58149 100644 --- a/test/dm/k210_pll.c +++ b/test/dm/k210_pll.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> /* For DIV_ROUND_DOWN_ULL, defined in linux/kernel.h */ #include <div64.h> #include <dm/test.h> diff --git a/test/dm/led.c b/test/dm/led.c index eed3f46..c28fa04 100644 --- a/test/dm/led.c +++ b/test/dm/led.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <led.h> #include <asm/gpio.h> diff --git a/test/dm/mailbox.c b/test/dm/mailbox.c index 7ad8a1c..14f72d5 100644 --- a/test/dm/mailbox.c +++ b/test/dm/mailbox.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/test.h> diff --git a/test/dm/mdio.c b/test/dm/mdio.c index f863c52..7ececf3 100644 --- a/test/dm/mdio.c +++ b/test/dm/mdio.c @@ -4,7 +4,6 @@ * Alex Marginean, NXP */ -#include <common.h> #include <dm.h> #include <log.h> #include <miiphy.h> diff --git a/test/dm/mdio_mux.c b/test/dm/mdio_mux.c index bfe3518..33a7e97 100644 --- a/test/dm/mdio_mux.c +++ b/test/dm/mdio_mux.c @@ -4,7 +4,6 @@ * Alex Marginean, NXP */ -#include <common.h> #include <dm.h> #include <miiphy.h> #include <misc.h> diff --git a/test/dm/misc.c b/test/dm/misc.c index 8bdd8c6..ad856fd 100644 --- a/test/dm/misc.c +++ b/test/dm/misc.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <misc.h> diff --git a/test/dm/mmc.c b/test/dm/mmc.c index b1eb8be..c0abea7 100644 --- a/test/dm/mmc.c +++ b/test/dm/mmc.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <part.h> diff --git a/test/dm/mux-cmd.c b/test/dm/mux-cmd.c index 11c237b..d4bb8be 100644 --- a/test/dm/mux-cmd.c +++ b/test/dm/mux-cmd.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Texas Instruments Inc. * Pratyush Yadav <p.yadav@ti.com> */ -#include <common.h> #include <dm.h> #include <mux.h> #include <mux-internal.h> @@ -13,6 +12,7 @@ #include <test/ut.h> #include <console.h> #include <rand.h> +#include <time.h> #define BUF_SIZE 256 diff --git a/test/dm/mux-emul.c b/test/dm/mux-emul.c index c6aeeb7..febd521 100644 --- a/test/dm/mux-emul.c +++ b/test/dm/mux-emul.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ * Pratyush Yadav <p.yadav@ti.com> */ -#include <common.h> #include <dm.h> #include <mux.h> #include <mux-internal.h> diff --git a/test/dm/mux-mmio.c b/test/dm/mux-mmio.c index 27c881d..3a871a1 100644 --- a/test/dm/mux-mmio.c +++ b/test/dm/mux-mmio.c @@ -4,7 +4,6 @@ * Jean-Jacques Hiblot <jjhiblot@ti.com> */ -#include <common.h> #include <dm.h> #include <mux.h> #include <regmap.h> diff --git a/test/dm/nop.c b/test/dm/nop.c index f7d9a0f..0c79431 100644 --- a/test/dm/nop.c +++ b/test/dm/nop.c @@ -6,7 +6,6 @@ * Jean-Jacques Hiblot <jjhiblot@ti.com> */ -#include <common.h> #include <dm.h> #include <dm/ofnode.h> #include <dm/lists.h> diff --git a/test/dm/nvmxip.c b/test/dm/nvmxip.c index f0ad47d..537959a 100644 --- a/test/dm/nvmxip.c +++ b/test/dm/nvmxip.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> */ -#include <common.h> #include <blk.h> #include <console.h> #include <dm.h> diff --git a/test/dm/of_extra.c b/test/dm/of_extra.c index ac2d886..3c31bfc 100644 --- a/test/dm/of_extra.c +++ b/test/dm/of_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <dm/of_extra.h> #include <dm/test.h> diff --git a/test/dm/of_platdata.c b/test/dm/of_platdata.c index a241c42..d4939e8 100644 --- a/test/dm/of_platdata.c +++ b/test/dm/of_platdata.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c index a5bc43a..39191d7 100644 --- a/test/dm/ofnode.c +++ b/test/dm/ofnode.c @@ -16,7 +16,6 @@ * behaviour of each ofnode function, since that is done by the normal ones. */ -#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h> diff --git a/test/dm/ofread.c b/test/dm/ofread.c index 3523860..69d03c4 100644 --- a/test/dm/ofread.c +++ b/test/dm/ofread.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <test/ut.h> diff --git a/test/dm/osd.c b/test/dm/osd.c index 6279b39..cf4a3a5 100644 --- a/test/dm/osd.c +++ b/test/dm/osd.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <video_osd.h> diff --git a/test/dm/p2sb.c b/test/dm/p2sb.c index df24709..3ada1fc 100644 --- a/test/dm/p2sb.c +++ b/test/dm/p2sb.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <p2sb.h> #include <asm/test.h> diff --git a/test/dm/panel.c b/test/dm/panel.c index 4d435a0..8be7c39 100644 --- a/test/dm/panel.c +++ b/test/dm/panel.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> diff --git a/test/dm/part.c b/test/dm/part.c index d6e4345..cabb31d 100644 --- a/test/dm/part.c +++ b/test/dm/part.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <sean.anderson@seco.com> */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <part.h> diff --git a/test/dm/pch.c b/test/dm/pch.c index 53f7bbf..b37b856 100644 --- a/test/dm/pch.c +++ b/test/dm/pch.c @@ -3,7 +3,6 @@ * Copyright 2018 Google LLC */ -#include <common.h> #include <dm.h> #include <pch.h> #include <asm/test.h> diff --git a/test/dm/pci.c b/test/dm/pci.c index 8c5e7da..9b97f2e 100644 --- a/test/dm/pci.c +++ b/test/dm/pci.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/test.h> diff --git a/test/dm/pci_ep.c b/test/dm/pci_ep.c index 9941abd..e82fc53 100644 --- a/test/dm/pci_ep.c +++ b/test/dm/pci_ep.c @@ -3,7 +3,6 @@ * Copyright (C) 2019 Ramon Fried */ -#include <common.h> #include <dm.h> #include <hexdump.h> #include <pci_ep.h> diff --git a/test/dm/phy.c b/test/dm/phy.c index 0cf3689..d14117f 100644 --- a/test/dm/phy.c +++ b/test/dm/phy.c @@ -4,7 +4,6 @@ * Written by Jean-Jacques Hiblot <jjhiblot@ti.com> */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <log.h> diff --git a/test/dm/phys2bus.c b/test/dm/phys2bus.c index 342f2fa..1ee2150 100644 --- a/test/dm/phys2bus.c +++ b/test/dm/phys2bus.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de> */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <phys2bus.h> diff --git a/test/dm/pinmux.c b/test/dm/pinmux.c index 6880b2d..cfbe3ef 100644 --- a/test/dm/pinmux.c +++ b/test/dm/pinmux.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <dm/test.h> diff --git a/test/dm/pmc.c b/test/dm/pmc.c index e70227e..bbad1ee 100644 --- a/test/dm/pmc.c +++ b/test/dm/pmc.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <power/acpi_pmc.h> #include <dm/test.h> diff --git a/test/dm/pmic.c b/test/dm/pmic.c index ce67120..53a6f03 100644 --- a/test/dm/pmic.c +++ b/test/dm/pmic.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/test/dm/power-domain.c b/test/dm/power-domain.c index 8604b5d..120a905 100644 --- a/test/dm/power-domain.c +++ b/test/dm/power-domain.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/test.h> diff --git a/test/dm/pwm.c b/test/dm/pwm.c index dff626c..8013334 100644 --- a/test/dm/pwm.c +++ b/test/dm/pwm.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 Google, Inc */ -#include <common.h> #include <dm.h> #include <pwm.h> #include <asm/test.h> diff --git a/test/dm/qfw.c b/test/dm/qfw.c index f3f3568..3c35416 100644 --- a/test/dm/qfw.c +++ b/test/dm/qfw.c @@ -3,7 +3,6 @@ * Copyright 2021 Asherah Connor <ashe@kivikakk.ee> */ -#include <common.h> #include <qfw.h> #include <dm.h> #include <asm/test.h> diff --git a/test/dm/ram.c b/test/dm/ram.c index f624343..188c7c3 100644 --- a/test/dm/ram.c +++ b/test/dm/ram.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <ram.h> #include <asm/global_data.h> diff --git a/test/dm/read.c b/test/dm/read.c index 7768aa2..4ecf181 100644 --- a/test/dm/read.c +++ b/test/dm/read.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de> */ -#include <common.h> #include <dm.h> #include <dm/device.h> #include <dm/ofnode.h> diff --git a/test/dm/reboot-mode.c b/test/dm/reboot-mode.c index fbb9c3a..160b4da 100644 --- a/test/dm/reboot-mode.c +++ b/test/dm/reboot-mode.c @@ -3,7 +3,6 @@ * (C) 2018 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <dm.h> #include <reboot-mode/reboot-mode.h> #include <env.h> diff --git a/test/dm/regmap.c b/test/dm/regmap.c index 8560f2a..1398f8f 100644 --- a/test/dm/regmap.c +++ b/test/dm/regmap.c @@ -3,13 +3,13 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h> #include <regmap.h> #include <syscon.h> #include <rand.h> +#include <time.h> #include <asm/test.h> #include <dm/test.h> #include <dm/devres.h> diff --git a/test/dm/regulator.c b/test/dm/regulator.c index 86f4862..9e45fd1 100644 --- a/test/dm/regulator.c +++ b/test/dm/regulator.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/test/dm/remoteproc.c b/test/dm/remoteproc.c index f6f9e50..ef9e8e5 100644 --- a/test/dm/remoteproc.c +++ b/test/dm/remoteproc.c @@ -3,7 +3,8 @@ * (C) Copyright 2015 * Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> + +#include <config.h> #include <dm.h> #include <elf.h> #include <errno.h> diff --git a/test/dm/reset.c b/test/dm/reset.c index e2d6f45..d3158bf 100644 --- a/test/dm/reset.c +++ b/test/dm/reset.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <log.h> diff --git a/test/dm/rkmtd.c b/test/dm/rkmtd.c index 3c3e8ef..3dc9ca1 100644 --- a/test/dm/rkmtd.c +++ b/test/dm/rkmtd.c @@ -8,7 +8,6 @@ * Copyright (C) 2023 Johan Jonker <jbx6244@gmail.com> */ -#include <common.h> #include <blk.h> #include <dm.h> #include <fs.h> diff --git a/test/dm/rng.c b/test/dm/rng.c index 6d1f688..c8ed6ca 100644 --- a/test/dm/rng.c +++ b/test/dm/rng.c @@ -3,7 +3,6 @@ * Copyright (c) 2019, Linaro Limited */ -#include <common.h> #include <dm.h> #include <log.h> #include <rng.h> diff --git a/test/dm/rtc.c b/test/dm/rtc.c index bf97dbb..a8aa419 100644 --- a/test/dm/rtc.c +++ b/test/dm/rtc.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <console.h> #include <dm.h> #include <i2c.h> diff --git a/test/dm/scmi.c b/test/dm/scmi.c index adf36ff..69fc900 100644 --- a/test/dm/scmi.c +++ b/test/dm/scmi.c @@ -12,7 +12,6 @@ * unknown SCMI protocol ID. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <reset.h> diff --git a/test/dm/scsi.c b/test/dm/scsi.c index 380cfc8..5180159 100644 --- a/test/dm/scsi.c +++ b/test/dm/scsi.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <part.h> #include <scsi.h> diff --git a/test/dm/serial.c b/test/dm/serial.c index 34b783e..34c0d4d 100644 --- a/test/dm/serial.c +++ b/test/dm/serial.c @@ -3,7 +3,6 @@ * Copyright (c) 2018, STMicroelectronics */ -#include <common.h> #include <log.h> #include <serial.h> #include <dm.h> diff --git a/test/dm/sf.c b/test/dm/sf.c index 17d43fe..0e3a0f1 100644 --- a/test/dm/sf.c +++ b/test/dm/sf.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include <common.h> #include <command.h> #include <dm.h> #include <fdtdec.h> diff --git a/test/dm/simple-bus.c b/test/dm/simple-bus.c index 3530b47..8a730ba 100644 --- a/test/dm/simple-bus.c +++ b/test/dm/simple-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <dm/simple_bus.h> diff --git a/test/dm/simple-pm-bus.c b/test/dm/simple-pm-bus.c index 792c745..9949cb3 100644 --- a/test/dm/simple-pm-bus.c +++ b/test/dm/simple-pm-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <dm/device-internal.h> diff --git a/test/dm/sm.c b/test/dm/sm.c index 7ebb0c9..4d95c2a 100644 --- a/test/dm/sm.c +++ b/test/dm/sm.c @@ -5,7 +5,6 @@ * Author: Alexey Romanov <avromanov@salutedevices.com> */ -#include <common.h> #include <dm.h> #include <sm.h> #include <sandbox-sm.h> diff --git a/test/dm/smem.c b/test/dm/smem.c index 289fb59..adcbfe5 100644 --- a/test/dm/smem.c +++ b/test/dm/smem.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Ramon Fried <ramon.fried@gmail.com> */ -#include <common.h> #include <dm.h> #include <smem.h> #include <dm/test.h> diff --git a/test/dm/soc.c b/test/dm/soc.c index 8f6c97f..cb0ac15 100644 --- a/test/dm/soc.c +++ b/test/dm/soc.c @@ -6,7 +6,6 @@ * Dave Gerlach <d-gerlach@ti.com> */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <dm/uclass-internal.h> diff --git a/test/dm/sound.c b/test/dm/sound.c index 15d545a..f4e6215 100644 --- a/test/dm/sound.c +++ b/test/dm/sound.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <sound.h> #include <dm/test.h> diff --git a/test/dm/spi.c b/test/dm/spi.c index 325799b..1ab2dd7 100644 --- a/test/dm/spi.c +++ b/test/dm/spi.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <spi.h> diff --git a/test/dm/spmi.c b/test/dm/spmi.c index 97bb0eb..e10ae8d 100644 --- a/test/dm/spmi.c +++ b/test/dm/spmi.c @@ -3,7 +3,6 @@ * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> */ -#include <common.h> #include <fdtdec.h> #include <dm.h> #include <malloc.h> diff --git a/test/dm/syscon-reset.c b/test/dm/syscon-reset.c index eeaddf8..ba19504 100644 --- a/test/dm/syscon-reset.c +++ b/test/dm/syscon-reset.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <regmap.h> diff --git a/test/dm/syscon.c b/test/dm/syscon.c index be23297..04d324e 100644 --- a/test/dm/syscon.c +++ b/test/dm/syscon.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <log.h> #include <syscon.h> diff --git a/test/dm/sysinfo-gpio.c b/test/dm/sysinfo-gpio.c index 2e494b3..24a99da 100644 --- a/test/dm/sysinfo-gpio.c +++ b/test/dm/sysinfo-gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Sean Anderson <sean.anderson@seco.com> */ -#include <common.h> #include <dm.h> #include <log.h> #include <sysinfo.h> diff --git a/test/dm/sysinfo.c b/test/dm/sysinfo.c index 96b3a8e..7444a58 100644 --- a/test/dm/sysinfo.c +++ b/test/dm/sysinfo.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/test.h> diff --git a/test/dm/sysreset.c b/test/dm/sysreset.c index 5aa69e0..f3a859b 100644 --- a/test/dm/sysreset.c +++ b/test/dm/sysreset.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <dm.h> #include <sysreset.h> #include <asm/state.h> diff --git a/test/dm/tag.c b/test/dm/tag.c index 8ae8a1f..bce8a35 100644 --- a/test/dm/tag.c +++ b/test/dm/tag.c @@ -6,7 +6,6 @@ * Author: AKASHI Takahiro */ -#include <common.h> #include <dm/tag.h> #include <dm/test.h> /* DM_TEST() */ #include <test/test.h> /* struct unit_test_state */ diff --git a/test/dm/tee.c b/test/dm/tee.c index 7a11bf8..bb02a9b 100644 --- a/test/dm/tee.c +++ b/test/dm/tee.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Linaro Limited */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> diff --git a/test/dm/test-dm.c b/test/dm/test-dm.c index e73a1dd..4bc2c45 100644 --- a/test/dm/test-dm.c +++ b/test/dm/test-dm.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <test/suites.h> #include <test/test.h> diff --git a/test/dm/test-driver.c b/test/dm/test-driver.c index 02cb974..851177c 100644 --- a/test/dm/test-driver.c +++ b/test/dm/test-driver.c @@ -6,7 +6,6 @@ * Pavel Herrmann <morpheus.ibis@gmail.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c index 72d0eb5..18c89ee 100644 --- a/test/dm/test-fdt.c +++ b/test/dm/test-fdt.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/test/dm/test-uclass.c b/test/dm/test-uclass.c index 0677017..9a80cc6 100644 --- a/test/dm/test-uclass.c +++ b/test/dm/test-uclass.c @@ -6,7 +6,6 @@ * Pavel Herrmann <morpheus.ibis@gmail.com> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <dm.h> diff --git a/test/dm/timer.c b/test/dm/timer.c index 9f94d47..7fcefc4 100644 --- a/test/dm/timer.c +++ b/test/dm/timer.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw> */ -#include <common.h> #include <dm.h> #include <timer.h> #include <dm/test.h> diff --git a/test/dm/tpm.c b/test/dm/tpm.c index cde933a..0e413c0 100644 --- a/test/dm/tpm.c +++ b/test/dm/tpm.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <tpm_api.h> #include <dm/test.h> diff --git a/test/dm/usb.c b/test/dm/usb.c index 7671ef1..9a57193 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include <common.h> #include <console.h> #include <dm.h> #include <part.h> diff --git a/test/dm/video.c b/test/dm/video.c index d907f68..7dfbeb9 100644 --- a/test/dm/video.c +++ b/test/dm/video.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <bzlib.h> #include <dm.h> #include <gzip.h> diff --git a/test/dm/virtio.c b/test/dm/virtio.c index 3e108cd..3efd7c7 100644 --- a/test/dm/virtio.c +++ b/test/dm/virtio.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <dm.h> #include <virtio_types.h> #include <virtio.h> diff --git a/test/dm/virtio_device.c b/test/dm/virtio_device.c index fdda4da..63dc534 100644 --- a/test/dm/virtio_device.c +++ b/test/dm/virtio_device.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <dm.h> #include <virtio_types.h> #include <virtio.h> diff --git a/test/dm/virtio_rng.c b/test/dm/virtio_rng.c index 8b9a04b..ab7d862 100644 --- a/test/dm/virtio_rng.c +++ b/test/dm/virtio_rng.c @@ -4,7 +4,6 @@ * Written by Andrew Scull <ascull@google.com> */ -#include <common.h> #include <dm.h> #include <virtio_types.h> #include <virtio.h> diff --git a/test/dm/wdt.c b/test/dm/wdt.c index 2bbebcd..1df2da2 100644 --- a/test/dm/wdt.c +++ b/test/dm/wdt.c @@ -3,9 +3,9 @@ * Copyright 2017 Google, Inc */ -#include <common.h> #include <cyclic.h> #include <dm.h> +#include <time.h> #include <wdt.h> #include <asm/gpio.h> #include <asm/state.h> diff --git a/test/env/attr.c b/test/env/attr.c index 8d5c0f1..de5d5d4 100644 --- a/test/env/attr.c +++ b/test/env/attr.c @@ -4,7 +4,6 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include <common.h> #include <command.h> #include <env_attr.h> #include <test/env.h> diff --git a/test/env/cmd_ut_env.c b/test/env/cmd_ut_env.c index d65a321..13e0998 100644 --- a/test/env/cmd_ut_env.c +++ b/test/env/cmd_ut_env.c @@ -4,7 +4,6 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include <common.h> #include <command.h> #include <test/env.h> #include <test/suites.h> diff --git a/test/env/fdt.c b/test/env/fdt.c index 30bfa88..c495ac7 100644 --- a/test/env/fdt.c +++ b/test/env/fdt.c @@ -1,4 +1,3 @@ -#include <common.h> #include <command.h> #include <env_attr.h> #include <test/env.h> diff --git a/test/env/hashtable.c b/test/env/hashtable.c index 70102f9..ccdf013 100644 --- a/test/env/hashtable.c +++ b/test/env/hashtable.c @@ -4,11 +4,11 @@ * Roman Kapl, SYSGO, rka@sysgo.com */ -#include <common.h> #include <command.h> #include <log.h> #include <search.h> #include <stdio.h> +#include <vsprintf.h> #include <test/env.h> #include <test/ut.h> diff --git a/test/fuzz/cmd_fuzz.c b/test/fuzz/cmd_fuzz.c index d0bc7b8..faa1404 100644 --- a/test/fuzz/cmd_fuzz.c +++ b/test/fuzz/cmd_fuzz.c @@ -5,7 +5,6 @@ */ #include <command.h> -#include <common.h> #include <dm.h> #include <fuzzing_engine.h> #include <test/fuzz.h> diff --git a/test/fuzz/virtio.c b/test/fuzz/virtio.c index 8a47667..836eb9a 100644 --- a/test/fuzz/virtio.c +++ b/test/fuzz/virtio.c @@ -4,7 +4,6 @@ * Written by Andrew Scull <ascull@google.com> */ -#include <common.h> #include <dm.h> #include <virtio.h> #include <virtio_ring.h> diff --git a/test/image/spl_load.c b/test/image/spl_load.c index e1036ef..7cbad40 100644 --- a/test/image/spl_load.c +++ b/test/image/spl_load.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <image.h> #include <imx_container.h> #include <mapmem.h> diff --git a/test/image/spl_load_fs.c b/test/image/spl_load_fs.c index a89189e..935078b 100644 --- a/test/image/spl_load_fs.c +++ b/test/image/spl_load_fs.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <blk.h> #include <ext_common.h> #include <ext4fs.h> diff --git a/test/image/spl_load_net.c b/test/image/spl_load_net.c index 9d067a7..4af6e21 100644 --- a/test/image/spl_load_net.c +++ b/test/image/spl_load_net.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <spl.h> #include <test/spl.h> diff --git a/test/image/spl_load_nor.c b/test/image/spl_load_nor.c index de56863..f53a672 100644 --- a/test/image/spl_load_nor.c +++ b/test/image/spl_load_nor.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <spl.h> #include <asm/io.h> diff --git a/test/image/spl_load_os.c b/test/image/spl_load_os.c index 26228a8..7d5fb9b 100644 --- a/test/image/spl_load_os.c +++ b/test/image/spl_load_os.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <image.h> #include <os.h> #include <spl.h> diff --git a/test/image/spl_load_spi.c b/test/image/spl_load_spi.c index 54a9546..80836dc 100644 --- a/test/image/spl_load_spi.c +++ b/test/image/spl_load_spi.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <dm.h> #include <spi_flash.h> #include <spl.h> diff --git a/test/lib/abuf.c b/test/lib/abuf.c index 42803b2..7c0481a 100644 --- a/test/lib/abuf.c +++ b/test/lib/abuf.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <abuf.h> #include <mapmem.h> #include <test/lib.h> diff --git a/test/lib/asn1.c b/test/lib/asn1.c index a66cdd7..4842b70 100644 --- a/test/lib/asn1.c +++ b/test/lib/asn1.c @@ -6,7 +6,6 @@ * Unit test for asn1 compiler and asn1 decoder function via various parsers */ -#include <common.h> #include <command.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/lib/cmd_ut_lib.c b/test/lib/cmd_ut_lib.c index f1ac015..f98cb9b 100644 --- a/test/lib/cmd_ut_lib.c +++ b/test/lib/cmd_ut_lib.c @@ -5,7 +5,6 @@ * Unit tests for library functions */ -#include <common.h> #include <command.h> #include <test/lib.h> #include <test/suites.h> diff --git a/test/lib/efi_device_path.c b/test/lib/efi_device_path.c index 24e2f23..290c876 100644 --- a/test/lib/efi_device_path.c +++ b/test/lib/efi_device_path.c @@ -5,7 +5,6 @@ * Copyright (c) 2020 Heinrich Schuchardt <xypron.glpk@gmx.de> */ -#include <common.h> #include <efi_loader.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/lib/efi_image_region.c b/test/lib/efi_image_region.c index 0b888f8..3ca49dc 100644 --- a/test/lib/efi_image_region.c +++ b/test/lib/efi_image_region.c @@ -3,7 +3,6 @@ * (C) Copyright 2020, Heinrich Schuchardt <xypron.glpk@gmx.de> */ -#include <common.h> #include <efi_loader.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/lib/getopt.c b/test/lib/getopt.c index 3c68b93..388a076 100644 --- a/test/lib/getopt.c +++ b/test/lib/getopt.c @@ -6,7 +6,6 @@ * posix/tst-getopt-cancel.c */ -#include <common.h> #include <getopt.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/lib/hexdump.c b/test/lib/hexdump.c index 5dccf43..d531a83 100644 --- a/test/lib/hexdump.c +++ b/test/lib/hexdump.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <hexdump.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/lib/kconfig.c b/test/lib/kconfig.c index 3914f69..0c463bb 100644 --- a/test/lib/kconfig.c +++ b/test/lib/kconfig.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/lib/kconfig_spl.c b/test/lib/kconfig_spl.c index 8f8a341..3bd8abd 100644 --- a/test/lib/kconfig_spl.c +++ b/test/lib/kconfig_spl.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/lib/lmb.c b/test/lib/lmb.c index 7e4368d..4b5b6e5 100644 --- a/test/lib/lmb.c +++ b/test/lib/lmb.c @@ -3,7 +3,6 @@ * (C) Copyright 2018 Simon Goldschmidt */ -#include <common.h> #include <dm.h> #include <lmb.h> #include <log.h> diff --git a/test/lib/longjmp.c b/test/lib/longjmp.c index 201367a..79d889b 100644 --- a/test/lib/longjmp.c +++ b/test/lib/longjmp.c @@ -5,7 +5,6 @@ * Copyright (c) 2021, Heinrich Schuchardt <xypron.glpk@gmx.de> */ -#include <common.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/lib/rsa.c b/test/lib/rsa.c index 44f8ade..40f7001 100644 --- a/test/lib/rsa.c +++ b/test/lib/rsa.c @@ -6,7 +6,6 @@ * Unit test for rsa_verify() function */ -#include <common.h> #include <command.h> #include <image.h> #include <test/lib.h> diff --git a/test/lib/sscanf.c b/test/lib/sscanf.c index 772e4b9..9fe5521 100644 --- a/test/lib/sscanf.c +++ b/test/lib/sscanf.c @@ -9,7 +9,6 @@ * Unit tests for sscanf() function */ -#include <common.h> #include <command.h> #include <log.h> #include <test/lib.h> diff --git a/test/lib/string.c b/test/lib/string.c index 5dcf4d6..d08dbca 100644 --- a/test/lib/string.c +++ b/test/lib/string.c @@ -9,7 +9,6 @@ * This has to be considered in testing. */ -#include <common.h> #include <command.h> #include <log.h> #include <test/lib.h> diff --git a/test/lib/strlcat.c b/test/lib/strlcat.c index d8453fe..d1a0293 100644 --- a/test/lib/strlcat.c +++ b/test/lib/strlcat.c @@ -6,7 +6,6 @@ * These tests adapted from glibc's string/test-strncat.c */ -#include <common.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/lib/test_aes.c b/test/lib/test_aes.c index cbc712f..cfd9d8c 100644 --- a/test/lib/test_aes.c +++ b/test/lib/test_aes.c @@ -5,7 +5,6 @@ * Unit tests for aes functions */ -#include <common.h> #include <command.h> #include <hexdump.h> #include <rand.h> diff --git a/test/lib/test_crypt.c b/test/lib/test_crypt.c index fb21edf..dcdadd9 100644 --- a/test/lib/test_crypt.c +++ b/test/lib/test_crypt.c @@ -5,7 +5,6 @@ * Unit test for crypt-style password hashing */ -#include <common.h> #include <test/lib.h> #include <test/test.h> #include <test/ut.h> diff --git a/test/lib/test_errno_str.c b/test/lib/test_errno_str.c index 8a9f1fd..67f7644 100644 --- a/test/lib/test_errno_str.c +++ b/test/lib/test_errno_str.c @@ -9,7 +9,6 @@ * This has to be considered in testing. */ -#include <common.h> #include <command.h> #include <errno.h> #include <test/lib.h> diff --git a/test/lib/test_print.c b/test/lib/test_print.c index 79b67c7..c7fc50a 100644 --- a/test/lib/test_print.c +++ b/test/lib/test_print.c @@ -5,7 +5,6 @@ * Copyright 2020, Heinrich Schuchadt <xypron.glpk@gmx.de> */ -#include <common.h> #include <command.h> #include <display_options.h> #include <asm/global_data.h> diff --git a/test/lib/uuid.c b/test/lib/uuid.c index e24331a..0914f2c 100644 --- a/test/lib/uuid.c +++ b/test/lib/uuid.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> */ -#include <common.h> #include <uuid.h> #include <test/lib.h> #include <test/test.h> diff --git a/test/log/cont_test.c b/test/log/cont_test.c index de7b7f0..036d44b 100644 --- a/test/log/cont_test.c +++ b/test/log/cont_test.c @@ -5,7 +5,6 @@ * Test continuation of log messages. */ -#include <common.h> #include <console.h> #include <asm/global_data.h> #include <test/log.h> diff --git a/test/log/log_filter.c b/test/log/log_filter.c index b644b40..9cc891d 100644 --- a/test/log/log_filter.c +++ b/test/log/log_filter.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> */ -#include <common.h> #include <console.h> #include <log.h> #include <asm/global_data.h> diff --git a/test/log/log_test.c b/test/log/log_test.c index c5abff8..855353a 100644 --- a/test/log/log_test.c +++ b/test/log/log_test.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <command.h> #include <log.h> #include <asm/global_data.h> diff --git a/test/log/log_ut.c b/test/log/log_ut.c index 5aa3a18..6617ed8 100644 --- a/test/log/log_ut.c +++ b/test/log/log_ut.c @@ -5,7 +5,6 @@ * Logging function tests. */ -#include <common.h> #include <console.h> #include <log.h> #include <test/log.h> diff --git a/test/log/nolog_ndebug.c b/test/log/nolog_ndebug.c index bd9a4f4..b714a16 100644 --- a/test/log/nolog_ndebug.c +++ b/test/log/nolog_ndebug.c @@ -5,7 +5,6 @@ * Logging function tests for CONFIG_LOG=n without #define DEBUG */ -#include <common.h> #include <console.h> #include <log.h> #include <asm/global_data.h> diff --git a/test/log/nolog_test.c b/test/log/nolog_test.c index 4e52e5b..c4c0fa6 100644 --- a/test/log/nolog_test.c +++ b/test/log/nolog_test.c @@ -8,7 +8,6 @@ /* Needed for testing log_debug() */ #define DEBUG 1 -#include <common.h> #include <console.h> #include <log.h> #include <asm/global_data.h> diff --git a/test/log/pr_cont_test.c b/test/log/pr_cont_test.c index df4520d..30f30d9 100644 --- a/test/log/pr_cont_test.c +++ b/test/log/pr_cont_test.c @@ -5,7 +5,6 @@ * Test continuation of log messages using pr_cont(). */ -#include <common.h> #include <console.h> #include <test/log.h> #include <test/test.h> diff --git a/test/log/syslog_test.c b/test/log/syslog_test.c index 4db649d..c4180f7 100644 --- a/test/log/syslog_test.c +++ b/test/log/syslog_test.c @@ -10,7 +10,6 @@ /* Override CONFIG_LOG_MAX_LEVEL */ #define LOG_DEBUG -#include <common.h> #include <asm/global_data.h> #include <dm/device.h> #include <hexdump.h> diff --git a/test/log/syslog_test_ndebug.c b/test/log/syslog_test_ndebug.c index 4438791..b10e636 100644 --- a/test/log/syslog_test_ndebug.c +++ b/test/log/syslog_test_ndebug.c @@ -7,7 +7,6 @@ * Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb */ -#include <common.h> #include <asm/global_data.h> #include <dm/device.h> #include <hexdump.h> diff --git a/test/optee/cmd_ut_optee.c b/test/optee/cmd_ut_optee.c index c3887ab..c6f50e0 100644 --- a/test/optee/cmd_ut_optee.c +++ b/test/optee/cmd_ut_optee.c @@ -3,7 +3,6 @@ * Copyright (C) 2019, Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <command.h> #include <errno.h> #include <fdt_support.h> diff --git a/test/overlay/cmd_ut_overlay.c b/test/overlay/cmd_ut_overlay.c index 56a3df1..bcb29a2 100644 --- a/test/overlay/cmd_ut_overlay.c +++ b/test/overlay/cmd_ut_overlay.c @@ -4,7 +4,6 @@ * Copyright (c) 2016 Free Electrons */ -#include <common.h> #include <command.h> #include <errno.h> #include <fdt_support.h> diff --git a/test/print_ut.c b/test/print_ut.c index bb844d2..bded2b6 100644 --- a/test/print_ut.c +++ b/test/print_ut.c @@ -3,7 +3,6 @@ * Copyright (c) 2012, The Chromium Authors */ -#include <common.h> #include <command.h> #include <efi_api.h> #include <display_options.h> diff --git a/test/stdint/int-types.c b/test/stdint/int-types.c index f6d09e8..9051e32 100644 --- a/test/stdint/int-types.c +++ b/test/stdint/int-types.c @@ -1,4 +1,4 @@ -#include <common.h> +#include <linux/types.h> int test_types(void) { diff --git a/test/str_ut.c b/test/str_ut.c index fa9328e..3897798 100644 --- a/test/str_ut.c +++ b/test/str_ut.c @@ -3,7 +3,6 @@ * Copyright 2020 Google LLC */ -#include <common.h> #include <vsprintf.h> #include <test/suites.h> #include <test/test.h> diff --git a/test/test-main.c b/test/test-main.c index b7015d9..3fa6f6e 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <blk.h> #include <console.h> #include <cyclic.h> diff --git a/test/time_ut.c b/test/time_ut.c index 80b82db..149c4b5 100644 --- a/test/time_ut.c +++ b/test/time_ut.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <command.h> #include <errno.h> #include <time.h> diff --git a/test/unicode_ut.c b/test/unicode_ut.c index 47c3f52..13e29c9 100644 --- a/test/unicode_ut.c +++ b/test/unicode_ut.c @@ -5,7 +5,6 @@ * Copyright (c) 2018 Heinrich Schuchardt <xypron.glpk@gmx.de> */ -#include <common.h> #include <charset.h> #include <command.h> #include <efi_loader.h> @@ -5,7 +5,6 @@ * Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <console.h> #include <malloc.h> #ifdef CONFIG_SANDBOX |