[U-Boot] [PATCH 03/03 v3] Add support for Olimex SAM9-L9260 SBC

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jul 18 23:13:22 CEST 2009


On 19:00 Wed 15 Jul     , Dimitar Dimitrov wrote:
> The SAM9-L9260 board support is based on code for AT91SAM9260EK. Networking
> is missing and will be added after the MACB support for AT91 boards is
> fixed to comply with U-Boot guide-lines.
> 
> Signed-off-by: Dimitar Dimitrov <dinuxbg at gmail.com>
> ---
same as 9261
could you regenerate it with
git format-patch -M -B -C 
>  MAINTAINERS                          |    1 +
>  MAKEALL                              |    1 +
>  Makefile                             |   17 +++
>  board/olimex/sam9_l9260/Makefile     |   56 +++++++++
>  board/olimex/sam9_l9260/config.mk    |    1 +
>  board/olimex/sam9_l9260/led.c        |   41 +++++++
>  board/olimex/sam9_l9260/partition.c  |   40 +++++++
>  board/olimex/sam9_l9260/sam9_l9260.c |  111 ++++++++++++++++++
>  include/configs/sam9_l9260.h         |  214 ++++++++++++++++++++++++++++++++++
<snip>
> +
> +#define CONFIG_ARM926EJS	1	/* This is an ARM926EJS Core	*/
> +
> +#define AT91_CPU_NAME		"AT91SAM9260"
no-need please remove
> +#define CONFIG_AT91SAM9260	1	/* It's an Atmel AT91SAM9260 SoC*/
> +#define CONFIG_SAM9_L9260	1	/* on an SAM9_L9260 Board	*/
> +
> +#define CONFIG_ARCH_CPU_INIT
> +#undef CONFIG_USE_IRQ			/* we don't need IRQ/FIQ stuff	*/
> +
> +#define CONFIG_CMDLINE_TAG	1	/* enable passing of ATAGs	*/
> +#define CONFIG_SETUP_MEMORY_TAGS 1
> +#define CONFIG_INITRD_TAG	1
> +
> +#define CONFIG_SKIP_LOWLEVEL_INIT
> +#define CONFIG_SKIP_RELOCATE_UBOOT
> +
> +/*
> + * Hardware drivers
> + */
> +#define CONFIG_ATMEL_USART	1
> +#undef CONFIG_USART0
> +#undef CONFIG_USART1
> +#undef CONFIG_USART2
> +#define CONFIG_USART3		1	/* USART 3 is DBGU */
> +
> +/* LED */
> +#define CONFIG_AT91_LED
> +#define	CONFIG_RED_LED		AT91_PIN_PA9	/* this is the power led */
> +#define	CONFIG_GREEN_LED	AT91_PIN_PA6	/* this is the user led */
please fix the indent
> +
> +#define CONFIG_BOOTDELAY	3
> +
> +/*
> + * BOOTP options
> + */
> +#define CONFIG_BOOTP_BOOTFILESIZE	1
> +#define CONFIG_BOOTP_BOOTPATH		1
> +#define CONFIG_BOOTP_GATEWAY		1
> +#define CONFIG_BOOTP_HOSTNAME		1
<snip>
> +
> +#define CONFIG_BAUDRATE		115200
> +#define CONFIG_SYS_BAUDRATE_TABLE	{115200 , 19200, 38400, 57600, 9600 }
> +
> +#define CONFIG_SYS_PROMPT		"U-Boot> "
> +#define CONFIG_SYS_CBSIZE		256
> +#define CONFIG_SYS_MAXARGS		16
> +#define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
> +#define CONFIG_SYS_LONGHELP		1
> +#define CONFIG_CMDLINE_EDITING	1
> +
> +#define ROUND(A, B)		(((A) + (B)) & ~((B) - 1))
no-need please remove
> +/*
> + * Size of malloc() pool
> + */
Best Regards,
J.


More information about the U-Boot mailing list