[U-Boot] [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.
Signed-off-by: Thomas Chou thomas@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

Enable setexpr command in defconfig because it is really useful as suggested by Marek.
Signed-off-by: Thomas Chou thomas@wytron.com.tw --- configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-)
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig index d4403fc..0a6de6f 100644 --- a/configs/nios2-generic_defconfig +++ b/configs/nios2-generic_defconfig @@ -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

On Thursday, October 29, 2015 at 09:45:48 AM, Thomas Chou wrote:
Enable setexpr command in defconfig because it is really useful as suggested by Marek.
Awww, so much credit in the commit message :)
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Acked-by: Marek Vasut marex@denx.de
configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-)
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig index d4403fc..0a6de6f 100644 --- a/configs/nios2-generic_defconfig +++ b/configs/nios2-generic_defconfig @@ -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

On 2015年10月29日 16:45, Thomas Chou wrote:
Enable setexpr command in defconfig because it is really useful as suggested by Marek.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-)
Applied to u-boot-nios.
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig index d4403fc..0a6de6f 100644 --- a/configs/nios2-generic_defconfig +++ b/configs/nios2-generic_defconfig @@ -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

On 2015年10月29日 16:45, Thomas Chou wrote:
Clean up macros that do not need a value as suggested by Marek.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
include/configs/nios2-generic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to u-boot-nios.
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
participants (2)
-
Marek Vasut
-
Thomas Chou