No subject


Mon Dec 5 13:53:56 CET 2011


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
>


More information about the U-Boot mailing list