mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
This commit is contained in:
commit
d1e990ce0f
@ -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…
Reference in New Issue
Block a user