summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2022-01-01 19:13:31 +0200
committerTom Rini <trini@konsulko.com>2022-01-18 08:31:02 -0500
commitae435aefbcb5064a82ba94ec0b22cfe1315b243c (patch)
tree7406cc5318ed731c39995b973f75c5eb7420911a /common/board_r.c
parentfd765b0eeb2c71e14b98724ac6696cbd551e85df (diff)
common: board_r: drop ifdefs around header includes
Drop the remaining ifdefs around header includes, to fix an old TODO. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/board_r.c b/common/board_r.c
index f607ce780b..60eced6f7f 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -33,16 +33,11 @@
#include <ide.h>
#include <init.h>
#include <initcall.h>
-/* TODO: can we just include all these headers whether needed or not? */
-#if defined(CONFIG_CMD_KGDB)
#include <kgdb.h>
-#endif
#include <irq_func.h>
#include <malloc.h>
#include <mapmem.h>
-#ifdef CONFIG_BITBANGMII
#include <miiphy.h>
-#endif
#include <mmc.h>
#include <mux.h>
#include <nand.h>
@@ -56,9 +51,7 @@
#include <timer.h>
#include <trace.h>
#include <watchdog.h>
-#ifdef CONFIG_XEN
#include <xen.h>
-#endif
#include <asm/sections.h>
#include <dm/root.h>
#include <dm/ofnode.h>
@@ -67,9 +60,7 @@
#include <efi_loader.h>
#include <wdt.h>
#include <asm-generic/gpio.h>
-#ifdef CONFIG_EFI_SETUP_EARLY
#include <efi_loader.h>
-#endif
DECLARE_GLOBAL_DATA_PTR;