* [U-Boot] [PATCH] mx25: Clean up imx-regs.h
@ 2012-10-08 18:34 Benoît Thébaudeau
2012-10-10 11:58 ` Stefano Babic
2012-10-10 12:02 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Benoît Thébaudeau @ 2012-10-08 18:34 UTC (permalink / raw)
To: u-boot
Clean up i.MX25 imx-regs.h:
- Update mx31 imx-regs.h filename.
- Test for __KERNEL_STRICT_NAMES just in case.
- Define internal RAM size.
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
---
.../arch/arm/include/asm/arch-mx25/imx-regs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git u-boot-imx-next-5cddb49.orig/arch/arm/include/asm/arch-mx25/imx-regs.h u-boot-imx-next-5cddb49/arch/arm/include/asm/arch-mx25/imx-regs.h
index e780296..53aafe3 100644
--- u-boot-imx-next-5cddb49.orig/arch/arm/include/asm/arch-mx25/imx-regs.h
+++ u-boot-imx-next-5cddb49/arch/arm/include/asm/arch-mx25/imx-regs.h
@@ -2,7 +2,7 @@
* Copyright (C) 2009, DENX Software Engineering
* Author: John Rigby <jcrigby at gmail.com
*
- * Based on arch-mx31/mx31-regs.h
+ * Based on arch-mx31/imx-regs.h
* Copyright (C) 2009 Ilya Yanok,
* Emcraft Systems <yanok@emcraft.com>
* and arch-mx27/imx-regs.h
@@ -33,8 +33,7 @@
#ifndef _IMX_REGS_H
#define _IMX_REGS_H
-#ifndef __ASSEMBLY__
-
+#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>
#ifdef CONFIG_FEC_MXC
@@ -254,6 +253,7 @@ struct aips_regs {
/* 128K Internal Static RAM */
#define IMX_RAM_BASE (0x78000000)
+#define IMX_RAM_SIZE (128 * 1024)
/* SDRAM BANKS */
#define IMX_SDRAM_BANK0_BASE (0x80000000)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx25: Clean up imx-regs.h
2012-10-08 18:34 [U-Boot] [PATCH] mx25: Clean up imx-regs.h Benoît Thébaudeau
@ 2012-10-10 11:58 ` Stefano Babic
2012-10-10 12:02 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-10-10 11:58 UTC (permalink / raw)
To: u-boot
On 08/10/2012 20:34, Beno?t Th?baudeau wrote:
> Clean up i.MX25 imx-regs.h:
> - Update mx31 imx-regs.h filename.
> - Test for __KERNEL_STRICT_NAMES just in case.
> - Define internal RAM size.
>
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx25: Clean up imx-regs.h
2012-10-08 18:34 [U-Boot] [PATCH] mx25: Clean up imx-regs.h Benoît Thébaudeau
2012-10-10 11:58 ` Stefano Babic
@ 2012-10-10 12:02 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-10-10 12:02 UTC (permalink / raw)
To: u-boot
On 08/10/2012 20:34, Beno?t Th?baudeau wrote:
> Clean up i.MX25 imx-regs.h:
> - Update mx31 imx-regs.h filename.
> - Test for __KERNEL_STRICT_NAMES just in case.
> - Define internal RAM size.
>
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-10 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-08 18:34 [U-Boot] [PATCH] mx25: Clean up imx-regs.h Benoît Thébaudeau
2012-10-10 11:58 ` Stefano Babic
2012-10-10 12:02 ` Stefano Babic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.