From fda9c20c808c05907404ece83d8829af44038723 Mon Sep 17 00:00:00 2001 From: "prabhakar.csengg@gmail.com" Date: Sun, 12 Feb 2012 21:38:22 +0000 Subject: 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 Cc: Tom Rini --- board/davinci/dm6467evm/dm6467evm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/davinci') diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c index ac82d5c..e2e4d1a 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; -- cgit v1.1