From eb40d05fcc741f6a526a226c2c3a836e3cf45b7e Mon Sep 17 00:00:00 2001
From: Heiko Schocher <hs@denx.de>
Date: Tue, 26 Jul 2011 20:12:34 +0000
Subject: [PATCH] arm, davinci: replace CONFIG_PRELOADER with CONFIG_SPL_BUILD

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
 board/davinci/common/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/davinci/common/misc.c b/board/davinci/common/misc.c
index 89ae1115d6..5aa7605f00 100644
--- a/board/davinci/common/misc.c
+++ b/board/davinci/common/misc.c
@@ -33,7 +33,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifndef CONFIG_PRELOADER
+#ifndef CONFIG_SPL_BUILD
 int dram_init(void)
 {
 	/* dram_init must store complete ramsize in gd->ram_size */
-- 
2.39.5