remove include/config_defaults.h
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 7 Jul 2020 08:40:26 +0000 (10:40 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jul 2020 14:47:19 +0000 (10:47 -0400)
Since commit 4b0bcfa7c4ec (Kconfig: Migrate CONFIG_BOOTM_* options),
the config_defaults.h file has been void of any actual content - and
these days, "sane defaults for everyone" is achieved by appropriate
default values in Kconfig. Remove it, and thus make every translation
unit process one less header file.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
include/config_defaults.h [deleted file]
include/configs/kc1.h
include/configs/sniper.h
scripts/Makefile.autoconf

diff --git a/include/config_defaults.h b/include/config_defaults.h
deleted file mode 100644 (file)
index d211a41..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * config_defaults.h - sane defaults for everyone
- *
- * Copyright (c) 2009 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
- */
-
-#ifndef _CONFIG_DEFAULTS_H_
-#define _CONFIG_DEFAULTS_H_
-
-#endif
index e3a219c..3f71739 100644 (file)
        "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \
        "bootm ${kernel_addr_r};"
 
-/*
- * Defaults
- */
-
-#include <config_defaults.h>
-
 #endif
index 0e2fcc3..5ea8efa 100644 (file)
        "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \
        "bootm ${kernel_addr_r};"
 
-/*
- * Defaults
- */
-
-#include <config_defaults.h>
-
 #endif
index 00b8fb3..0bfc1b2 100644 (file)
@@ -104,7 +104,6 @@ define filechk_config_h
                | sed '/=/ {s/=/        /;q; } ; { s/$$/        1/; }'; \
        done;                                                           \
        echo \#define CONFIG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\
-       echo \#include \<config_defaults.h\>;                           \
        echo \#include \<config_uncmd_spl.h\>;                          \
        echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>;         \
        echo \#include \<asm/config.h\>;                                \