]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 e3a219c46b831b99100e5270b1157a6b6875ad86..3f71739f83b948f20f5e3aa12c9fa5a1213a23d0 100644 (file)
        "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \
        "bootm ${kernel_addr_r};"
 
-/*
- * Defaults
- */
-
-#include <config_defaults.h>
-
 #endif
index 0e2fcc3e2321022c52de738656bdeceae98591b1..5ea8efabfc7e2f4238e2cf519831ad2040aaf385 100644 (file)
        "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \
        "bootm ${kernel_addr_r};"
 
-/*
- * Defaults
- */
-
-#include <config_defaults.h>
-
 #endif
index 00b8fb34aa761ef16105d974ece95130a02268d6..0bfc1b2a6292582adc815d17f84e428e81fd4929 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\>;                                \