Skip to contentSkip to conversation

No subject

DISCUSSION [email protected] 1 participant 1 message Dec 5, 2011

lore
Share & tools
lore
#0 lore raw

apparently in the code
the env is default to MMC, which mismatch. please fix it.

Review

Quoted 8 lines
(quoted diff) +3 -0
+
+#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

(quoted diff) +4 -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?

Quoted 8 lines
(quoted diff) +2 -0
+#define CONFIG_ENV_SPI_MODE =A0 =A0 =A0 =A0 =A0 =A0SPI_MODE_0
+#endif

=A0#define CONFIG_OF_LIBFDT

--
1.7.1