Adding the build support for dra7xx_evm.
Reusing omap5_evm.h config by moving it to omap5_common.h
Signed-off-by: Lokesh Vutla lokeshvu...@ti.com
Signed-off-by: R Sricharan r.sricha...@ti.com
---
boards.cfg |1 +
include/configs/dra7xx_evm.h| 40
include/configs/{omap5_evm.h = omap5_common.h} | 20 +-
include/configs/omap5_evm.h | 240 +--
4 files changed, 55 insertions(+), 246 deletions(-)
create mode 100644 include/configs/dra7xx_evm.h
copy include/configs/{omap5_evm.h = omap5_common.h} (95%)
diff --git a/boards.cfg b/boards.cfg
index 98f7a14..fea1101 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -279,6 +279,7 @@ nokia_rx51 arm armv7 rx51
nokia
omap4_panda arm armv7 panda ti
omap4
omap4_sdp4430arm armv7 sdp4430 ti
omap4
omap5_evmarm armv7 omap5_evm ti
omap5
+dra7xx_evm arm armv7 dra7xx ti
omap5
s5p_goni arm armv7 goni
samsungs5pc1xx
smdkc100 arm armv7 smdkc100
samsungs5pc1xx
origen arm armv7 origen
samsungexynos
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
new file mode 100644
index 000..17747d2
--- /dev/null
+++ b/include/configs/dra7xx_evm.h
@@ -0,0 +1,39 @@
+/*
+ * (C) Copyright 2013
+ * Texas Instruments Incorporated.
+ * Lokesh Vutla lokeshvu...@ti.com
+ *
+ * Configuration settings for the TI DRA7XX board.
+ * See omap5_common.h for omap5 common settings.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIG_DRA7XX_EVM_H
+#define __CONFIG_DRA7XX_EVM_H
+
+#include configs/omap5_common.h
+
+#define CONFIG_OMAP
+#define CONFIG_DRA7XX /* in a TI DRA7XX core */
+#define CONFIG_DRA752_EVM
+
+#define CONFIG_SYS_PROMPT DRA752 EVM #
+
+#endif /* __CONFIG_DRA7XX_EVM_H */
diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_common.h
similarity index 95%
copy from include/configs/omap5_evm.h
copy to include/configs/omap5_common.h
index 1d3ac2b..db453df 100644
--- a/include/configs/omap5_evm.h
+++ b/include/configs/omap5_common.h
@@ -1,12 +1,12 @@
/*
- * (C) Copyright 2010
+ * (C) Copyright 2013
* Texas Instruments Incorporated.
* Sricharan R r.sricha...@ti.com
*
* Derived from OMAP4 done by:
* Aneesh V ane...@ti.com
*
- * Configuration settings for the TI EVM5430 board.
+ * TI OMAP5 AND DRA7XX common configuration settings
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -27,17 +27,15 @@
* MA 02111-1307 USA
*/
-#ifndef __CONFIG_H
-#define __CONFIG_H
+#ifndef __CONFIG_OMAP5_COMMON_H
+#define __CONFIG_OMAP5_COMMON_H
/*
* High Level Configuration Options
*/
-#define CONFIG_ARMV7 /* This is an ARM V7 CPU core */
#define CONFIG_OMAP/* in a TI OMAP core */
#define CONFIG_OMAP54XX/* which is a 54XX */
-#define CONFIG_OMAP5430/* which is in a 5430 */
-#define CONFIG_5430EVM /* working with EVM */
+#define CONFIG_ARMV7 /* This is an ARM V7 CPU core */
#define CONFIG_OMAP_GPIO
/* Get CPU defs */
@@ -96,10 +94,6 @@
#define CONFIG_DRIVER_OMAP34XX_I2C
#define CONFIG_I2C_MULTI_BUS
-/* TWL6035 */
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_TWL6035_POWER
-#endif
/* MMC */
#define CONFIG_GENERIC_MMC
@@ -185,7 +179,6 @@
#define CONFIG_SYS_LONGHELP/* undef to save memory */
#define CONFIG_SYS_HUSH_PARSER /* use hush command parser */
-#define CONFIG_SYS_PROMPT OMAP5430 EVM #
#define CONFIG_SYS_CBSIZE 256
/* Print Buffer Size */
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
@@ -266,4 +259,4 @@
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x10/* 1 MB */
#define CONFIG_SPL_GPIO_SUPPORT
-#endif /* __CONFIG_H */
+#endif /* __CONFIG_OMAP5_COMMON_H */
diff --git