public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash
Date: Mon, 15 Jun 2009 13:37:21 -0400	[thread overview]
Message-ID: <1245087445-14960-4-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1245087445-14960-1-git-send-email-vapier@gentoo.org>

From: Vivi Li <vivi.li@analog.com>

The SPI flash layer is much stricter about sector usage than the eeprom
layer we used to use, so update the env settings to better match the
sector alignment of the flashes we use.

Signed-off-by: Vivi Li <vivi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/configs/bf533-stamp.h |    4 ++--
 include/configs/bf537-stamp.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h
index 579540e..9b22f2d 100644
--- a/include/configs/bf533-stamp.h
+++ b/include/configs/bf533-stamp.h
@@ -102,9 +102,9 @@
  */
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER)
 #define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_OFFSET	0x4000
+#define CONFIG_ENV_OFFSET	0x10000
 #define CONFIG_ENV_SIZE		0x2000
-#define CONFIG_ENV_SECT_SIZE	0x2000
+#define CONFIG_ENV_SECT_SIZE	0x10000
 #else
 #define CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_OFFSET	0x4000
diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h
index e883f2e..8e06844 100644
--- a/include/configs/bf537-stamp.h
+++ b/include/configs/bf537-stamp.h
@@ -100,9 +100,9 @@
  */
 #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER)
 #define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_OFFSET	0x4000
+#define CONFIG_ENV_OFFSET	0x10000
 #define CONFIG_ENV_SIZE		0x2000
-#define CONFIG_ENV_SECT_SIZE	0x2000
+#define CONFIG_ENV_SECT_SIZE	0x10000
 #else
 #define CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_OFFSET	0x4000
-- 
1.6.3.1

  parent reply	other threads:[~2009-06-15 17:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 17:37 [U-Boot] [PATCH 0/6] Blackfin fixes for 2009.08 Mike Frysinger
2009-06-15 17:37 ` [U-Boot] [PATCH 1/6] Blackfin: bump up default JTAG console timeout Mike Frysinger
2009-06-15 17:37 ` [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings Mike Frysinger
2009-06-15 18:43   ` Mike Frysinger
2009-06-15 19:08     ` Wolfgang Denk
2009-06-16  4:57       ` Mike Frysinger
2009-06-16 18:35         ` Wolfgang Denk
2009-06-16 19:21           ` Mike Frysinger
2009-07-10 21:04   ` Wolfgang Denk
2009-06-15 17:37 ` Mike Frysinger [this message]
2009-06-15 17:37 ` [U-Boot] [PATCH 3/6] Blackfin: bf548-ezkit: bump up monitor size Mike Frysinger
2009-06-15 17:37 ` [U-Boot] [PATCH 4/6] Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Mike Frysinger
2009-06-15 17:37 ` [U-Boot] [PATCH 5/6] Blackfin: fix SPI flash speed define name Mike Frysinger
2009-06-15 17:37 ` [U-Boot] [PATCH 6/6] Blackfin: move ALL += u-boot.ldr to blackfin_config.mk Mike Frysinger

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=1245087445-14960-4-git-send-email-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox