Some general comment please add space before and after '*' & co and the ligne length limit in 80 chars > +/* Env, bootstrap and u-boot in NAND */ > +#ifdef CONFIG_ENV_IS_IN_NAND > +#define CONFIG_ENV_OFFSET 0x60000 > +#define CONFIG_ENV_OFFSET_REDUND 0x80000 > +#define CONFIG_ENV_SIZE 0x20000 > +#endif > + > +#define CONFIG_BOOTCOMMAND "nboot 0x21000000 0 400000" > +#define CONFIG_BOOTARGS "console=ttyS0,115200 " \ > + "root=/dev/mtdblock1 " \ > + > "mtdparts=atmel_nand:16M(kernel)ro," \ > + "120M(rootfs),-(other) > " \ > + "rw rootfstype=jffs2" here as example > + > +#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 > + > +/* > + * Size of malloc() pool > + */ > +#define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + > 128*1024, 0x1000) > +#define CONFIG_SYS_GBL_DATA_SIZE 128 /* 128 bytes for initial data */ > + > +#define CONFIG_STACKSIZE (32*1024) /* regular stack */ here too etc.. > + > +#ifdef CONFIG_USE_IRQ > +#error CONFIG_USE_IRQ not supported > +#endif Best Regards, J. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 2/2] Support for the Calao TNY-A9260/TNY-A9G20 boards
Jean-Christophe PLAGNIOL-VILLARD Wed, 05 Aug 2009 12:36:00 -0700
- Re: [U-Boot] [PATCH] Support for... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support... Wolfgang Denk
- Re: [U-Boot] [PATCH] Sup... Albin Tonnerre
- Re: [U-Boot] [PATCH... Wolfgang Denk
- [U-Boot] [PATCH] Support for the Calao TN... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support for the... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH] Support for... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support... Jean-Christophe PLAGNIOL-VILLARD
- [U-Boot] [PATCH 1/2] Add... Albin Tonnerre
- [U-Boot] [PATCH 2/2... Albin Tonnerre
- Re: [U-Boot] [PATCH... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH... Albin Tonnerre
- Re: [U-Boot] [PATCH... Jean-Christophe PLAGNIOL-VILLARD
- [U-Boot] [PATCH 1/2... Albin Tonnerre
- [U-Boot] [PATCH 2/2... Albin Tonnerre
- Re: [U-Boot] [PATCH... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH... Wolfgang Denk
- Re: [U-Boot] [PATCH... Albin Tonnerre
- [U-Boot] [PATCH] Su... Albin Tonnerre
- Re: [U-Boot] [PATCH... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH... Albin Tonnerre