Update ar7240_flash.c 5/head
authorvdat <vdat_bg@yahoo.com>
Thu, 26 Sep 2013 12:05:18 +0000 (15:05 +0300)
committervdat <vdat_bg@yahoo.com>
Thu, 26 Sep 2013 12:05:18 +0000 (15:05 +0300)
Adding support for  Flash Spansion S25FL127S (16 MB)

u-boot/board/ar7240/common/ar7240_flash.c

index 03f878f3693794a93f85a49b659b4aa720786964..b9810c7322f5b7cec1665f3af34208a999ad03d5 100755 (executable)
@@ -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
                         */