Patchwork [U-Boot,10/13] SBC8540: #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-11-git-send-email-beckyb@kernel.crashing.org>
Download mbox | patch
Permalink /patch/74073/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Becky Bruce - Dec. 2, 2010, 11:45 p.m.
This is used to distinguish between boards that require extra setup
to use LBC sdram, and those that don't

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

Patch

diff --git a/include/configs/SBC8540.h b/include/configs/SBC8540.h
index fd9bacc..7c1d0bd 100644
--- a/include/configs/SBC8540.h
+++ b/include/configs/SBC8540.h
@@ -151,6 +151,9 @@ 
 #endif
 #define CONFIG_SYS_LBC_SDRAM_SIZE	64		/* LBC SDRAM is 64MB	*/
 
+/* No sdram_init() required - some boards require additional setup */
+#define CONFIG_SYS_LBC_NO_SDRAM_INIT
+
 /* local bus definitions */
 #define CONFIG_SYS_BR1_PRELIM		0xe4001801	/* 64M, 32-bit flash */
 #define CONFIG_SYS_OR1_PRELIM		0xfc000ff7