On 18:58 Wed 15 Jul , Dimitar Dimitrov wrote: > The SAM9-L9261 board support is based on code for AT91SAM9261EK. Networking > is missing and will be added after the DM9000 support for AT91 boards is > fixed to comply with U-Boot guide-lines. > --- this patch look at 80% similar as the at91sam9261ek
could you regenerate it with git format-patch -M -B -C > MAINTAINERS | 3 + > MAKEALL | 1 + > Makefile | 17 +++ > board/olimex/sam9_l9261/Makefile | 56 ++++++++ > board/olimex/sam9_l9261/config.mk | 1 + > board/olimex/sam9_l9261/led.c | 43 +++++++ > board/olimex/sam9_l9261/partition.c | 40 ++++++ > board/olimex/sam9_l9261/sam9_l9261.c | 214 +++++++++++++++++++++++++++++++ > include/configs/sam9_l9261.h | 230 > ++++++++++++++++++++++++++++++++++ > tools/Makefile | 3 + > tools/logos/olimex.bmp | Bin 0 -> 27510 bytes > 11 files changed, 608 insertions(+), 0 deletions(-) > create mode 100644 board/olimex/sam9_l9261/Makefile > create mode 100644 board/olimex/sam9_l9261/config.mk > create mode 100644 board/olimex/sam9_l9261/led.c > create mode 100644 board/olimex/sam9_l9261/partition.c > create mode 100644 board/olimex/sam9_l9261/sam9_l9261.c > create mode 100644 include/configs/sam9_l9261.h > create mode 100644 tools/logos/olimex.bmp > <snip> > + > +/* ------------------------------------------------------------------------- > */ > +/* > + * Miscelaneous platform dependent initialisations > + */ > + why don't you configure the dm9000 SMC? <snip> > + > +/* ARM asynchronous clock */ > +#define AT91_CPU_NAME "AT91SAM9261" no-need please remove > +#define AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */ > +#define CONFIG_SYS_HZ 1000 > + > +#define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */ > +#define CONFIG_AT91SAM9261 1 /* It's an Atmel AT91SAM9261 SoC*/ > +#define CONFIG_SAM9_L9261 1 /* on an SAM9_L9261 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 */ > + > +/* LCD */ > +#define CONFIG_LCD 1 > +#define LCD_BPP LCD_COLOR8 > +#define CONFIG_LCD_LOGO 1 > +#undef LCD_TEST_PATTERN > +#define CONFIG_LCD_INFO 1 > +#define CONFIG_LCD_INFO_BELOW_LOGO 1 > +#define CONFIG_LCD_INVERTED_CLOCK 1 > +#define CONFIG_SYS_WHITE_ON_BLACK 1 > +#define CONFIG_ATMEL_LCD 1 > +#define CONFIG_ATMEL_LCD_BGR555 1 > +#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1 > + > +/* LED */ > +#define CONFIG_AT91_LED > +#define CONFIG_RED_LED AT91_PIN_PA23 /* this is the power > led */ > +#define CONFIG_GREEN_LED AT91_PIN_PA13 /* this is the user1 > led */ > +#define CONFIG_YELLOW_LED AT91_PIN_PA14 /* this is the user2 > 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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot