These should not be in the header since not every C file needs them.
Move them to the file that needs them.

Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwar...@samsung.com>
---
 board/samsung/smdk5250/setup.h     |    3 ---
 board/samsung/smdk5250/tzpc_init.c |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/board/samsung/smdk5250/setup.h b/board/samsung/smdk5250/setup.h
index 34d8bc3..68f48ea 100644
--- a/board/samsung/smdk5250/setup.h
+++ b/board/samsung/smdk5250/setup.h
@@ -25,9 +25,6 @@
 #ifndef _SMDK5250_SETUP_H
 #define _SMDK5250_SETUP_H
 
-#include <config.h>
-#include <asm/arch/dmc.h>
-
 /* TZPC : Register Offsets */
 #define TZPC0_BASE             0x10100000
 #define TZPC1_BASE             0x10110000
diff --git a/board/samsung/smdk5250/tzpc_init.c 
b/board/samsung/smdk5250/tzpc_init.c
index c833541..96e5a6c 100644
--- a/board/samsung/smdk5250/tzpc_init.c
+++ b/board/samsung/smdk5250/tzpc_init.c
@@ -22,6 +22,8 @@
  * MA 02111-1307 USA
  */
 
+#include <config.h>
+#include <asm/arch/dmc.h>
 #include <asm/arch/tzpc.h>
 #include"setup.h"
 
-- 
1.7.4.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to