From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Mon, 05 Dec 2011 12:53:56 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > +/* CONFIG_SYS_TCLK is 200000000 by default */ > +#else > +#error "unknown board" > +#endif > + > +/* > + * General configuration options > + */ > +#define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */ > +#define CONFIG_KIRKWOOD /* SOC Family Name */ > +#define CONFIG_KW88F6281 /* SOC Name */ > + > +#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ > +#define CONFIG_MISC_INIT_R > +#define CONFIG_SHOW_BOOT_PROGRESS > + > +#define CONFIG_RANDOM_MACADDR > +#define CONFIG_SETENV_ENETADDR_BY_INDEX > +#define CONFIG_KIRKWOOD_GPIO > +#define CONFIG_OF_LIBFDT > + > +#define CONFIG_SYS_NO_FLASH > +#define CONFIG_SYS_HUSH_PARSER > +#define CONFIG_SYS_CONSOLE_IS_IN_ENV > +#define CONFIG_SYS_CONSOLE_INFO_QUIET > + > +/* > + * Enable u-boot API for standalone programs. > + */ > +#define CONFIG_API > + > +/* > + * Commands configuration > + */ > +#include > +#define CONFIG_CMD_DHCP > +#define CONFIG_CMD_ELF > +#define CONFIG_CMD_ENV > +#define CONFIG_CMD_EXT2 > +#define CONFIG_CMD_FAT > +#define CONFIG_CMD_IDE > +#define CONFIG_CMD_PING > +#define CONFIG_CMD_PING > +#define CONFIG_CMD_SF > +#define CONFIG_CMD_SPI > +#define CONFIG_CMD_USB > + > +#define CONFIG_DOS_PARTITION > +#define CONFIG_EFI_PARTITION > + > +/* > + * mv-common.h should be defined after CMD configs since it used them > + * to enable certain macros > + */ > +#include "mv-common.h" > + > +/* ST M25P40 */ > +#undef CONFIG_SPI_FLASH_MACRONIX > +#define CONFIG_SPI_FLASH_STMICRO > +#undef CONFIG_ENV_SPI_MAX_HZ > +#define CONFIG_ENV_SPI_MAX_HZ 25000000 > +#undef CONFIG_SF_DEFAULT_SPEED > +#define CONFIG_SF_DEFAULT_SPEED 25000000 > + > + > +#undef CONFIG_SYS_PROMPT > +#define CONFIG_SYS_PROMPT "=3D> " > +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " > + > +/* > + * Environment variables configurations > + */ > +#ifdef CONFIG_SPI_FLASH > +#define CONFIG_SYS_MAX_FLASH_BANKS 1 > +#define CONFIG_SYS_MAX_FLASH_SECT 8 > +#define CONFIG_ENV_IS_IN_SPI_FLASH 1 > +#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64K */ > +#else > +#define CONFIG_ENV_IS_NOWHERE > +#endif > + > +#define CONFIG_ENV_SIZE 0x10000 /* 64k */ > +#define CONFIG_ENV_OFFSET 0x70000 /* env starts here */ Why this is too far, what it u-boot.bin size? Regards. Prafulla . . .