public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for 36-bit config for MPC8572DS
@ 2009-09-10 21:33 Kumar Gala
  2009-09-10 21:33 ` [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for 36-bit config for P2020DS Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2009-09-10 21:33 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 Makefile                    |    7 +------
 include/configs/MPC8572DS.h |    4 ++++
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 0c134f3..ae72553 100644
--- a/Makefile
+++ b/Makefile
@@ -2514,12 +2514,7 @@ MPC8569MDS_config:	unconfig
 
 MPC8572DS_36BIT_config \
 MPC8572DS_config:       unconfig
-	@mkdir -p $(obj)include
-	@if [ "$(findstring _36BIT_,$@)" ] ; then \
-		echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
-		$(XECHO) "... enabling 36-bit physical addressing." ; \
-	fi
-	@$(MKCONFIG) -a MPC8572DS ppc mpc85xx mpc8572ds freescale
+	@$(MKCONFIG) -n $(@:_config=) MPC8572DS ppc mpc85xx mpc8572ds freescale
 
 P2020DS_36BIT_config \
 P2020DS_config:		unconfig
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 55c1f29..9d59117 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -27,6 +27,10 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#ifdef CONFIG_MK_MPC8572DS_36BIT
+#define CONFIG_PHYS_64BIT
+#endif
+
 /* High Level Configuration Options */
 #define CONFIG_BOOKE		1	/* BOOKE */
 #define CONFIG_E500		1	/* BOOKE e500 family */
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-10 22:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 21:33 [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for 36-bit config for MPC8572DS Kumar Gala
2009-09-10 21:33 ` [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for 36-bit config for P2020DS Kumar Gala
2009-09-10 21:33   ` [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for P1_P2_RDB boards Kumar Gala
2009-09-10 22:07     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox