diff mbox

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

Message ID 1389913424-19604-1-git-send-email-swarren@wwwdotorg.org
State RFC
Headers show

Commit Message

Stephen Warren Jan. 16, 2014, 11:03 p.m. UTC
From: Stephen Warren <swarren@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@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 mbox

Patch

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