From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 9 Jan 2012 14:14:33 +0100 Subject: [U-Boot] [PATCH 4/4] zipitz2: fix boot issue introduced by PXA low level init rework In-Reply-To: <1326114090-12333-4-git-send-email-anarsoul@gmail.com> References: <1326114090-12333-1-git-send-email-anarsoul@gmail.com> <1326114090-12333-4-git-send-email-anarsoul@gmail.com> Message-ID: <201201091414.33159.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before > DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR > to SRAM > > Signed-off-by: Vasily Khoruzhick > --- > include/configs/zipitz2.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h > index 8c48d01..aefe2ee 100644 > --- a/include/configs/zipitz2.h > +++ b/include/configs/zipitz2.h > @@ -185,7 +185,7 @@ unsigned char zipitz2_spi_read(void); > #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_DRAM_BASE > > #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 > -#define CONFIG_SYS_INIT_SP_ADDR (GENERATED_GBL_DATA_SIZE + PHYS_SDRAM_1 + > 2048) +#define CONFIG_SYS_INIT_SP_ADDR 0x5c038000 You might as well only change PHYS_SDRAM1_SIZE to PHYS_SRAM_SIZE and don't invent arbitrary addresses? M > > /* > * NOR FLASH