Re: [U-Boot] [PATCH 1/2] powerpc/p1022ds: add support for SPI and SD boot

2012-08-08 Thread Andy Fleming
On Fri, May 18, 2012 at 11:04 AM, Timur Tabi wrote: > From: Matthew McClintock > > Add TLB mappings, board target options, and configuration items > need for SPI/SD boot. > > Since P1022DS RevB board, the NOR flash have been changed to 16 bit/28bit > address flash, therefore, when SDHC/ESPI booti

Re: [U-Boot] [PATCH 1/2] powerpc/p1022ds: add support for SPI and SD boot

2012-05-23 Thread McClintock Matthew-B29882
On Fri, May 18, 2012 at 11:44 AM, Scott Wood wrote: > On 05/18/2012 11:04 AM, Timur Tabi wrote: >> +#elif defined(CONFIG_NAND_U_BOOT) >> +#define CONFIG_ENV_IS_IN_NAND >> +#define CONFIG_ENV_SIZE              CONFIG_SYS_NAND_BLOCK_SIZE >> +#define CONFIG_ENV_OFFSET    ((512 * 1024) + CONFIG_SYS_NA

Re: [U-Boot] [PATCH 1/2] powerpc/p1022ds: add support for SPI and SD boot

2012-05-18 Thread Scott Wood
On 05/18/2012 11:04 AM, Timur Tabi wrote: > +#elif defined(CONFIG_NAND_U_BOOT) > +#define CONFIG_ENV_IS_IN_NAND > +#define CONFIG_ENV_SIZE CONFIG_SYS_NAND_BLOCK_SIZE > +#define CONFIG_ENV_OFFSET((512 * 1024) + CONFIG_SYS_NAND_BLOCK_SIZE) > +#define CONFIG_ENV_RANGE (3 * CONFIG_

[U-Boot] [PATCH 1/2] powerpc/p1022ds: add support for SPI and SD boot

2012-05-18 Thread Timur Tabi
From: Matthew McClintock Add TLB mappings, board target options, and configuration items need for SPI/SD boot. Since P1022DS RevB board, the NOR flash have been changed to 16 bit/28bit address flash, therefore, when SDHC/ESPI booting and access to eLBC, the PMUXCR[0~1] must be set to 10b, and PM