public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h
@ 2012-11-25  0:15 Marek Vasut
  2012-11-25 18:10 ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2012-11-25  0:15 UTC (permalink / raw)
  To: u-boot

The i.MX23 has different register layout and bit placement in the
power supply. Thus, in order to be able to add support for MX23,
rename the MX28's regs-power.h to regs-power-mx28.h . Moreover,
add ifdef around inclusion of regs-*-mx28.h in imx-regs.h so the
MX23 boards will include proper set of registers.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
 arch/arm/include/asm/arch-mxs/imx-regs.h                        |    7 +++++--
 .../include/asm/arch-mxs/{regs-power.h => regs-power-mx28.h}    |    0
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename arch/arm/include/asm/arch-mxs/{regs-power.h => regs-power-mx28.h} (100%)

diff --git a/arch/arm/include/asm/arch-mxs/imx-regs.h b/arch/arm/include/asm/arch-mxs/imx-regs.h
index 5e1901e..9764041 100644
--- a/arch/arm/include/asm/arch-mxs/imx-regs.h
+++ b/arch/arm/include/asm/arch-mxs/imx-regs.h
@@ -26,7 +26,6 @@
 #include <asm/arch/regs-apbh.h>
 #include <asm/arch/regs-base.h>
 #include <asm/arch/regs-bch.h>
-#include <asm/arch/regs-clkctrl-mx28.h>
 #include <asm/arch/regs-digctl.h>
 #include <asm/arch/regs-gpmi.h>
 #include <asm/arch/regs-i2c.h>
@@ -34,9 +33,13 @@
 #include <asm/arch/regs-lradc.h>
 #include <asm/arch/regs-ocotp.h>
 #include <asm/arch/regs-pinctrl.h>
-#include <asm/arch/regs-power.h>
 #include <asm/arch/regs-rtc.h>
 #include <asm/arch/regs-ssp.h>
 #include <asm/arch/regs-timrot.h>
 
+#ifdef CONFIG_MX28
+#include <asm/arch/regs-clkctrl-mx28.h>
+#include <asm/arch/regs-power-mx28.h>
+#endif
+
 #endif	/* __IMX_REGS_H__ */
diff --git a/arch/arm/include/asm/arch-mxs/regs-power.h b/arch/arm/include/asm/arch-mxs/regs-power-mx28.h
similarity index 100%
rename from arch/arm/include/asm/arch-mxs/regs-power.h
rename to arch/arm/include/asm/arch-mxs/regs-power-mx28.h
-- 
1.7.10.4

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

* [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h
  2012-11-25  0:15 [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h Marek Vasut
@ 2012-11-25 18:10 ` Otavio Salvador
  2012-11-25 18:18   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2012-11-25 18:10 UTC (permalink / raw)
  To: u-boot

On Sat, Nov 24, 2012 at 10:15 PM, Marek Vasut <marex@denx.de> wrote:
> The i.MX23 has different register layout and bit placement in the
> power supply. Thus, in order to be able to add support for MX23,
> rename the MX28's regs-power.h to regs-power-mx28.h . Moreover,
> add ifdef around inclusion of regs-*-mx28.h in imx-regs.h so the
> MX23 boards will include proper set of registers.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Stefano Babic <sbabic@denx.de>

This is done in my tree too; please wait me to finish my port and we merge it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

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

* [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h
  2012-11-25 18:10 ` Otavio Salvador
@ 2012-11-25 18:18   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2012-11-25 18:18 UTC (permalink / raw)
  To: u-boot

Dear Otavio Salvador,

> On Sat, Nov 24, 2012 at 10:15 PM, Marek Vasut <marex@denx.de> wrote:
> > The i.MX23 has different register layout and bit placement in the
> > power supply. Thus, in order to be able to add support for MX23,
> > rename the MX28's regs-power.h to regs-power-mx28.h . Moreover,
> > add ifdef around inclusion of regs-*-mx28.h in imx-regs.h so the
> > MX23 boards will include proper set of registers.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Stefano Babic <sbabic@denx.de>
> 
> This is done in my tree too; please wait me to finish my port and we merge
> it.

Again, you are trying to block upstream development because it breaks your out-
of-tree port. This can not be done, sorry.

Best regards,
Marek Vasut

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

end of thread, other threads:[~2012-11-25 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-25  0:15 [U-Boot] [PATCH] mx28: Rename regs-power.h to regs-power-mx28.h Marek Vasut
2012-11-25 18:10 ` Otavio Salvador
2012-11-25 18:18   ` Marek Vasut

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