[U-Boot] [PATCH RFC 1/4] config: remove distro_default from common.h

Stephen Warren swarren at wwwdotorg.org
Fri Jan 17 00:03:41 CET 2014


From: Stephen Warren <swarren at nvidia.com>

Including it from here doesn't ensure that the config options show up
in all the right places. Instead, each per-board header file (or a file
that boards include) should include it themselves directly.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
This series is based on:
a) Dennis Gilmore's series to add config_distro_default.h. Since that
   series is RFC, so is this.
b) My recent series to implement the "exists" shell command.
---
 include/common.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/common.h b/include/common.h
index 00969a51240d..d49c51464dad 100644
--- a/include/common.h
+++ b/include/common.h
@@ -99,11 +99,6 @@ typedef volatile unsigned char	vu_char;
 #include <flash.h>
 #include <image.h>
 
-/* use generic distro config */
-#ifdef DISTRO_DEFAULTS
-#include <config_distro_default.h>
-#endif
-
 #ifdef DEBUG
 #define _DEBUG	1
 #else
-- 
1.8.1.5



More information about the U-Boot mailing list