mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
This commit is contained in:
commit
d1e990ce0f
1 changed files with 2 additions and 1 deletions
|
@ -596,7 +596,8 @@ static int flash_toggle (flash_info_t * info, flash_sect_t sect,
|
|||
retval = flash_read32(addr) != flash_read32(addr);
|
||||
break;
|
||||
case FLASH_CFI_64BIT:
|
||||
retval = flash_read64(addr) != flash_read64(addr);
|
||||
retval = ( (flash_read32( addr ) != flash_read32( addr )) ||
|
||||
(flash_read32(addr+4) != flash_read32(addr+4)) );
|
||||
break;
|
||||
default:
|
||||
retval = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue