[U-Boot] [PATCH] ot1200: fix sf detection

Heiko Schocher hs at denx.de
Wed Nov 5 15:57:17 CET 2014


Hello Anatolij,

Am 22.10.2014 12:09, schrieb Anatolij Gustschin:
> Hi all,
>
> On Wed, 22 Oct 2014 11:29:51 +0200
> Christian Gmeiner<christian.gmeiner at gmail.com>  wrote:
>
>> Commit 155fa9af95ac5be857a7327e7a968a296e60d4c8 changed the way
>> to define a GPIO line, which can be used to force CS high
>> across multiple transactions. In order to fix sf detection
>> change board code to make use of board_spi_cs_gpio(..).
>>
>> Signed-off-by: Christian Gmeiner<christian.gmeiner at gmail.com>
>> ---
>>   board/bachmann/ot1200/ot1200.c | 5 +++++
>>   include/configs/ot1200.h       | 2 +-
>>   2 files changed, 6 insertions(+), 1 deletion(-)
>
>
> There are another two board that might be affected:
>
> $ grep --exclude=ot1200.h -r SF_DEFAULT_CS include/configs/ | grep IMX_GPIO_NR
> include/configs/aristainetos.h:#define CONFIG_SF_DEFAULT_CS		(0|(IMX_GPIO_NR(3, 20)<<8))
> include/configs/tqma6.h:#define CONFIG_SF_DEFAULT_CS	(0 | (IMX_GPIO_NR(3, 19)<<  8))
>
> So, I'm CC'ing board maintainers, please test/fix them too. Thanks!

thanks for adding me to cc !

I fix this issue here:

http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=2f6bb0a9419ec8016524142cb54fef81038b346e

already applied in the u-boot.imx tree ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list