summaryrefslogtreecommitdiff
path: root/board/davinci
diff options
context:
space:
mode:
authorprabhakar.csengg@gmail.com <prabhakar.csengg@gmail.com>2012-02-12 21:38:22 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:24 +0100
commitfda9c20c808c05907404ece83d8829af44038723 (patch)
treede66f6f4e69ea71a2593a6868b1e43f014f2c764 /board/davinci
parent512dce098fd9b5b252e1f4817cd2cdb11af9bdf0 (diff)
downloadu-boot-fda9c20c808c05907404ece83d8829af44038723.tar.gz
dm6467Tevm: Use a common configuration file for davinci_dm6467evm and davinci_dm6467Tevm
In commit 2d575e46859dd9127a9cec731ace77523e6ea2ab a separate header file was introduced for the DM6467T EVM, include/configs/davinci_dm6467Tevm.h. The substantial difference between the davinci_dm6467evm and the davinci_dm6467Tevm configuration is a single bit in the hardware revision that is passed to the Linux kernel and davinci_dm6467evm has REFCLK_FREQ = 27000000 where as davinci_dm6467Tevm.h has a REFCLK_FREQ = 33000000. This patch removes include/configs/davinci_dm6467Tevm.h. Instead the include/configs/davinci_dm6467evm.h configuration is used for DM6467T EVMs and renamed CFG_REFCLK_FREQ to CONFIG_REFCLK_FREQ and CONFIG_REFCLK_FREQ is defined in boards.cfg. Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/davinci')
-rw-r--r--board/davinci/dm6467evm/dm6467evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c
index ac82d5cf3d..e2e4d1a930 100644
--- a/board/davinci/dm6467evm/dm6467evm.c
+++ b/board/davinci/dm6467evm/dm6467evm.c
@@ -36,7 +36,7 @@ DECLARE_GLOBAL_DATA_PTR;
u32 get_board_rev(void)
{
-#ifdef DAVINCI_DM6467TEVM
+#ifdef CONFIG_DAVINCI_DM6467TEVM
return REV_DM6467TEVM;
#else
return REV_DM6467EVM;