[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
Tue Nov 3 06:18:24 CET 2015



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 at 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
>


More information about the U-Boot mailing list