Patchwork [U-Boot,09/13] stxgp3: #define CONFIG_SYS_LBC_NO_SDRAM_INIT

login
register
mail settings
Submitter Becky Bruce
Date Dec. 2, 2010, 11:45 p.m.
Message ID <1291333539-11884-10-git-send-email-beckyb@kernel.crashing.org>
Download mbox | patch
Permalink /patch/74069/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Becky Bruce - Dec. 2, 2010, 11:45 p.m.
This is needed to distinguish between boards with lbc sdram
that require additional initialization and those that do not.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
---
 include/configs/stxgp3.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/stxgp3.h b/include/configs/stxgp3.h
index c2497ad..f4cd138 100644
--- a/include/configs/stxgp3.h
+++ b/include/configs/stxgp3.h
@@ -82,6 +82,9 @@ 
 #define CONFIG_SYS_LBC_SDRAM_BASE      0xf0000000      /* Localbus SDRAM */
 #define CONFIG_SYS_LBC_SDRAM_SIZE	256		/* LBC SDRAM is 64MB	*/
 
+/* No sdram_init() required - some boards require additional setup */
+#define CONFIG_SYS_LBC_NO_SDRAM_INIT
+
 #define CONFIG_SYS_FLASH_BASE        0xff000000      /* start of FLASH 16M    */
 #define CONFIG_SYS_BR0_PRELIM        0xff001801      /* port size 32bit      */