summaryrefslogtreecommitdiff
path: root/include/configs/spear3xx_evb.h
diff options
context:
space:
mode:
authorAmit Virdi <amit.virdi@st.com>2012-05-07 13:07:02 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:42 +0200
commit9b382b43a1db000a78822ad9e1814577dd2e1a19 (patch)
tree99a4fd69382fa6648a751fec7e693a1816fee409 /include/configs/spear3xx_evb.h
parentbc0bdf4c2296d02802ddfa76f349cbba3a869138 (diff)
cleanup/SPEAr: Define configuration flags more elegantly
In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value "1", which isn't required. Define the flags without assigning any value Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/spear3xx_evb.h')
-rw-r--r--include/configs/spear3xx_evb.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h
index d63c9dff39..3cd56dc487 100644
--- a/include/configs/spear3xx_evb.h
+++ b/include/configs/spear3xx_evb.h
@@ -29,14 +29,14 @@
* (easy to change)
*/
#if defined(CONFIG_spear300)
-#define CONFIG_SPEAR3XX 1
-#define CONFIG_SPEAR300 1
+#define CONFIG_SPEAR3XX
+#define CONFIG_SPEAR300
#elif defined(CONFIG_spear310)
-#define CONFIG_SPEAR3XX 1
-#define CONFIG_SPEAR310 1
+#define CONFIG_SPEAR3XX
+#define CONFIG_SPEAR310
#elif defined(CONFIG_spear320)
-#define CONFIG_SPEAR3XX 1
-#define CONFIG_SPEAR320 1
+#define CONFIG_SPEAR3XX
+#define CONFIG_SPEAR320
#endif
#if defined(CONFIG_usbtty)
@@ -52,17 +52,17 @@
#include <configs/spear-common.h>
/* Ethernet driver configuration */
-#define CONFIG_DW_ALTDESCRIPTOR 1
+#define CONFIG_DW_ALTDESCRIPTOR
#if defined(CONFIG_SPEAR310)
-#define CONFIG_MACB 1
+#define CONFIG_MACB
#define CONFIG_MACB0_PHY 0x01
#define CONFIG_MACB1_PHY 0x03
#define CONFIG_MACB2_PHY 0x05
#define CONFIG_MACB3_PHY 0x07
#elif defined(CONFIG_SPEAR320)
-#define CONFIG_MACB 1
+#define CONFIG_MACB
#define CONFIG_MACB0_PHY 0x01
#endif
@@ -141,7 +141,7 @@
#endif
#define CONFIG_SYS_MAX_FLASH_SECT (127 + 8)
-#define CONFIG_SYS_FLASH_QUIET_TEST 1
+#define CONFIG_SYS_FLASH_QUIET_TEST
#endif