From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 15 Feb 2013 11:38:22 -0500 Subject: [U-Boot] [PATCH 07/10] ti814x_evm: add ti814x evm board support In-Reply-To: <1360766644-9901-8-git-send-email-mporter@ti.com> References: <1360766644-9901-1-git-send-email-mporter@ti.com> <1360766644-9901-8-git-send-email-mporter@ti.com> Message-ID: <20130215163822.GO15019@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Feb 13, 2013 at 09:44:01AM -0500, Matt Porter wrote: > Add TI814X EVM board directory and config file. > > Signed-off-by: Matt Porter [snip] > +++ b/board/ti/ti814x/evm.h > @@ -0,0 +1,7 @@ > +#ifndef _EVM_H [snip] > +++ b/include/configs/ti814x_evm.h > @@ -0,0 +1,213 @@ > +#define __CONFIG_TI814X_EVM_H Needs GPLv2 or later boilerplate. [snip] > +#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ > +#define CONFIG_SETUP_MEMORY_TAGS 1 > +#define CONFIG_INITRD_TAG 1 /* for ramdisk support */ Just #define CONFIG_FOO in these cases (and some others that follow) [snip] > + "findfdt="\ > + "if test $board_name = A335BONE; then " \ > + "setenv fdtfile am335x-bone.dtb; fi; " \ > + "if test $board_name = A33515BB; then " \ > + "setenv fdtfile am335x-evm.dtb; fi; " \ > + "if test $board_name = A335X_SK; then " \ > + "setenv fdtfile am335x-evmsk.dtb; fi\0" \ That's not right :) [snip] > +/* memtest works on 8 MB in DRAM offset 32MB from start of ram disk*/ > +#define CONFIG_SYS_MEMTEST_START (PHYS_DRAM_1 + (64 * 1024 * 1024)) > +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START \ > + + (8 * 1024 * 1024)) This isn't your mistake initially, but this should just be start of memory to smallest possible config the evm can come with - 4MB. [snip] > +#undef CONFIG_NAND_OMAP_GPMC Just leave it out. > +#define CONFIG_SYS_BAUDRATE_TABLE { 110, 300, 600, 1200, 2400, \ > +4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200 } Leave that out and get the generic table. am335x needs to be updated for that. [snip] > +/* Since SPL did pll and ddr initialization for us, > + * we don't need to do it twice. > + */ /* * Must be like * this. */ -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: