Skip to contentSkip to conversation

nios2: clean up macros that do not need a value in board header

PATCH New Thomas Chou 2 participants 5 messages Oct 29, 2015 – Nov 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nios2: clean up macros that do not need a value in board header

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

---
 include/configs/nios2-generic.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/configs/nios2-generic.h +4 -4
index 4283c95..144534d 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/2 nios2: clean up macros that do not need a value in board header

Quoted 8 lines · Thomas Chou

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

---
  include/configs/nios2-generic.h | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-nios.

Quoted 20 lines
include/configs/nios2-generic.h +4 -4
index 4283c95..144534d 100644
@@ -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 lore raw

PATCH 2/2 nios2: enable setexpr command in defconfig

In reply to Thomas Chou

Enable setexpr command in defconfig because it is really useful as suggested by Marek.

---
 configs/nios2-generic_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/nios2-generic_defconfig +0 -1
index d4403fc..0a6de6f 100644
@@ -10,7 +10,6 @@ CONFIG_CMD_CPU=y
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
Signature · 1 line
2.1.4
#3 lore raw

PATCH 2/2 nios2: enable setexpr command in defconfig

Quoted 2 lines · Thomas Chou

Enable setexpr command in defconfig because it is really useful as suggested by Marek.

Awww, so much credit in the commit message :)

Quoted 1 line
Quoted 9 lines
---
 configs/nios2-generic_defconfig | 1 -
 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/configs/nios2-generic_defconfig index d4403fc..0a6de6f 100644

configs/nios2-generic_defconfig CONFIG_CMD_CPU=y · line 15

Quoted 7 lines
configs/nios2-generic_defconfig +0 -1
@@ -10,7 +10,6 @@ CONFIG_CMD_CPU=y
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y

Best regards,
Marek Vasut

#4 lore raw

PATCH 2/2 nios2: enable setexpr command in defconfig

In reply to Thomas Chou
Quoted 8 lines · Thomas Chou

Enable setexpr command in defconfig because it is really useful as suggested by Marek.

---
  configs/nios2-generic_defconfig | 1 -
  1 file changed, 1 deletion(-)

Applied to u-boot-nios.

Quoted 13 lines
configs/nios2-generic_defconfig +0 -1
index d4403fc..0a6de6f 100644
@@ -10,7 +10,6 @@ CONFIG_CMD_CPU=y
  # CONFIG_CMD_XIMG is not set
  # CONFIG_CMD_FPGA is not set
  # CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_SETEXPR is not set
  CONFIG_CMD_DHCP=y
  # CONFIG_CMD_NFS is not set
  CONFIG_CMD_PING=y