From: vdat Date: Thu, 26 Sep 2013 12:05:18 +0000 (+0300) Subject: Update ar7240_flash.c X-Git-Tag: 2014-11-19~58^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F5%2Fhead;p=oweals%2Fu-boot_mod.git Update ar7240_flash.c Adding support for Flash Spansion S25FL127S (16 MB) --- diff --git a/u-boot/board/ar7240/common/ar7240_flash.c b/u-boot/board/ar7240/common/ar7240_flash.c index 03f878f..b9810c7 100755 --- a/u-boot/board/ar7240/common/ar7240_flash.c +++ b/u-boot/board/ar7240/common/ar7240_flash.c @@ -178,7 +178,10 @@ unsigned long flash_init(void){ flash_set_geom(SIZE_INBYTES_16MBYTES, 256, SIZE_INBYTES_64KBYTES); puts("Macronix MX25L128 (16 MB)"); break; - + case 0x012018: + flash_set_geom(SIZE_INBYTES_16MBYTES, 256, SIZE_INBYTES_64KBYTES); + puts("Spansion S25FL127S (16 MB)"); + break; /* * Unknown flash */