[U-Boot-Users] [PATCH 2/2] Updated patch to add SBC8641D
Jon Loeliger
jdl at freescale.com
Mon Aug 6 18:55:40 CEST 2007
On Mon, 2007-08-06 at 09:27, Joe Hamman wrote:
> +
> +#if defined(CONFIG_PCI)
> + #define CONFIG_CMD_PCI
> + #define CONFIG_CMD_PING
> + #define CONFIG_CMD_I2C
> +#else
> + #define CONFIG_CMD_PING
> + #define CONFIG_CMD_I2C
> +#endif
> +
> +#include <cmd_confdefs.h>
I think the above really needs to look more like this:
/*
* BOOTP options
*/
#define CONFIG_BOOTP_BOOTFILESIZE
#define CONFIG_BOOTP_BOOTPATH
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_HOSTNAME
/*
* Command line configuration.
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_PING
#define CONFIG_CMD_I2C
#if defined(CFG_RAMBOOT)
#undef CONFIG_CMD_ENV
#endif
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
#define CONFIG_CMD_EXT2
#endif
More information about the U-Boot
mailing list