From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Thu, 26 Aug 2010 10:27:36 +0200 Subject: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI In-Reply-To: <201008260212.20777.vapier@gentoo.org> References: <1282740439-7910-1-git-send-email-u-boot@emk-elektronik.de> <201008252231.15014.vapier@gentoo.org> <4C760243.6030102@emk-elektronik.de> <201008260212.20777.vapier@gentoo.org> Message-ID: <4C762578.8030806@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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