From: York Sun Date: Wed, 8 Dec 2010 18:55:32 -0800 Subject: [U-Boot] [PATCH 02/10] make the hwconfig buffer deeper In-Reply-To: <1291863340-4354-1-git-send-email-yorksun@freescale.com> References: <1291863340-4354-1-git-send-email-yorksun@freescale.com> Message-ID: <1291863340-4354-2-git-send-email-yorksun@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de To temporarily fix buffer issue when running at flash, use bigger buffer to push down the stack deeper. Signed-off-by: York Sun --- common/hwconfig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/hwconfig.c b/common/hwconfig.c index 3c9759f..1b33d95 100644 --- a/common/hwconfig.c +++ b/common/hwconfig.c @@ -71,7 +71,7 @@ next: const char *cpu_hwconfig __attribute__((weak)); const char *board_hwconfig __attribute__((weak)); -#define HWCONFIG_PRE_RELOC_BUF_SIZE 128 +#define HWCONFIG_PRE_RELOC_BUF_SIZE 256 static const char *__hwconfig(const char *opt, size_t *arglen) { -- 1.7.0.4