nios2: clean up macros that do not need a value in board header
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
@@ -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
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.
Signed-off-by Thomas Chou <[email protected]>--- 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@@ -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
PATCH 2/2 nios2: enable setexpr command in defconfig
In reply to Thomas ChouEnable 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
@@ -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
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
Signed-off-by Thomas Chou <[email protected]>
Quoted 9 lines
--- configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-)(quoted diff) +0
-0b/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
PATCH 2/2 nios2: enable setexpr command in defconfig
In reply to Thomas ChouQuoted 8 lines · Thomas Chou
Enable setexpr command in defconfig because it is really useful as suggested by Marek.
Signed-off-by Thomas Chou <[email protected]>--- configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-)
Applied to u-boot-nios.
Quoted 13 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