[PATCH 1/2 v2] cfi_flash: add shift option for some cfi memory chips

Sascha Hauer s.hauer at pengutronix.de
Thu May 23 09:13:03 EDT 2013


On Wed, May 22, 2013 at 09:53:39AM +0200, Oleksij Rempel wrote:
> From: Oleksij Rempel <bug-track at fisher-privat.net>
> 
> Many cfi chips support 16 and 8 bit modes. Most important
> difference is use of so called "Q15/A-1" pin. In 16bit mode this
> pin is used for data IO. In 8bit mode, it is an address input
> which add one more least significant bit (LSB). In this case
> we should shift all adresses by one:
> For example 0xaa << 1 = 0x154
> 
> Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list