projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imx: Add support for the SabreSD shipped with i.MX6DL
[oweals/u-boot.git]
/
board
/
sbc405
/
strataflash.c
diff --git
a/board/sbc405/strataflash.c
b/board/sbc405/strataflash.c
index e5863d6cedf1f94531c81279da21c16a78f3e235..b0d3c6c76faa46baccf23cee7edf0efe2d054a96 100644
(file)
--- a/
board/sbc405/strataflash.c
+++ b/
board/sbc405/strataflash.c
@@
-670,14
+670,11
@@
static ulong flash_get_size (ulong base, int banknum)
static int flash_write_cfiword (flash_info_t *info, ulong dest, cfiword_t cword)
{
static int flash_write_cfiword (flash_info_t *info, ulong dest, cfiword_t cword)
{
- cfiptr_t ctladdr;
cfiptr_t cptr;
int flag;
cfiptr_t cptr;
int flag;
- ctladdr.cp = flash_make_addr(info, 0, 0);
cptr.cp = (uchar *)dest;
cptr.cp = (uchar *)dest;
-
/* Check if Flash is (sufficiently) erased */
switch(info->portwidth) {
case FLASH_CFI_8BIT:
/* Check if Flash is (sufficiently) erased */
switch(info->portwidth) {
case FLASH_CFI_8BIT: