summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--board/davinci/da8xxevm/da850evm.c6
-rw-r--r--include/configs/da850_am18xxevm.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index e8272565c4..9c0eadea90 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -147,6 +147,8 @@ static const struct lpsc_resource lpsc[] = {
#define CONFIG_DA850_EVM_MAX_CPU_CLK 300000000
#endif
+#define REV_AM18X_EVM 0x100
+
/*
* get_board_rev() - setup to pass kernel board revision information
* Returns:
@@ -172,7 +174,9 @@ u32 get_board_rev(void)
rev = 2;
else if (maxcpuclk >= 372000000)
rev = 1;
-
+#ifdef CONFIG_DA850_AM18X_EVM
+ rev |= REV_AM18X_EVM;
+#endif
return rev;
}
diff --git a/include/configs/da850_am18xxevm.h b/include/configs/da850_am18xxevm.h
index 2885ecea4e..9b7bf1e792 100644
--- a/include/configs/da850_am18xxevm.h
+++ b/include/configs/da850_am18xxevm.h
@@ -44,7 +44,7 @@
#define CONFIG_SYS_HZ 1000
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_SYS_TEXT_BASE 0xc1080000
-
+#define CONFIG_DA850_AM18X_EVM
/*
* Memory Info
*/
OpenPOWER on IntegriCloud