From: Rasmus Villemoes Date: Tue, 7 Jul 2020 08:40:26 +0000 (+0200) Subject: remove include/config_defaults.h X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=5c6a4d5a2779d7c2611319076d9aa4a23981855f;p=u-boot.git remove include/config_defaults.h 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 --- diff --git a/include/config_defaults.h b/include/config_defaults.h deleted file mode 100644 index d211a41ef2..0000000000 --- a/include/config_defaults.h +++ /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 diff --git a/include/configs/kc1.h b/include/configs/kc1.h index e3a219c46b..3f71739f83 100644 --- a/include/configs/kc1.h +++ b/include/configs/kc1.h @@ -149,10 +149,4 @@ "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \ "bootm ${kernel_addr_r};" -/* - * Defaults - */ - -#include - #endif diff --git a/include/configs/sniper.h b/include/configs/sniper.h index 0e2fcc3e23..5ea8efabfc 100644 --- a/include/configs/sniper.h +++ b/include/configs/sniper.h @@ -142,10 +142,4 @@ "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \ "bootm ${kernel_addr_r};" -/* - * Defaults - */ - -#include - #endif diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf index 00b8fb34aa..0bfc1b2a62 100644 --- a/scripts/Makefile.autoconf +++ b/scripts/Makefile.autoconf @@ -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 \; \ echo \#include \; \ echo \#include \; \ echo \#include \; \