[U-Boot] [PATCH] Fix boards broken after removal of legacy NAND and DoC support

Scott Wood scottwood at freescale.com
Tue Jul 28 22:20:53 CEST 2009


On Sun, Jul 19, 2009 at 07:39:38PM +0200, Wolfgang Denk wrote:
> Commit 2419169f removed support for legacy NAND and disk on chip but
> missed to update the code for a few boards. This patch fixes the
> resulting build issues.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>

Doh, apparently I forgot to push this amended commit which fixed these
issues:

http://lists.denx.de/pipermail/u-boot/2009-July/056769.html

Sorry about that.

> diff --git a/include/configs/NETPHONE.h b/include/configs/NETPHONE.h
> index 8a197ad..76ca916 100644
> --- a/include/configs/NETPHONE.h
> +++ b/include/configs/NETPHONE.h
> @@ -120,7 +120,6 @@
>   */
>  #include <config_cmd_default.h>
>  
> -#define CONFIG_CMD_NAND
>  #define CONFIG_CMD_DHCP
>  #define CONFIG_CMD_PING
>  #define CONFIG_CMD_MII
> diff --git a/include/configs/NETTA.h b/include/configs/NETTA.h
> index dda6179..4f9f9fe 100644
> --- a/include/configs/NETTA.h
> +++ b/include/configs/NETTA.h
> @@ -134,7 +134,6 @@
>  #define CONFIG_CMD_IDE
>  #define CONFIG_CMD_JFFS2
>  #define CONFIG_CMD_MII
> -#define CONFIG_CMD_NAND
>  #define CONFIG_CMD_NFS
>  #define CONFIG_CMD_PCMCIA
>  #define CONFIG_CMD_PING
> diff --git a/include/configs/NETTA2.h b/include/configs/NETTA2.h
> index 167285e..d060cb7 100644
> --- a/include/configs/NETTA2.h
> +++ b/include/configs/NETTA2.h
> @@ -121,7 +121,6 @@
>   */
>  #include <config_cmd_default.h>
>  
> -#define CONFIG_CMD_NAND
>  #define CONFIG_CMD_DHCP
>  #define CONFIG_CMD_PING
>  #define CONFIG_CMD_MII

Why remove them outright here...

> diff --git a/include/configs/NETVIA.h b/include/configs/NETVIA.h
> index b9cf621..a18b480 100644
> --- a/include/configs/NETVIA.h
> +++ b/include/configs/NETVIA.h
> @@ -107,7 +107,7 @@
>  #define CONFIG_CMD_PING
>  
>  #if defined(CONFIG_NETVIA_VERSION) && CONFIG_NETVIA_VERSION >= 2
> -#define CONFIG_CMD_NAND
> +/* #define CONFIG_CMD_NAND */ /* disabled */
>  #endif

...but only comment it out here?

-Scott


More information about the U-Boot mailing list