[U-Boot] [PATCH 08/13] SBC8560: #define CONFIG_SYS_LBC_NO_SDRAM_INIT
Becky Bruce
beckyb at kernel.crashing.org
Fri Dec 3 00:45:34 CET 2010
This is for boards that use the SDRAM mode on the LBC but don't
require any additional setup.
I'm merging all the initdram() calls into a single function for 85xx,
and have to be able to distinguish between boards that require an
sdram_init() function, and those that do not. We could have defined
an empty sdram_init() but I hate doing that.
Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
---
include/configs/sbc8560.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/sbc8560.h b/include/configs/sbc8560.h
index 101c5d9..65d8eba 100644
--- a/include/configs/sbc8560.h
+++ b/include/configs/sbc8560.h
@@ -136,6 +136,9 @@
#undef CONFIG_CLOCKS_IN_MHZ
+/* No sdram_init() required - some boards require additional setup */
+#define CONFIG_SYS_LBC_NO_SDRAM_INIT
+
#if defined(CONFIG_RAM_AS_FLASH)
#define CONFIG_SYS_LBC_SDRAM_BASE 0xfc000000 /* Localbus SDRAM */
#define CONFIG_SYS_FLASH_BASE 0xf8000000 /* start of FLASH 8M */
--
1.6.0.6
More information about the U-Boot
mailing list