Patchwork [U-Boot,1/3] mx23evk: Remove unneeded 'undef's

login
register
mail settings
Submitter Fabio Estevam
Date Jan. 28, 2013, 11:40 a.m.
Message ID <1359373261-16796-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/216176/
State Rejected
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - Jan. 28, 2013, 11:40 a.m.
Rather than 'undef'ing some symbols, just remove them instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx23evk.h |    2 --
 1 file changed, 2 deletions(-)
Otavio Salvador - Jan. 28, 2013, 11:58 a.m.
On Mon, Jan 28, 2013 at 9:40 AM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> Rather than 'undef'ing some symbols, just remove them instead.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx23evk.h |    2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
> index c44a8b8..51aa9c4 100644
> --- a/include/configs/mx23evk.h
> +++ b/include/configs/mx23evk.h
> @@ -49,8 +49,6 @@
>
>  /* U-Boot Commands */
>  #include <config_cmd_default.h>
> -#undef CONFIG_CMD_NET
> -#undef CONFIG_CMD_NFS
>
>  #define CONFIG_DISPLAY_CPUINFO
>  #define CONFIG_DOS_PARTITION

The problem is that the default cmd set include them; that's why I had
the undef.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch

diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
index c44a8b8..51aa9c4 100644
--- a/include/configs/mx23evk.h
+++ b/include/configs/mx23evk.h
@@ -49,8 +49,6 @@ 
 
 /* U-Boot Commands */
 #include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DOS_PARTITION