
On Thursday 19 November 2009 13:48:15 Albert ARIBAUD wrote:
Your board config header would need something like this:
/* Use common CFI driver */ #define CONFIG_SYS_FLASH_CFI #define CONFIG_FLASH_CFI_DRIVER /* board provides its own flash_init code */ #define CONFIG_FLASH_CFI_LEGACY 1 #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT #define CONFIG_SYS_FLASH_LEGACY_512Kx8 1 ...
Taken from include/configs/hcu4.h. This should give you an idea...
Cheers, Stefan
Er... Precisely, I am using [CONFIG_FLASH_CFI_]LEGACY, as the patch comment says, though obviously not clearly enough.
Ahh, sorry I missed this.
Cheers, Stefan
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de