Skip to contentSkip to conversation

da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

PATCH New Christian Riesch 2 participants 3 messages Dec 15, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

The board config for the da850_am18xxevm board is missing the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash on the AM1808 experimenter's kit could not be detected.

---
 include/configs/da850_am18xxevm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/da850_am18xxevm.h +1 -0
index 04961c6..354f045 100644
@@ -146,6 +146,7 @@
 
 #define CONFIG_SPI
 #define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_STMICRO
 #define CONFIG_SPI_FLASH_WINBOND
 #define CONFIG_DAVINCI_SPI
 #define CONFIG_SYS_SPI_BASE		DAVINCI_SPI1_BASE
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

Quoted 15 lines · Christian Riesch

The board config for the da850_am18xxevm board is missing the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash on the AM1808 experimenter's kit could not be detected.

---
 include/configs/da850_am18xxevm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/da850_am18xxevm.h +0 -0
index 04961c6..354f045 100644

include/configs/da850_am18xxevm.h line 152

Quoted 7 lines
include/configs/da850_am18xxevm.h +1 -0
@@ -146,6 +146,7 @@
 
 #define CONFIG_SPI
 #define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_STMICRO
 #define CONFIG_SPI_FLASH_WINBOND
 #define CONFIG_DAVINCI_SPI
 #define CONFIG_SYS_SPI_BASE		DAVINCI_SPI1_BASE

After some internal digging to confirm, da850_am18xxevm.h should go away and we should do da850_am18xxevm as just a boards.cfg option that uses the da850evm.h file and sets CONFIG_DA850_AM18X_EVM. Would you mind doing the respin? Thanks!

Signature · 1 line
Tom
#2 lore raw

PATCH 1/1 da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

Hi Tom,

Quoted 4 lines · Tom Rini
Quoted 3 lines · Christian Riesch

The board config for the da850_am18xxevm board is missing the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash on the AM1808 experimenter's kit could not be detected.

[...]

Quoted 5 lines

After some internal digging to confirm, da850_am18xxevm.h should go away and we should do da850_am18xxevm as just a boards.cfg option that uses the da850evm.h file and sets CONFIG_DA850_AM18X_EVM. ?Would you mind doing the respin? ?Thanks!

Ok, I will submit a patch.
Christian