[U-Boot] [PATCH v5 6/6] Marvell Sheevaplug Board support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jul 4 01:46:09 CEST 2009


> +/*
> + * CLKs configurations
> + */
> +#define CONFIG_SYS_HZ		1000
> +
> +/*
> + * NS16550 Configuration
> + */
> +#define CONFIG_SYS_NS16550
> +#define CONFIG_SYS_NS16550_SERIAL
> +#define CONFIG_SYS_NS16550_REG_SIZE	(-4)
> +#define CONFIG_SYS_NS16550_CLK		CONFIG_SYS_TCLK
> +#define CONFIG_SYS_NS16550_COM1		KW_UART0_BASE
> +
> +/*
> + * Serial Port configuration
> + * The following definitions let you select what serial you want to use
> + * for your console driver.
> + */
> +
> +#define CONFIG_CONS_INDEX	1	/*Console on UART0 */
> +#define CONFIG_BAUDRATE			115200
> +#define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, \
> +					  115200,230400, 460800, 921600 }
> +/* auto boot */
> +#define CONFIG_BOOTDELAY	3	/* default enable autoboot */
> +
> +/*
> + * For booting Linux, the board info and command line data
> + * have to be in the first 8 MB of memory, since this is
> + * the maximum mapped by the Linux kernel during initialization.
> + */
> +#define CONFIG_CMDLINE_TAG	1	/* enable passing of ATAGs  */
> +#define CONFIG_INITRD_TAG	1	/* enable INITRD tag */
> +#define CONFIG_SETUP_MEMORY_TAGS 1	/* enable memory tag */
> +
> +#define	CONFIG_SYS_PROMPT	"Marvell>> "	/* Command Prompt */
> +#define	CONFIG_SYS_CBSIZE	1024	/* Console I/O Buff Size */
> +#define	CONFIG_SYS_PBSIZE	(CONFIG_SYS_CBSIZE \
> +		+sizeof(CONFIG_SYS_PROMPT) + 16)	/* Print Buff */
> +/*
> + * Commands configuration
> + */
please include config_cmd_default.h
> +#define CONFIG_CMD_AUTOSCRIPT
> +#define CONFIG_CMD_BOOTD
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_ENV
> +#define CONFIG_CMD_FAT
> +#define CONFIG_CMD_LOADB
> +#define CONFIG_CMD_MEMORY
> +#define CONFIG_CMD_NAND
> +#define CONFIG_CMD_NET
> +#define CONFIG_CMD_PING
> +#define CONFIG_CMD_RUN
> +#define CONFIG_CMD_SAVEENV
> +#define CONFIG_CMD_USB
otherwise ok
Best Regards,
J.


More information about the U-Boot mailing list