[U-Boot] [PATCH 1/2] nios2: clean up macros that do not need a value in board header

Thomas Chou thomas at wytron.com.tw
Thu Oct 29 09:45:47 CET 2015


Clean up macros that do not need a value as suggested by
Marek.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 include/configs/nios2-generic.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 4283c95..144534d 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -35,10 +35,10 @@
 /*
  * MII/PHY
  */
-#define CONFIG_CMD_MII			1
-#define CONFIG_PHY_GIGE			1
-#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN	1
-#define CONFIG_PHY_MARVELL		1
+#define CONFIG_CMD_MII
+#define CONFIG_PHY_GIGE
+#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
+#define CONFIG_PHY_MARVELL
 
 /*
  * BOOTP options
-- 
2.1.4



More information about the U-Boot mailing list