[U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

Reinhard Meyer reinhard.meyer at emk-elektronik.de
Thu Aug 26 10:27:36 CEST 2010


Dear Mike,

1. looking at spi_flash.c, shall I add the standard copyright,
keeping atmel as author?

2. I can find the following lengths of idcode used:
atmel 2
macronix 3
ramtron 9
spansion 5
sst 3
stmicro 4
winbond 3

Do you really want to flexify this? Even before relocation 5 bytes
more on stack would not be an issue...
Of course, for me the 5/10 switch would work as well.

It would involve the
	debug("SF: Got idcode %02x %02x %02x %02x %02x\n", idcode[0],
			idcode[1], idcode[2], idcode[3], idcode[4]);
as well. I can make that into a for() loop
#ifdef DEBUG
	printf("SF: Got idcode");
	for (i=0; i<IDCODE_LEN; i++)
		printf(" %02x", idcode[i]);
	printf("\n");
#endif

Reinhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reinhard_meyer.vcf
Type: text/x-vcard
Size: 370 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100826/66eec269/attachment.vcf 


More information about the U-Boot mailing list