From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Mon, 05 Dec 2011 12:53:56 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de apparently in the code the env is default to MMC, which mismatch. please fix it. > + > +#if defined(CONFIG_ENV_IS_IN_MMC) > +#define CONFIG_ENV_OFFSET =A0 =A0 =A0 =A0 =A0 =A0 =A0(6 * 64 * 1024) > =A0#define CONFIG_SYS_MMC_ENV_DEV =A0 =A0 =A0 =A0 0 > +#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) > +#define CONFIG_ENV_OFFSET =A0 =A0 =A0 =A0 =A0 =A0 =A0(768 * 1024) > +#define CONFIG_ENV_SECT_SIZE =A0 =A0 =A0 =A0 =A0 (8 * 1024) > +#define CONFIG_ENV_SPI_CS =A0 =A0 =A0 =A0 =A0 =A0 =A00x5300 I'm wondering how the CONFIG_ENV_SPI_CS could be 0x5300? Vague? > +#define CONFIG_ENV_SPI_MODE =A0 =A0 =A0 =A0 =A0 =A0SPI_MODE_0 > +#endif > > =A0#define CONFIG_OF_LIBFDT > > -- > 1.7.1 >