From: Daniel Mack <zonque@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] ARM: omap-common: gpmp: decrease memory region size to 16MiB
Date: Wed, 25 Jun 2014 14:43:33 +0200 [thread overview]
Message-ID: <1403700213-16114-3-git-send-email-zonque@gmail.com> (raw)
In-Reply-To: <1403700213-16114-1-git-send-email-zonque@gmail.com>
That memory area is not used except for the first location, so it doesn't
matter. However, with the length configured to 256MiB, U-Boot crased when
accessing contents of the map.
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
arch/arm/cpu/armv7/omap-common/mem-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/omap-common/mem-common.c b/arch/arm/cpu/armv7/omap-common/mem-common.c
index 944ef84..3595806 100644
--- a/arch/arm/cpu/armv7/omap-common/mem-common.c
+++ b/arch/arm/cpu/armv7/omap-common/mem-common.c
@@ -99,7 +99,7 @@ void gpmc_init(void)
M_NAND_GPMC_CONFIG6,
0
};
- u32 size = GPMC_SIZE_256M;
+ u32 size = GPMC_SIZE_16M;
u32 base = CONFIG_SYS_NAND_BASE;
#elif defined(CONFIG_CMD_ONENAND)
const u32 gpmc_regs[GPMC_MAX_REG] = { ONENAND_GPMC_CONFIG1,
--
1.9.3
next prev parent reply other threads:[~2014-06-25 12:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 12:43 [U-Boot] [PATCH v2 0/2] OMAP/GPMC: speed up NAND read access Daniel Mack
2014-06-25 12:43 ` [U-Boot] [PATCH v2 1/2] mtd: OMAP: Enable GPMC prefetch mode Daniel Mack
2014-12-19 16:27 ` Guido Martínez
2014-12-19 16:31 ` Daniel Mack
2015-01-13 21:50 ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
2014-06-25 12:43 ` Daniel Mack [this message]
2014-06-25 13:00 ` [U-Boot] [PATCH v2 0/2] OMAP/GPMC: speed up NAND read access Tom Rini
2014-06-25 13:06 ` Daniel Mack
2014-06-26 6:08 ` Gupta, Pekon
2014-06-26 7:19 ` Daniel Mack
2014-07-25 10:31 ` Gupta, Pekon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403700213-16114-3-git-send-email-zonque@gmail.com \
--to=zonque@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.