projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8faf461
)
Update ar7240_flash.c
5/head
author
vdat
<vdat_bg@yahoo.com>
Thu, 26 Sep 2013 12:05:18 +0000
(15:05 +0300)
committer
vdat
<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
patch
|
blob
|
history
diff --git
a/u-boot/board/ar7240/common/ar7240_flash.c
b/u-boot/board/ar7240/common/ar7240_flash.c
index 03f878f3693794a93f85a49b659b4aa720786964..b9810c7322f5b7cec1665f3af34208a999ad03d5 100755
(executable)
--- 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
*/